mirror of
https://github.com/googleapis/googleapis.git
synced 2026-08-16 13:00:34 +02:00
feat: Publish Python client libraries for Product studio APIs
PiperOrigin-RevId: 769280656
This commit is contained in:
parent
e78345f5e8
commit
2b2815c192
3 changed files with 15 additions and 3 deletions
|
|
@ -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"],
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -46,3 +46,7 @@ publishing:
|
|||
common:
|
||||
destinations:
|
||||
- PACKAGE_MANAGER
|
||||
python_settings:
|
||||
common:
|
||||
destinations:
|
||||
- PACKAGE_MANAGER
|
||||
|
|
|
|||
|
|
@ -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": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue