Skip to content

Commit 61b1084

Browse files
feat: enable "rest" transport in Python for services supporting numeric enums (#394)
* feat: enable "rest" transport in Python for services supporting numeric enums PiperOrigin-RevId: 508143576 Source-Link: googleapis/googleapis@7a702a9 Source-Link: googleapis/googleapis-gen@6ad1279 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNmFkMTI3OWMwZTdhYTc4N2FjNmI2NmM5ZmQ0YTIxMDY5MmVkZmZjZCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * fix: Add service_yaml_parameters to py_gapic_library BUILD.bazel targets PiperOrigin-RevId: 510187992 Source-Link: googleapis/googleapis@5edc235 Source-Link: googleapis/googleapis-gen@b0bedb7 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjBiZWRiNzJlNDc2NWEzZTBiNjc0YTI4YzUwZWEwZjlhOWIyNmE4OSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: Update gapic-generator-python to v1.8.5 PiperOrigin-RevId: 511892190 Source-Link: googleapis/googleapis@a45d9c0 Source-Link: googleapis/googleapis-gen@1907294 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMTkwNzI5NGIxZDgzNjVlYTI0ZjhjNWYyZTA1OWE2NDEyNGM0ZWQzYiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent 317b073 commit 61b1084

File tree

268 files changed

+106686
-9283
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

268 files changed

+106686
-9283
lines changed

packages/google-cloud-retail/google/cloud/retail_v2/gapic_metadata.json

Lines changed: 255 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,66 @@
126126
]
127127
}
128128
}
129+
},
130+
"rest": {
131+
"libraryClient": "CatalogServiceClient",
132+
"rpcs": {
133+
"AddCatalogAttribute": {
134+
"methods": [
135+
"add_catalog_attribute"
136+
]
137+
},
138+
"GetAttributesConfig": {
139+
"methods": [
140+
"get_attributes_config"
141+
]
142+
},
143+
"GetCompletionConfig": {
144+
"methods": [
145+
"get_completion_config"
146+
]
147+
},
148+
"GetDefaultBranch": {
149+
"methods": [
150+
"get_default_branch"
151+
]
152+
},
153+
"ListCatalogs": {
154+
"methods": [
155+
"list_catalogs"
156+
]
157+
},
158+
"RemoveCatalogAttribute": {
159+
"methods": [
160+
"remove_catalog_attribute"
161+
]
162+
},
163+
"ReplaceCatalogAttribute": {
164+
"methods": [
165+
"replace_catalog_attribute"
166+
]
167+
},
168+
"SetDefaultBranch": {
169+
"methods": [
170+
"set_default_branch"
171+
]
172+
},
173+
"UpdateAttributesConfig": {
174+
"methods": [
175+
"update_attributes_config"
176+
]
177+
},
178+
"UpdateCatalog": {
179+
"methods": [
180+
"update_catalog"
181+
]
182+
},
183+
"UpdateCompletionConfig": {
184+
"methods": [
185+
"update_completion_config"
186+
]
187+
}
188+
}
129189
}
130190
}
131191
},
@@ -160,6 +220,21 @@
160220
]
161221
}
162222
}
223+
},
224+
"rest": {
225+
"libraryClient": "CompletionServiceClient",
226+
"rpcs": {
227+
"CompleteQuery": {
228+
"methods": [
229+
"complete_query"
230+
]
231+
},
232+
"ImportCompletionData": {
233+
"methods": [
234+
"import_completion_data"
235+
]
236+
}
237+
}
163238
}
164239
}
165240
},
@@ -224,6 +299,36 @@
224299
]
225300
}
226301
}
302+
},
303+
"rest": {
304+
"libraryClient": "ControlServiceClient",
305+
"rpcs": {
306+
"CreateControl": {
307+
"methods": [
308+
"create_control"
309+
]
310+
},
311+
"DeleteControl": {
312+
"methods": [
313+
"delete_control"
314+
]
315+
},
316+
"GetControl": {
317+
"methods": [
318+
"get_control"
319+
]
320+
},
321+
"ListControls": {
322+
"methods": [
323+
"list_controls"
324+
]
325+
},
326+
"UpdateControl": {
327+
"methods": [
328+
"update_control"
329+
]
330+
}
331+
}
227332
}
228333
}
229334
},
@@ -248,6 +353,16 @@
248353
]
249354
}
250355
}
356+
},
357+
"rest": {
358+
"libraryClient": "PredictionServiceClient",
359+
"rpcs": {
360+
"Predict": {
361+
"methods": [
362+
"predict"
363+
]
364+
}
365+
}
251366
}
252367
}
253368
},
@@ -372,6 +487,66 @@
372487
]
373488
}
374489
}
490+
},
491+
"rest": {
492+
"libraryClient": "ProductServiceClient",
493+
"rpcs": {
494+
"AddFulfillmentPlaces": {
495+
"methods": [
496+
"add_fulfillment_places"
497+
]
498+
},
499+
"AddLocalInventories": {
500+
"methods": [
501+
"add_local_inventories"
502+
]
503+
},
504+
"CreateProduct": {
505+
"methods": [
506+
"create_product"
507+
]
508+
},
509+
"DeleteProduct": {
510+
"methods": [
511+
"delete_product"
512+
]
513+
},
514+
"GetProduct": {
515+
"methods": [
516+
"get_product"
517+
]
518+
},
519+
"ImportProducts": {
520+
"methods": [
521+
"import_products"
522+
]
523+
},
524+
"ListProducts": {
525+
"methods": [
526+
"list_products"
527+
]
528+
},
529+
"RemoveFulfillmentPlaces": {
530+
"methods": [
531+
"remove_fulfillment_places"
532+
]
533+
},
534+
"RemoveLocalInventories": {
535+
"methods": [
536+
"remove_local_inventories"
537+
]
538+
},
539+
"SetInventory": {
540+
"methods": [
541+
"set_inventory"
542+
]
543+
},
544+
"UpdateProduct": {
545+
"methods": [
546+
"update_product"
547+
]
548+
}
549+
}
375550
}
376551
}
377552
},
@@ -396,6 +571,16 @@
396571
]
397572
}
398573
}
574+
},
575+
"rest": {
576+
"libraryClient": "SearchServiceClient",
577+
"rpcs": {
578+
"Search": {
579+
"methods": [
580+
"search"
581+
]
582+
}
583+
}
399584
}
400585
}
401586
},
@@ -480,6 +665,46 @@
480665
]
481666
}
482667
}
668+
},
669+
"rest": {
670+
"libraryClient": "ServingConfigServiceClient",
671+
"rpcs": {
672+
"AddControl": {
673+
"methods": [
674+
"add_control"
675+
]
676+
},
677+
"CreateServingConfig": {
678+
"methods": [
679+
"create_serving_config"
680+
]
681+
},
682+
"DeleteServingConfig": {
683+
"methods": [
684+
"delete_serving_config"
685+
]
686+
},
687+
"GetServingConfig": {
688+
"methods": [
689+
"get_serving_config"
690+
]
691+
},
692+
"ListServingConfigs": {
693+
"methods": [
694+
"list_serving_configs"
695+
]
696+
},
697+
"RemoveControl": {
698+
"methods": [
699+
"remove_control"
700+
]
701+
},
702+
"UpdateServingConfig": {
703+
"methods": [
704+
"update_serving_config"
705+
]
706+
}
707+
}
483708
}
484709
}
485710
},
@@ -544,6 +769,36 @@
544769
]
545770
}
546771
}
772+
},
773+
"rest": {
774+
"libraryClient": "UserEventServiceClient",
775+
"rpcs": {
776+
"CollectUserEvent": {
777+
"methods": [
778+
"collect_user_event"
779+
]
780+
},
781+
"ImportUserEvents": {
782+
"methods": [
783+
"import_user_events"
784+
]
785+
},
786+
"PurgeUserEvents": {
787+
"methods": [
788+
"purge_user_events"
789+
]
790+
},
791+
"RejoinUserEvents": {
792+
"methods": [
793+
"rejoin_user_events"
794+
]
795+
},
796+
"WriteUserEvent": {
797+
"methods": [
798+
"write_user_event"
799+
]
800+
}
801+
}
547802
}
548803
}
549804
}

0 commit comments

Comments
 (0)