diff --git a/google/shopping/merchant/productstudio/v1alpha/BUILD.bazel b/google/shopping/merchant/productstudio/v1alpha/BUILD.bazel index bdc56eae66..da1e0304d9 100644 --- a/google/shopping/merchant/productstudio/v1alpha/BUILD.bazel +++ b/google/shopping/merchant/productstudio/v1alpha/BUILD.bazel @@ -113,11 +113,12 @@ load( "@com_google_googleapis_imports//:imports.bzl", "go_gapic_assembly_pkg", "go_gapic_library", - "go_grpc_library", + "go_proto_library", ) -go_grpc_library( +go_proto_library( name = "productstudio_go_proto", + compilers = ["@io_bazel_rules_go//proto:go_grpc"], importpath = "cloud.google.com/go/shopping/merchant/productstudio/apiv1alpha/productstudiopb", protos = [":productstudio_proto"], deps = [ @@ -167,6 +168,10 @@ py_gapic_library( name = "productstudio_py_gapic", srcs = [":productstudio_proto"], grpc_service_config = "productstudio_grpc_service_config.json", + opt_args = [ + "python-gapic-namespace=google.shopping", + "python-gapic-name=merchant_productstudio", + ], rest_numeric_enums = True, service_yaml = "merchantapi_v1alpha.yaml", transport = "grpc+rest", @@ -322,6 +327,7 @@ load( csharp_proto_library( name = "productstudio_csharp_proto", + extra_opts = [], deps = [":productstudio_proto"], ) diff --git a/google/shopping/merchant/productstudio/v1alpha/merchantapi_v1alpha.yaml b/google/shopping/merchant/productstudio/v1alpha/merchantapi_v1alpha.yaml index 3e4bf4575e..0dc4403e62 100644 --- a/google/shopping/merchant/productstudio/v1alpha/merchantapi_v1alpha.yaml +++ b/google/shopping/merchant/productstudio/v1alpha/merchantapi_v1alpha.yaml @@ -46,3 +46,7 @@ publishing: common: destinations: - PACKAGE_MANAGER + python_settings: + common: + destinations: + - PACKAGE_MANAGER diff --git a/google/shopping/merchant/productstudio/v1alpha/productstudio_grpc_service_config.json b/google/shopping/merchant/productstudio/v1alpha/productstudio_grpc_service_config.json index 56d2e23d06..3a26d845da 100644 --- a/google/shopping/merchant/productstudio/v1alpha/productstudio_grpc_service_config.json +++ b/google/shopping/merchant/productstudio/v1alpha/productstudio_grpc_service_config.json @@ -1,7 +1,9 @@ { "methodConfig": [{ "name": [ - { "service": "google.shopping.merchant.productstudio.v1alpha.TextSuggestionsService" } + { "service": "google.shopping.merchant.productstudio.v1alpha.TextSuggestionsService" }, + { "service": "google.shopping.merchant.productstudio.v1alpha.ImageService" }, + { "service": "google.shopping.merchant.productstudio.v1alpha.VideosService" } ], "timeout": "60s", "retryPolicy": {