Skip to content

Commit b4df035

Browse files
feat(accounts): Add batch operations for custom regions (#30922)
* feat(accounts): Add batch operations for custom regions Added the following methods to the `RegionsService` in the Merchant API Accounts v1: - `BatchCreateRegions`: Create multiple regions in a single request. - `BatchUpdateRegions`: Update multiple regions in a single request. - `BatchDeleteRegions`: Delete multiple regions in a single request. These methods allow for more efficient management of custom regions. PiperOrigin-RevId: 800519608 Source-Link: googleapis/googleapis@c4c5ad7 Source-Link: googleapis/googleapis-gen@d1fd7b2 Copy-Tag: eyJwIjoiZ29vZ2xlLXNob3BwaW5nLW1lcmNoYW50LWFjY291bnRzLXYxLy5Pd2xCb3QueWFtbCIsImgiOiJkMWZkN2IyZjAwZDVjNDI5ZTMxNzg5Yzk2YjU0ZTJjNWI4ZWI1M2JmIn0= * 🦉 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>
1 parent afaa368 commit b4df035

14 files changed

Lines changed: 1446 additions & 1 deletion

File tree

google-shopping-merchant-accounts-v1/.owlbot-manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,9 @@
313313
"snippets/programs_service/enable_program.rb",
314314
"snippets/programs_service/get_program.rb",
315315
"snippets/programs_service/list_programs.rb",
316+
"snippets/regions_service/batch_create_regions.rb",
317+
"snippets/regions_service/batch_delete_regions.rb",
318+
"snippets/regions_service/batch_update_regions.rb",
316319
"snippets/regions_service/create_region.rb",
317320
"snippets/regions_service/delete_region.rb",
318321
"snippets/regions_service/get_region.rb",

google-shopping-merchant-accounts-v1/gapic_metadata.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,16 +472,31 @@
472472
"create_region"
473473
]
474474
},
475+
"BatchCreateRegions": {
476+
"methods": [
477+
"batch_create_regions"
478+
]
479+
},
475480
"UpdateRegion": {
476481
"methods": [
477482
"update_region"
478483
]
479484
},
485+
"BatchUpdateRegions": {
486+
"methods": [
487+
"batch_update_regions"
488+
]
489+
},
480490
"DeleteRegion": {
481491
"methods": [
482492
"delete_region"
483493
]
484494
},
495+
"BatchDeleteRegions": {
496+
"methods": [
497+
"batch_delete_regions"
498+
]
499+
},
485500
"ListRegions": {
486501
"methods": [
487502
"list_regions"

google-shopping-merchant-accounts-v1/lib/google/shopping/merchant/accounts/v1/regions_pb.rb

Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)