feat: Publish Python client libraries for Product studio APIs

PiperOrigin-RevId: 769280656
This commit is contained in:
Google APIs 2025-06-09 13:52:15 -07:00 committed by Copybara-Service
parent e78345f5e8
commit 2b2815c192
3 changed files with 15 additions and 3 deletions

View file

@ -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"],
)

View file

@ -46,3 +46,7 @@ publishing:
common:
destinations:
- PACKAGE_MANAGER
python_settings:
common:
destinations:
- PACKAGE_MANAGER

View file

@ -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": {