Debian Codegraph @

internal/generated/snippets/shopping/merchant/accounts/apiv1beta/snippet_metadata.google.shopping.merchant.accounts.v1beta.json

raw symbols SCIP
1 {
2 "clientLibrary": {
3 "name": "cloud.google.com/go/shopping/merchant/accounts/apiv1beta",
4 "version": "1.1.0",
5 "language": "GO",
6 "apis": [
7 {
8 "id": "google.shopping.merchant.accounts.v1beta",
9 "version": "v1beta"
10 }
11 ]
12 },
13 "snippets": [
14 {
15 "regionTag": "merchantapi_v1beta_generated_AccountIssueService_ListAccountIssues_sync",
16 "title": "merchantapi ListAccountIssues Sample",
17 "description": "ListAccountIssues lists all account issues of a Merchant Center account.",
18 "file": "AccountIssueClient/ListAccountIssues/main.go",
19 "language": "GO",
20 "clientMethod": {
21 "shortName": "ListAccountIssues",
22 "fullName": "google.shopping.merchant.accounts.v1beta.AccountIssueClient.ListAccountIssues",
23 "parameters": [
24 {
25 "type": "context.Context",
26 "name": "ctx"
27 },
28 {
29 "type": "accountspb.ListAccountIssuesRequest",
30 "name": "req"
31 },
32 {
33 "type": "...gax.CallOption",
34 "name": "opts"
35 }
36 ],
37 "resultType": "AccountIssueIterator",
38 "client": {
39 "shortName": "AccountIssueClient",
40 "fullName": "google.shopping.merchant.accounts.v1beta.AccountIssueClient"
41 },
42 "method": {
43 "shortName": "ListAccountIssues",
44 "fullName": "google.shopping.merchant.accounts.v1beta.AccountIssueService.ListAccountIssues",
45 "service": {
46 "shortName": "AccountIssueService",
47 "fullName": "google.shopping.merchant.accounts.v1beta.AccountIssueService"
48 }
49 }
50 },
51 "origin": "API_DEFINITION",
52 "segments": [
53 {
54 "start": 18,
55 "end": 66,
56 "type": "FULL"
57 }
58 ]
59 },
60 {
61 "regionTag": "merchantapi_v1beta_generated_AccountTaxService_GetAccountTax_sync",
62 "title": "merchantapi GetAccountTax Sample",
63 "description": "GetAccountTax returns the tax rules that match the conditions of GetAccountTaxRequest",
64 "file": "AccountTaxClient/GetAccountTax/main.go",
65 "language": "GO",
66 "clientMethod": {
67 "shortName": "GetAccountTax",
68 "fullName": "google.shopping.merchant.accounts.v1beta.AccountTaxClient.GetAccountTax",
69 "parameters": [
70 {
71 "type": "context.Context",
72 "name": "ctx"
73 },
74 {
75 "type": "accountspb.GetAccountTaxRequest",
76 "name": "req"
77 },
78 {
79 "type": "...gax.CallOption",
80 "name": "opts"
81 }
82 ],
83 "resultType": "*accountspb.AccountTax",
84 "client": {
85 "shortName": "AccountTaxClient",
86 "fullName": "google.shopping.merchant.accounts.v1beta.AccountTaxClient"
87 },
88 "method": {
89 "shortName": "GetAccountTax",
90 "fullName": "google.shopping.merchant.accounts.v1beta.AccountTaxService.GetAccountTax",
91 "service": {
92 "shortName": "AccountTaxService",
93 "fullName": "google.shopping.merchant.accounts.v1beta.AccountTaxService"
94 }
95 }
96 },
97 "origin": "API_DEFINITION",
98 "segments": [
99 {
100 "start": 18,
101 "end": 53,
102 "type": "FULL"
103 }
104 ]
105 },
106 {
107 "regionTag": "merchantapi_v1beta_generated_AccountTaxService_ListAccountTax_sync",
108 "title": "merchantapi ListAccountTax Sample",
109 "description": "ListAccountTax lists the tax settings of the sub-accounts only in your\nMerchant Center account.\nThis method can only be called on a multi-client account, otherwise it'll\nreturn an error.",
110 "file": "AccountTaxClient/ListAccountTax/main.go",
111 "language": "GO",
112 "clientMethod": {
113 "shortName": "ListAccountTax",
114 "fullName": "google.shopping.merchant.accounts.v1beta.AccountTaxClient.ListAccountTax",
115 "parameters": [
116 {
117 "type": "context.Context",
118 "name": "ctx"
119 },
120 {
121 "type": "accountspb.ListAccountTaxRequest",
122 "name": "req"
123 },
124 {
125 "type": "...gax.CallOption",
126 "name": "opts"
127 }
128 ],
129 "resultType": "AccountTaxIterator",
130 "client": {
131 "shortName": "AccountTaxClient",
132 "fullName": "google.shopping.merchant.accounts.v1beta.AccountTaxClient"
133 },
134 "method": {
135 "shortName": "ListAccountTax",
136 "fullName": "google.shopping.merchant.accounts.v1beta.AccountTaxService.ListAccountTax",
137 "service": {
138 "shortName": "AccountTaxService",
139 "fullName": "google.shopping.merchant.accounts.v1beta.AccountTaxService"
140 }
141 }
142 },
143 "origin": "API_DEFINITION",
144 "segments": [
145 {
146 "start": 18,
147 "end": 66,
148 "type": "FULL"
149 }
150 ]
151 },
152 {
153 "regionTag": "merchantapi_v1beta_generated_AccountTaxService_UpdateAccountTax_sync",
154 "title": "merchantapi UpdateAccountTax Sample",
155 "description": "UpdateAccountTax updates the tax settings of the account.",
156 "file": "AccountTaxClient/UpdateAccountTax/main.go",
157 "language": "GO",
158 "clientMethod": {
159 "shortName": "UpdateAccountTax",
160 "fullName": "google.shopping.merchant.accounts.v1beta.AccountTaxClient.UpdateAccountTax",
161 "parameters": [
162 {
163 "type": "context.Context",
164 "name": "ctx"
165 },
166 {
167 "type": "accountspb.UpdateAccountTaxRequest",
168 "name": "req"
169 },
170 {
171 "type": "...gax.CallOption",
172 "name": "opts"
173 }
174 ],
175 "resultType": "*accountspb.AccountTax",
176 "client": {
177 "shortName": "AccountTaxClient",
178 "fullName": "google.shopping.merchant.accounts.v1beta.AccountTaxClient"
179 },
180 "method": {
181 "shortName": "UpdateAccountTax",
182 "fullName": "google.shopping.merchant.accounts.v1beta.AccountTaxService.UpdateAccountTax",
183 "service": {
184 "shortName": "AccountTaxService",
185 "fullName": "google.shopping.merchant.accounts.v1beta.AccountTaxService"
186 }
187 }
188 },
189 "origin": "API_DEFINITION",
190 "segments": [
191 {
192 "start": 18,
193 "end": 53,
194 "type": "FULL"
195 }
196 ]
197 },
198 {
199 "regionTag": "merchantapi_v1beta_generated_AccountsService_CreateAndConfigureAccount_sync",
200 "title": "merchantapi CreateAndConfigureAccount Sample",
201 "description": "CreateAndConfigureAccount creates a standalone Merchant Center account with additional configuration.\nAdds the user that makes the request as an admin for the new account.",
202 "file": "Client/CreateAndConfigureAccount/main.go",
203 "language": "GO",
204 "clientMethod": {
205 "shortName": "CreateAndConfigureAccount",
206 "fullName": "google.shopping.merchant.accounts.v1beta.Client.CreateAndConfigureAccount",
207 "parameters": [
208 {
209 "type": "context.Context",
210 "name": "ctx"
211 },
212 {
213 "type": "accountspb.CreateAndConfigureAccountRequest",
214 "name": "req"
215 },
216 {
217 "type": "...gax.CallOption",
218 "name": "opts"
219 }
220 ],
221 "resultType": "*accountspb.Account",
222 "client": {
223 "shortName": "Client",
224 "fullName": "google.shopping.merchant.accounts.v1beta.Client"
225 },
226 "method": {
227 "shortName": "CreateAndConfigureAccount",
228 "fullName": "google.shopping.merchant.accounts.v1beta.AccountsService.CreateAndConfigureAccount",
229 "service": {
230 "shortName": "AccountsService",
231 "fullName": "google.shopping.merchant.accounts.v1beta.AccountsService"
232 }
233 }
234 },
235 "origin": "API_DEFINITION",
236 "segments": [
237 {
238 "start": 18,
239 "end": 53,
240 "type": "FULL"
241 }
242 ]
243 },
244 {
245 "regionTag": "merchantapi_v1beta_generated_AccountsService_DeleteAccount_sync",
246 "title": "merchantapi DeleteAccount Sample",
247 "description": "DeleteAccount deletes the specified account regardless of its type: standalone, MCA or\nsub-account. Deleting an MCA leads to the deletion of all of its\nsub-accounts. Executing this method requires admin access.\nThe deletion succeeds only if the account does not provide services\nto any other account and has no processed offers. You can use the `force`\nparameter to override this.",
248 "file": "Client/DeleteAccount/main.go",
249 "language": "GO",
250 "clientMethod": {
251 "shortName": "DeleteAccount",
252 "fullName": "google.shopping.merchant.accounts.v1beta.Client.DeleteAccount",
253 "parameters": [
254 {
255 "type": "context.Context",
256 "name": "ctx"
257 },
258 {
259 "type": "accountspb.DeleteAccountRequest",
260 "name": "req"
261 },
262 {
263 "type": "...gax.CallOption",
264 "name": "opts"
265 }
266 ],
267 "client": {
268 "shortName": "Client",
269 "fullName": "google.shopping.merchant.accounts.v1beta.Client"
270 },
271 "method": {
272 "shortName": "DeleteAccount",
273 "fullName": "google.shopping.merchant.accounts.v1beta.AccountsService.DeleteAccount",
274 "service": {
275 "shortName": "AccountsService",
276 "fullName": "google.shopping.merchant.accounts.v1beta.AccountsService"
277 }
278 }
279 },
280 "origin": "API_DEFINITION",
281 "segments": [
282 {
283 "start": 18,
284 "end": 51,
285 "type": "FULL"
286 }
287 ]
288 },
289 {
290 "regionTag": "merchantapi_v1beta_generated_AccountsService_GetAccount_sync",
291 "title": "merchantapi GetAccount Sample",
292 "description": "GetAccount retrieves an account from your Merchant Center account.\nAfter inserting, updating, or deleting an account, it may take several\nminutes before changes take effect.",
293 "file": "Client/GetAccount/main.go",
294 "language": "GO",
295 "clientMethod": {
296 "shortName": "GetAccount",
297 "fullName": "google.shopping.merchant.accounts.v1beta.Client.GetAccount",
298 "parameters": [
299 {
300 "type": "context.Context",
301 "name": "ctx"
302 },
303 {
304 "type": "accountspb.GetAccountRequest",
305 "name": "req"
306 },
307 {
308 "type": "...gax.CallOption",
309 "name": "opts"
310 }
311 ],
312 "resultType": "*accountspb.Account",
313 "client": {
314 "shortName": "Client",
315 "fullName": "google.shopping.merchant.accounts.v1beta.Client"
316 },
317 "method": {
318 "shortName": "GetAccount",
319 "fullName": "google.shopping.merchant.accounts.v1beta.AccountsService.GetAccount",
320 "service": {
321 "shortName": "AccountsService",
322 "fullName": "google.shopping.merchant.accounts.v1beta.AccountsService"
323 }
324 }
325 },
326 "origin": "API_DEFINITION",
327 "segments": [
328 {
329 "start": 18,
330 "end": 53,
331 "type": "FULL"
332 }
333 ]
334 },
335 {
336 "regionTag": "merchantapi_v1beta_generated_AccountsService_ListAccounts_sync",
337 "title": "merchantapi ListAccounts Sample",
338 "description": "ListAccounts lists accounts accessible to the calling user and matching the\nconstraints of the request such as page size or filters.\nThis is not just listing the sub-accounts of an MCA, but all accounts the\ncalling user has access to including other MCAs, linked accounts,\nstandalone accounts and so on. If no filter is provided, then it returns\naccounts the user is directly added to.",
339 "file": "Client/ListAccounts/main.go",
340 "language": "GO",
341 "clientMethod": {
342 "shortName": "ListAccounts",
343 "fullName": "google.shopping.merchant.accounts.v1beta.Client.ListAccounts",
344 "parameters": [
345 {
346 "type": "context.Context",
347 "name": "ctx"
348 },
349 {
350 "type": "accountspb.ListAccountsRequest",
351 "name": "req"
352 },
353 {
354 "type": "...gax.CallOption",
355 "name": "opts"
356 }
357 ],
358 "resultType": "AccountIterator",
359 "client": {
360 "shortName": "Client",
361 "fullName": "google.shopping.merchant.accounts.v1beta.Client"
362 },
363 "method": {
364 "shortName": "ListAccounts",
365 "fullName": "google.shopping.merchant.accounts.v1beta.AccountsService.ListAccounts",
366 "service": {
367 "shortName": "AccountsService",
368 "fullName": "google.shopping.merchant.accounts.v1beta.AccountsService"
369 }
370 }
371 },
372 "origin": "API_DEFINITION",
373 "segments": [
374 {
375 "start": 18,
376 "end": 66,
377 "type": "FULL"
378 }
379 ]
380 },
381 {
382 "regionTag": "merchantapi_v1beta_generated_AccountsService_ListSubAccounts_sync",
383 "title": "merchantapi ListSubAccounts Sample",
384 "description": "ListSubAccounts list all sub-accounts for a given multi client account. This is a\nconvenience wrapper for the more powerful `ListAccounts` method. This\nmethod will produce the same results as calling `ListsAccounts` with the\nfollowing filter: \n`relationship(providerId={parent} AND service(type=\"ACCOUNT_AGGREGATION\"))`",
385 "file": "Client/ListSubAccounts/main.go",
386 "language": "GO",
387 "clientMethod": {
388 "shortName": "ListSubAccounts",
389 "fullName": "google.shopping.merchant.accounts.v1beta.Client.ListSubAccounts",
390 "parameters": [
391 {
392 "type": "context.Context",
393 "name": "ctx"
394 },
395 {
396 "type": "accountspb.ListSubAccountsRequest",
397 "name": "req"
398 },
399 {
400 "type": "...gax.CallOption",
401 "name": "opts"
402 }
403 ],
404 "resultType": "AccountIterator",
405 "client": {
406 "shortName": "Client",
407 "fullName": "google.shopping.merchant.accounts.v1beta.Client"
408 },
409 "method": {
410 "shortName": "ListSubAccounts",
411 "fullName": "google.shopping.merchant.accounts.v1beta.AccountsService.ListSubAccounts",
412 "service": {
413 "shortName": "AccountsService",
414 "fullName": "google.shopping.merchant.accounts.v1beta.AccountsService"
415 }
416 }
417 },
418 "origin": "API_DEFINITION",
419 "segments": [
420 {
421 "start": 18,
422 "end": 66,
423 "type": "FULL"
424 }
425 ]
426 },
427 {
428 "regionTag": "merchantapi_v1beta_generated_AccountsService_UpdateAccount_sync",
429 "title": "merchantapi UpdateAccount Sample",
430 "description": "UpdateAccount updates an account regardless of its type: standalone, MCA or sub-account.\nExecuting this method requires admin access.",
431 "file": "Client/UpdateAccount/main.go",
432 "language": "GO",
433 "clientMethod": {
434 "shortName": "UpdateAccount",
435 "fullName": "google.shopping.merchant.accounts.v1beta.Client.UpdateAccount",
436 "parameters": [
437 {
438 "type": "context.Context",
439 "name": "ctx"
440 },
441 {
442 "type": "accountspb.UpdateAccountRequest",
443 "name": "req"
444 },
445 {
446 "type": "...gax.CallOption",
447 "name": "opts"
448 }
449 ],
450 "resultType": "*accountspb.Account",
451 "client": {
452 "shortName": "Client",
453 "fullName": "google.shopping.merchant.accounts.v1beta.Client"
454 },
455 "method": {
456 "shortName": "UpdateAccount",
457 "fullName": "google.shopping.merchant.accounts.v1beta.AccountsService.UpdateAccount",
458 "service": {
459 "shortName": "AccountsService",
460 "fullName": "google.shopping.merchant.accounts.v1beta.AccountsService"
461 }
462 }
463 },
464 "origin": "API_DEFINITION",
465 "segments": [
466 {
467 "start": 18,
468 "end": 53,
469 "type": "FULL"
470 }
471 ]
472 },
473 {
474 "regionTag": "merchantapi_v1beta_generated_AutofeedSettingsService_GetAutofeedSettings_sync",
475 "title": "merchantapi GetAutofeedSettings Sample",
476 "description": "GetAutofeedSettings retrieves the autofeed settings of an account.",
477 "file": "AutofeedSettingsClient/GetAutofeedSettings/main.go",
478 "language": "GO",
479 "clientMethod": {
480 "shortName": "GetAutofeedSettings",
481 "fullName": "google.shopping.merchant.accounts.v1beta.AutofeedSettingsClient.GetAutofeedSettings",
482 "parameters": [
483 {
484 "type": "context.Context",
485 "name": "ctx"
486 },
487 {
488 "type": "accountspb.GetAutofeedSettingsRequest",
489 "name": "req"
490 },
491 {
492 "type": "...gax.CallOption",
493 "name": "opts"
494 }
495 ],
496 "resultType": "*accountspb.AutofeedSettings",
497 "client": {
498 "shortName": "AutofeedSettingsClient",
499 "fullName": "google.shopping.merchant.accounts.v1beta.AutofeedSettingsClient"
500 },
501 "method": {
502 "shortName": "GetAutofeedSettings",
503 "fullName": "google.shopping.merchant.accounts.v1beta.AutofeedSettingsService.GetAutofeedSettings",
504 "service": {
505 "shortName": "AutofeedSettingsService",
506 "fullName": "google.shopping.merchant.accounts.v1beta.AutofeedSettingsService"
507 }
508 }
509 },
510 "origin": "API_DEFINITION",
511 "segments": [
512 {
513 "start": 18,
514 "end": 53,
515 "type": "FULL"
516 }
517 ]
518 },
519 {
520 "regionTag": "merchantapi_v1beta_generated_AutofeedSettingsService_UpdateAutofeedSettings_sync",
521 "title": "merchantapi UpdateAutofeedSettings Sample",
522 "description": "UpdateAutofeedSettings updates the autofeed settings of an account.",
523 "file": "AutofeedSettingsClient/UpdateAutofeedSettings/main.go",
524 "language": "GO",
525 "clientMethod": {
526 "shortName": "UpdateAutofeedSettings",
527 "fullName": "google.shopping.merchant.accounts.v1beta.AutofeedSettingsClient.UpdateAutofeedSettings",
528 "parameters": [
529 {
530 "type": "context.Context",
531 "name": "ctx"
532 },
533 {
534 "type": "accountspb.UpdateAutofeedSettingsRequest",
535 "name": "req"
536 },
537 {
538 "type": "...gax.CallOption",
539 "name": "opts"
540 }
541 ],
542 "resultType": "*accountspb.AutofeedSettings",
543 "client": {
544 "shortName": "AutofeedSettingsClient",
545 "fullName": "google.shopping.merchant.accounts.v1beta.AutofeedSettingsClient"
546 },
547 "method": {
548 "shortName": "UpdateAutofeedSettings",
549 "fullName": "google.shopping.merchant.accounts.v1beta.AutofeedSettingsService.UpdateAutofeedSettings",
550 "service": {
551 "shortName": "AutofeedSettingsService",
552 "fullName": "google.shopping.merchant.accounts.v1beta.AutofeedSettingsService"
553 }
554 }
555 },
556 "origin": "API_DEFINITION",
557 "segments": [
558 {
559 "start": 18,
560 "end": 53,
561 "type": "FULL"
562 }
563 ]
564 },
565 {
566 "regionTag": "merchantapi_v1beta_generated_AutomaticImprovementsService_GetAutomaticImprovements_sync",
567 "title": "merchantapi GetAutomaticImprovements Sample",
568 "description": "GetAutomaticImprovements retrieves the automatic improvements of an account.",
569 "file": "AutomaticImprovementsClient/GetAutomaticImprovements/main.go",
570 "language": "GO",
571 "clientMethod": {
572 "shortName": "GetAutomaticImprovements",
573 "fullName": "google.shopping.merchant.accounts.v1beta.AutomaticImprovementsClient.GetAutomaticImprovements",
574 "parameters": [
575 {
576 "type": "context.Context",
577 "name": "ctx"
578 },
579 {
580 "type": "accountspb.GetAutomaticImprovementsRequest",
581 "name": "req"
582 },
583 {
584 "type": "...gax.CallOption",
585 "name": "opts"
586 }
587 ],
588 "resultType": "*accountspb.AutomaticImprovements",
589 "client": {
590 "shortName": "AutomaticImprovementsClient",
591 "fullName": "google.shopping.merchant.accounts.v1beta.AutomaticImprovementsClient"
592 },
593 "method": {
594 "shortName": "GetAutomaticImprovements",
595 "fullName": "google.shopping.merchant.accounts.v1beta.AutomaticImprovementsService.GetAutomaticImprovements",
596 "service": {
597 "shortName": "AutomaticImprovementsService",
598 "fullName": "google.shopping.merchant.accounts.v1beta.AutomaticImprovementsService"
599 }
600 }
601 },
602 "origin": "API_DEFINITION",
603 "segments": [
604 {
605 "start": 18,
606 "end": 53,
607 "type": "FULL"
608 }
609 ]
610 },
611 {
612 "regionTag": "merchantapi_v1beta_generated_AutomaticImprovementsService_UpdateAutomaticImprovements_sync",
613 "title": "merchantapi UpdateAutomaticImprovements Sample",
614 "description": "UpdateAutomaticImprovements updates the automatic improvements of an account.",
615 "file": "AutomaticImprovementsClient/UpdateAutomaticImprovements/main.go",
616 "language": "GO",
617 "clientMethod": {
618 "shortName": "UpdateAutomaticImprovements",
619 "fullName": "google.shopping.merchant.accounts.v1beta.AutomaticImprovementsClient.UpdateAutomaticImprovements",
620 "parameters": [
621 {
622 "type": "context.Context",
623 "name": "ctx"
624 },
625 {
626 "type": "accountspb.UpdateAutomaticImprovementsRequest",
627 "name": "req"
628 },
629 {
630 "type": "...gax.CallOption",
631 "name": "opts"
632 }
633 ],
634 "resultType": "*accountspb.AutomaticImprovements",
635 "client": {
636 "shortName": "AutomaticImprovementsClient",
637 "fullName": "google.shopping.merchant.accounts.v1beta.AutomaticImprovementsClient"
638 },
639 "method": {
640 "shortName": "UpdateAutomaticImprovements",
641 "fullName": "google.shopping.merchant.accounts.v1beta.AutomaticImprovementsService.UpdateAutomaticImprovements",
642 "service": {
643 "shortName": "AutomaticImprovementsService",
644 "fullName": "google.shopping.merchant.accounts.v1beta.AutomaticImprovementsService"
645 }
646 }
647 },
648 "origin": "API_DEFINITION",
649 "segments": [
650 {
651 "start": 18,
652 "end": 53,
653 "type": "FULL"
654 }
655 ]
656 },
657 {
658 "regionTag": "merchantapi_v1beta_generated_BusinessIdentityService_GetBusinessIdentity_sync",
659 "title": "merchantapi GetBusinessIdentity Sample",
660 "description": "GetBusinessIdentity retrieves the business identity of an account.",
661 "file": "BusinessIdentityClient/GetBusinessIdentity/main.go",
662 "language": "GO",
663 "clientMethod": {
664 "shortName": "GetBusinessIdentity",
665 "fullName": "google.shopping.merchant.accounts.v1beta.BusinessIdentityClient.GetBusinessIdentity",
666 "parameters": [
667 {
668 "type": "context.Context",
669 "name": "ctx"
670 },
671 {
672 "type": "accountspb.GetBusinessIdentityRequest",
673 "name": "req"
674 },
675 {
676 "type": "...gax.CallOption",
677 "name": "opts"
678 }
679 ],
680 "resultType": "*accountspb.BusinessIdentity",
681 "client": {
682 "shortName": "BusinessIdentityClient",
683 "fullName": "google.shopping.merchant.accounts.v1beta.BusinessIdentityClient"
684 },
685 "method": {
686 "shortName": "GetBusinessIdentity",
687 "fullName": "google.shopping.merchant.accounts.v1beta.BusinessIdentityService.GetBusinessIdentity",
688 "service": {
689 "shortName": "BusinessIdentityService",
690 "fullName": "google.shopping.merchant.accounts.v1beta.BusinessIdentityService"
691 }
692 }
693 },
694 "origin": "API_DEFINITION",
695 "segments": [
696 {
697 "start": 18,
698 "end": 53,
699 "type": "FULL"
700 }
701 ]
702 },
703 {
704 "regionTag": "merchantapi_v1beta_generated_BusinessIdentityService_UpdateBusinessIdentity_sync",
705 "title": "merchantapi UpdateBusinessIdentity Sample",
706 "description": "UpdateBusinessIdentity updates the business identity of an account. Executing this method requires\nadmin access.",
707 "file": "BusinessIdentityClient/UpdateBusinessIdentity/main.go",
708 "language": "GO",
709 "clientMethod": {
710 "shortName": "UpdateBusinessIdentity",
711 "fullName": "google.shopping.merchant.accounts.v1beta.BusinessIdentityClient.UpdateBusinessIdentity",
712 "parameters": [
713 {
714 "type": "context.Context",
715 "name": "ctx"
716 },
717 {
718 "type": "accountspb.UpdateBusinessIdentityRequest",
719 "name": "req"
720 },
721 {
722 "type": "...gax.CallOption",
723 "name": "opts"
724 }
725 ],
726 "resultType": "*accountspb.BusinessIdentity",
727 "client": {
728 "shortName": "BusinessIdentityClient",
729 "fullName": "google.shopping.merchant.accounts.v1beta.BusinessIdentityClient"
730 },
731 "method": {
732 "shortName": "UpdateBusinessIdentity",
733 "fullName": "google.shopping.merchant.accounts.v1beta.BusinessIdentityService.UpdateBusinessIdentity",
734 "service": {
735 "shortName": "BusinessIdentityService",
736 "fullName": "google.shopping.merchant.accounts.v1beta.BusinessIdentityService"
737 }
738 }
739 },
740 "origin": "API_DEFINITION",
741 "segments": [
742 {
743 "start": 18,
744 "end": 53,
745 "type": "FULL"
746 }
747 ]
748 },
749 {
750 "regionTag": "merchantapi_v1beta_generated_BusinessInfoService_GetBusinessInfo_sync",
751 "title": "merchantapi GetBusinessInfo Sample",
752 "description": "GetBusinessInfo retrieves the business info of an account.",
753 "file": "BusinessInfoClient/GetBusinessInfo/main.go",
754 "language": "GO",
755 "clientMethod": {
756 "shortName": "GetBusinessInfo",
757 "fullName": "google.shopping.merchant.accounts.v1beta.BusinessInfoClient.GetBusinessInfo",
758 "parameters": [
759 {
760 "type": "context.Context",
761 "name": "ctx"
762 },
763 {
764 "type": "accountspb.GetBusinessInfoRequest",
765 "name": "req"
766 },
767 {
768 "type": "...gax.CallOption",
769 "name": "opts"
770 }
771 ],
772 "resultType": "*accountspb.BusinessInfo",
773 "client": {
774 "shortName": "BusinessInfoClient",
775 "fullName": "google.shopping.merchant.accounts.v1beta.BusinessInfoClient"
776 },
777 "method": {
778 "shortName": "GetBusinessInfo",
779 "fullName": "google.shopping.merchant.accounts.v1beta.BusinessInfoService.GetBusinessInfo",
780 "service": {
781 "shortName": "BusinessInfoService",
782 "fullName": "google.shopping.merchant.accounts.v1beta.BusinessInfoService"
783 }
784 }
785 },
786 "origin": "API_DEFINITION",
787 "segments": [
788 {
789 "start": 18,
790 "end": 53,
791 "type": "FULL"
792 }
793 ]
794 },
795 {
796 "regionTag": "merchantapi_v1beta_generated_BusinessInfoService_UpdateBusinessInfo_sync",
797 "title": "merchantapi UpdateBusinessInfo Sample",
798 "description": "UpdateBusinessInfo updates the business info of an account. Executing this method requires\nadmin access.",
799 "file": "BusinessInfoClient/UpdateBusinessInfo/main.go",
800 "language": "GO",
801 "clientMethod": {
802 "shortName": "UpdateBusinessInfo",
803 "fullName": "google.shopping.merchant.accounts.v1beta.BusinessInfoClient.UpdateBusinessInfo",
804 "parameters": [
805 {
806 "type": "context.Context",
807 "name": "ctx"
808 },
809 {
810 "type": "accountspb.UpdateBusinessInfoRequest",
811 "name": "req"
812 },
813 {
814 "type": "...gax.CallOption",
815 "name": "opts"
816 }
817 ],
818 "resultType": "*accountspb.BusinessInfo",
819 "client": {
820 "shortName": "BusinessInfoClient",
821 "fullName": "google.shopping.merchant.accounts.v1beta.BusinessInfoClient"
822 },
823 "method": {
824 "shortName": "UpdateBusinessInfo",
825 "fullName": "google.shopping.merchant.accounts.v1beta.BusinessInfoService.UpdateBusinessInfo",
826 "service": {
827 "shortName": "BusinessInfoService",
828 "fullName": "google.shopping.merchant.accounts.v1beta.BusinessInfoService"
829 }
830 }
831 },
832 "origin": "API_DEFINITION",
833 "segments": [
834 {
835 "start": 18,
836 "end": 53,
837 "type": "FULL"
838 }
839 ]
840 },
841 {
842 "regionTag": "merchantapi_v1beta_generated_CheckoutSettingsService_CreateCheckoutSettings_sync",
843 "title": "merchantapi CreateCheckoutSettings Sample",
844 "description": "CreateCheckoutSettings creates `CheckoutSettings` for the given merchant.",
845 "file": "CheckoutSettingsClient/CreateCheckoutSettings/main.go",
846 "language": "GO",
847 "clientMethod": {
848 "shortName": "CreateCheckoutSettings",
849 "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsClient.CreateCheckoutSettings",
850 "parameters": [
851 {
852 "type": "context.Context",
853 "name": "ctx"
854 },
855 {
856 "type": "accountspb.CreateCheckoutSettingsRequest",
857 "name": "req"
858 },
859 {
860 "type": "...gax.CallOption",
861 "name": "opts"
862 }
863 ],
864 "resultType": "*accountspb.CheckoutSettings",
865 "client": {
866 "shortName": "CheckoutSettingsClient",
867 "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsClient"
868 },
869 "method": {
870 "shortName": "CreateCheckoutSettings",
871 "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsService.CreateCheckoutSettings",
872 "service": {
873 "shortName": "CheckoutSettingsService",
874 "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsService"
875 }
876 }
877 },
878 "origin": "API_DEFINITION",
879 "segments": [
880 {
881 "start": 18,
882 "end": 53,
883 "type": "FULL"
884 }
885 ]
886 },
887 {
888 "regionTag": "merchantapi_v1beta_generated_CheckoutSettingsService_DeleteCheckoutSettings_sync",
889 "title": "merchantapi DeleteCheckoutSettings Sample",
890 "description": "DeleteCheckoutSettings deletes `CheckoutSettings` and unenrolls merchant from\n`Checkout` program.",
891 "file": "CheckoutSettingsClient/DeleteCheckoutSettings/main.go",
892 "language": "GO",
893 "clientMethod": {
894 "shortName": "DeleteCheckoutSettings",
895 "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsClient.DeleteCheckoutSettings",
896 "parameters": [
897 {
898 "type": "context.Context",
899 "name": "ctx"
900 },
901 {
902 "type": "accountspb.DeleteCheckoutSettingsRequest",
903 "name": "req"
904 },
905 {
906 "type": "...gax.CallOption",
907 "name": "opts"
908 }
909 ],
910 "client": {
911 "shortName": "CheckoutSettingsClient",
912 "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsClient"
913 },
914 "method": {
915 "shortName": "DeleteCheckoutSettings",
916 "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsService.DeleteCheckoutSettings",
917 "service": {
918 "shortName": "CheckoutSettingsService",
919 "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsService"
920 }
921 }
922 },
923 "origin": "API_DEFINITION",
924 "segments": [
925 {
926 "start": 18,
927 "end": 51,
928 "type": "FULL"
929 }
930 ]
931 },
932 {
933 "regionTag": "merchantapi_v1beta_generated_CheckoutSettingsService_GetCheckoutSettings_sync",
934 "title": "merchantapi GetCheckoutSettings Sample",
935 "description": "GetCheckoutSettings gets `CheckoutSettings` for the given merchant. This includes\ninformation about review state, enrollment state and URL settings.",
936 "file": "CheckoutSettingsClient/GetCheckoutSettings/main.go",
937 "language": "GO",
938 "clientMethod": {
939 "shortName": "GetCheckoutSettings",
940 "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsClient.GetCheckoutSettings",
941 "parameters": [
942 {
943 "type": "context.Context",
944 "name": "ctx"
945 },
946 {
947 "type": "accountspb.GetCheckoutSettingsRequest",
948 "name": "req"
949 },
950 {
951 "type": "...gax.CallOption",
952 "name": "opts"
953 }
954 ],
955 "resultType": "*accountspb.CheckoutSettings",
956 "client": {
957 "shortName": "CheckoutSettingsClient",
958 "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsClient"
959 },
960 "method": {
961 "shortName": "GetCheckoutSettings",
962 "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsService.GetCheckoutSettings",
963 "service": {
964 "shortName": "CheckoutSettingsService",
965 "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsService"
966 }
967 }
968 },
969 "origin": "API_DEFINITION",
970 "segments": [
971 {
972 "start": 18,
973 "end": 53,
974 "type": "FULL"
975 }
976 ]
977 },
978 {
979 "regionTag": "merchantapi_v1beta_generated_CheckoutSettingsService_UpdateCheckoutSettings_sync",
980 "title": "merchantapi UpdateCheckoutSettings Sample",
981 "description": "UpdateCheckoutSettings updates `CheckoutSettings` for the given merchant.",
982 "file": "CheckoutSettingsClient/UpdateCheckoutSettings/main.go",
983 "language": "GO",
984 "clientMethod": {
985 "shortName": "UpdateCheckoutSettings",
986 "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsClient.UpdateCheckoutSettings",
987 "parameters": [
988 {
989 "type": "context.Context",
990 "name": "ctx"
991 },
992 {
993 "type": "accountspb.UpdateCheckoutSettingsRequest",
994 "name": "req"
995 },
996 {
997 "type": "...gax.CallOption",
998 "name": "opts"
999 }
1000 ],
1001 "resultType": "*accountspb.CheckoutSettings",
1002 "client": {
1003 "shortName": "CheckoutSettingsClient",
1004 "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsClient"
1005 },
1006 "method": {
1007 "shortName": "UpdateCheckoutSettings",
1008 "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsService.UpdateCheckoutSettings",
1009 "service": {
1010 "shortName": "CheckoutSettingsService",
1011 "fullName": "google.shopping.merchant.accounts.v1beta.CheckoutSettingsService"
1012 }
1013 }
1014 },
1015 "origin": "API_DEFINITION",
1016 "segments": [
1017 {
1018 "start": 18,
1019 "end": 53,
1020 "type": "FULL"
1021 }
1022 ]
1023 },
1024 {
1025 "regionTag": "merchantapi_v1beta_generated_EmailPreferencesService_GetEmailPreferences_sync",
1026 "title": "merchantapi GetEmailPreferences Sample",
1027 "description": "GetEmailPreferences returns the email preferences for a Merchant Center account user.\n\nUse the name=accounts/*/users/me/emailPreferences alias to get preferences\nfor the authenticated user.",
1028 "file": "EmailPreferencesClient/GetEmailPreferences/main.go",
1029 "language": "GO",
1030 "clientMethod": {
1031 "shortName": "GetEmailPreferences",
1032 "fullName": "google.shopping.merchant.accounts.v1beta.EmailPreferencesClient.GetEmailPreferences",
1033 "parameters": [
1034 {
1035 "type": "context.Context",
1036 "name": "ctx"
1037 },
1038 {
1039 "type": "accountspb.GetEmailPreferencesRequest",
1040 "name": "req"
1041 },
1042 {
1043 "type": "...gax.CallOption",
1044 "name": "opts"
1045 }
1046 ],
1047 "resultType": "*accountspb.EmailPreferences",
1048 "client": {
1049 "shortName": "EmailPreferencesClient",
1050 "fullName": "google.shopping.merchant.accounts.v1beta.EmailPreferencesClient"
1051 },
1052 "method": {
1053 "shortName": "GetEmailPreferences",
1054 "fullName": "google.shopping.merchant.accounts.v1beta.EmailPreferencesService.GetEmailPreferences",
1055 "service": {
1056 "shortName": "EmailPreferencesService",
1057 "fullName": "google.shopping.merchant.accounts.v1beta.EmailPreferencesService"
1058 }
1059 }
1060 },
1061 "origin": "API_DEFINITION",
1062 "segments": [
1063 {
1064 "start": 18,
1065 "end": 53,
1066 "type": "FULL"
1067 }
1068 ]
1069 },
1070 {
1071 "regionTag": "merchantapi_v1beta_generated_EmailPreferencesService_UpdateEmailPreferences_sync",
1072 "title": "merchantapi UpdateEmailPreferences Sample",
1073 "description": "UpdateEmailPreferences updates the email preferences for a Merchant Center account user. MCA users\nshould specify the MCA account rather than a sub-account of the MCA.\n\nPreferences which are not explicitly selected in the update mask will not\nbe updated.\n\nIt is invalid for updates to specify an UNCONFIRMED opt-in status value.\n\nUse the name=accounts/*/users/me/emailPreferences alias to update\npreferences\nfor the authenticated user.",
1074 "file": "EmailPreferencesClient/UpdateEmailPreferences/main.go",
1075 "language": "GO",
1076 "clientMethod": {
1077 "shortName": "UpdateEmailPreferences",
1078 "fullName": "google.shopping.merchant.accounts.v1beta.EmailPreferencesClient.UpdateEmailPreferences",
1079 "parameters": [
1080 {
1081 "type": "context.Context",
1082 "name": "ctx"
1083 },
1084 {
1085 "type": "accountspb.UpdateEmailPreferencesRequest",
1086 "name": "req"
1087 },
1088 {
1089 "type": "...gax.CallOption",
1090 "name": "opts"
1091 }
1092 ],
1093 "resultType": "*accountspb.EmailPreferences",
1094 "client": {
1095 "shortName": "EmailPreferencesClient",
1096 "fullName": "google.shopping.merchant.accounts.v1beta.EmailPreferencesClient"
1097 },
1098 "method": {
1099 "shortName": "UpdateEmailPreferences",
1100 "fullName": "google.shopping.merchant.accounts.v1beta.EmailPreferencesService.UpdateEmailPreferences",
1101 "service": {
1102 "shortName": "EmailPreferencesService",
1103 "fullName": "google.shopping.merchant.accounts.v1beta.EmailPreferencesService"
1104 }
1105 }
1106 },
1107 "origin": "API_DEFINITION",
1108 "segments": [
1109 {
1110 "start": 18,
1111 "end": 53,
1112 "type": "FULL"
1113 }
1114 ]
1115 },
1116 {
1117 "regionTag": "merchantapi_v1beta_generated_GbpAccountsService_LinkGbpAccount_sync",
1118 "title": "merchantapi LinkGbpAccount Sample",
1119 "description": "LinkGbpAccount link the specified merchant to a GBP account for all countries.",
1120 "file": "GbpAccountsClient/LinkGbpAccount/main.go",
1121 "language": "GO",
1122 "clientMethod": {
1123 "shortName": "LinkGbpAccount",
1124 "fullName": "google.shopping.merchant.accounts.v1beta.GbpAccountsClient.LinkGbpAccount",
1125 "parameters": [
1126 {
1127 "type": "context.Context",
1128 "name": "ctx"
1129 },
1130 {
1131 "type": "accountspb.LinkGbpAccountRequest",
1132 "name": "req"
1133 },
1134 {
1135 "type": "...gax.CallOption",
1136 "name": "opts"
1137 }
1138 ],
1139 "resultType": "*accountspb.LinkGbpAccountResponse",
1140 "client": {
1141 "shortName": "GbpAccountsClient",
1142 "fullName": "google.shopping.merchant.accounts.v1beta.GbpAccountsClient"
1143 },
1144 "method": {
1145 "shortName": "LinkGbpAccount",
1146 "fullName": "google.shopping.merchant.accounts.v1beta.GbpAccountsService.LinkGbpAccount",
1147 "service": {
1148 "shortName": "GbpAccountsService",
1149 "fullName": "google.shopping.merchant.accounts.v1beta.GbpAccountsService"
1150 }
1151 }
1152 },
1153 "origin": "API_DEFINITION",
1154 "segments": [
1155 {
1156 "start": 18,
1157 "end": 53,
1158 "type": "FULL"
1159 }
1160 ]
1161 },
1162 {
1163 "regionTag": "merchantapi_v1beta_generated_GbpAccountsService_ListGbpAccounts_sync",
1164 "title": "merchantapi ListGbpAccounts Sample",
1165 "description": "ListGbpAccounts list the GBP accounts for a given merchant.",
1166 "file": "GbpAccountsClient/ListGbpAccounts/main.go",
1167 "language": "GO",
1168 "clientMethod": {
1169 "shortName": "ListGbpAccounts",
1170 "fullName": "google.shopping.merchant.accounts.v1beta.GbpAccountsClient.ListGbpAccounts",
1171 "parameters": [
1172 {
1173 "type": "context.Context",
1174 "name": "ctx"
1175 },
1176 {
1177 "type": "accountspb.ListGbpAccountsRequest",
1178 "name": "req"
1179 },
1180 {
1181 "type": "...gax.CallOption",
1182 "name": "opts"
1183 }
1184 ],
1185 "resultType": "GbpAccountIterator",
1186 "client": {
1187 "shortName": "GbpAccountsClient",
1188 "fullName": "google.shopping.merchant.accounts.v1beta.GbpAccountsClient"
1189 },
1190 "method": {
1191 "shortName": "ListGbpAccounts",
1192 "fullName": "google.shopping.merchant.accounts.v1beta.GbpAccountsService.ListGbpAccounts",
1193 "service": {
1194 "shortName": "GbpAccountsService",
1195 "fullName": "google.shopping.merchant.accounts.v1beta.GbpAccountsService"
1196 }
1197 }
1198 },
1199 "origin": "API_DEFINITION",
1200 "segments": [
1201 {
1202 "start": 18,
1203 "end": 66,
1204 "type": "FULL"
1205 }
1206 ]
1207 },
1208 {
1209 "regionTag": "merchantapi_v1beta_generated_HomepageService_ClaimHomepage_sync",
1210 "title": "merchantapi ClaimHomepage Sample",
1211 "description": "ClaimHomepage claims a store's homepage. Executing this method requires admin access.\n\nIf the homepage is already claimed, this will recheck the\nverification (unless the merchant is exempted from claiming, which also\nexempts from verification) and return a successful response. If ownership\ncan no longer be verified, it will return an error, but it won't clear the\nclaim. In case of failure, a canonical error message will be returned: \n* PERMISSION_DENIED: user doesn't have the necessary permissions on this\nMC account;\n* FAILED_PRECONDITION: \n- The account is not a Merchant Center account;\n- MC account doesn't have a homepage;\n- claiming failed (in this case the error message will contain more\ndetails).",
1212 "file": "HomepageClient/ClaimHomepage/main.go",
1213 "language": "GO",
1214 "clientMethod": {
1215 "shortName": "ClaimHomepage",
1216 "fullName": "google.shopping.merchant.accounts.v1beta.HomepageClient.ClaimHomepage",
1217 "parameters": [
1218 {
1219 "type": "context.Context",
1220 "name": "ctx"
1221 },
1222 {
1223 "type": "accountspb.ClaimHomepageRequest",
1224 "name": "req"
1225 },
1226 {
1227 "type": "...gax.CallOption",
1228 "name": "opts"
1229 }
1230 ],
1231 "resultType": "*accountspb.Homepage",
1232 "client": {
1233 "shortName": "HomepageClient",
1234 "fullName": "google.shopping.merchant.accounts.v1beta.HomepageClient"
1235 },
1236 "method": {
1237 "shortName": "ClaimHomepage",
1238 "fullName": "google.shopping.merchant.accounts.v1beta.HomepageService.ClaimHomepage",
1239 "service": {
1240 "shortName": "HomepageService",
1241 "fullName": "google.shopping.merchant.accounts.v1beta.HomepageService"
1242 }
1243 }
1244 },
1245 "origin": "API_DEFINITION",
1246 "segments": [
1247 {
1248 "start": 18,
1249 "end": 53,
1250 "type": "FULL"
1251 }
1252 ]
1253 },
1254 {
1255 "regionTag": "merchantapi_v1beta_generated_HomepageService_GetHomepage_sync",
1256 "title": "merchantapi GetHomepage Sample",
1257 "description": "GetHomepage retrieves a store's homepage.",
1258 "file": "HomepageClient/GetHomepage/main.go",
1259 "language": "GO",
1260 "clientMethod": {
1261 "shortName": "GetHomepage",
1262 "fullName": "google.shopping.merchant.accounts.v1beta.HomepageClient.GetHomepage",
1263 "parameters": [
1264 {
1265 "type": "context.Context",
1266 "name": "ctx"
1267 },
1268 {
1269 "type": "accountspb.GetHomepageRequest",
1270 "name": "req"
1271 },
1272 {
1273 "type": "...gax.CallOption",
1274 "name": "opts"
1275 }
1276 ],
1277 "resultType": "*accountspb.Homepage",
1278 "client": {
1279 "shortName": "HomepageClient",
1280 "fullName": "google.shopping.merchant.accounts.v1beta.HomepageClient"
1281 },
1282 "method": {
1283 "shortName": "GetHomepage",
1284 "fullName": "google.shopping.merchant.accounts.v1beta.HomepageService.GetHomepage",
1285 "service": {
1286 "shortName": "HomepageService",
1287 "fullName": "google.shopping.merchant.accounts.v1beta.HomepageService"
1288 }
1289 }
1290 },
1291 "origin": "API_DEFINITION",
1292 "segments": [
1293 {
1294 "start": 18,
1295 "end": 53,
1296 "type": "FULL"
1297 }
1298 ]
1299 },
1300 {
1301 "regionTag": "merchantapi_v1beta_generated_HomepageService_UnclaimHomepage_sync",
1302 "title": "merchantapi UnclaimHomepage Sample",
1303 "description": "UnclaimHomepage unclaims a store's homepage. Executing this method requires admin access.",
1304 "file": "HomepageClient/UnclaimHomepage/main.go",
1305 "language": "GO",
1306 "clientMethod": {
1307 "shortName": "UnclaimHomepage",
1308 "fullName": "google.shopping.merchant.accounts.v1beta.HomepageClient.UnclaimHomepage",
1309 "parameters": [
1310 {
1311 "type": "context.Context",
1312 "name": "ctx"
1313 },
1314 {
1315 "type": "accountspb.UnclaimHomepageRequest",
1316 "name": "req"
1317 },
1318 {
1319 "type": "...gax.CallOption",
1320 "name": "opts"
1321 }
1322 ],
1323 "resultType": "*accountspb.Homepage",
1324 "client": {
1325 "shortName": "HomepageClient",
1326 "fullName": "google.shopping.merchant.accounts.v1beta.HomepageClient"
1327 },
1328 "method": {
1329 "shortName": "UnclaimHomepage",
1330 "fullName": "google.shopping.merchant.accounts.v1beta.HomepageService.UnclaimHomepage",
1331 "service": {
1332 "shortName": "HomepageService",
1333 "fullName": "google.shopping.merchant.accounts.v1beta.HomepageService"
1334 }
1335 }
1336 },
1337 "origin": "API_DEFINITION",
1338 "segments": [
1339 {
1340 "start": 18,
1341 "end": 53,
1342 "type": "FULL"
1343 }
1344 ]
1345 },
1346 {
1347 "regionTag": "merchantapi_v1beta_generated_HomepageService_UpdateHomepage_sync",
1348 "title": "merchantapi UpdateHomepage Sample",
1349 "description": "UpdateHomepage updates a store's homepage. Executing this method requires admin access.",
1350 "file": "HomepageClient/UpdateHomepage/main.go",
1351 "language": "GO",
1352 "clientMethod": {
1353 "shortName": "UpdateHomepage",
1354 "fullName": "google.shopping.merchant.accounts.v1beta.HomepageClient.UpdateHomepage",
1355 "parameters": [
1356 {
1357 "type": "context.Context",
1358 "name": "ctx"
1359 },
1360 {
1361 "type": "accountspb.UpdateHomepageRequest",
1362 "name": "req"
1363 },
1364 {
1365 "type": "...gax.CallOption",
1366 "name": "opts"
1367 }
1368 ],
1369 "resultType": "*accountspb.Homepage",
1370 "client": {
1371 "shortName": "HomepageClient",
1372 "fullName": "google.shopping.merchant.accounts.v1beta.HomepageClient"
1373 },
1374 "method": {
1375 "shortName": "UpdateHomepage",
1376 "fullName": "google.shopping.merchant.accounts.v1beta.HomepageService.UpdateHomepage",
1377 "service": {
1378 "shortName": "HomepageService",
1379 "fullName": "google.shopping.merchant.accounts.v1beta.HomepageService"
1380 }
1381 }
1382 },
1383 "origin": "API_DEFINITION",
1384 "segments": [
1385 {
1386 "start": 18,
1387 "end": 53,
1388 "type": "FULL"
1389 }
1390 ]
1391 },
1392 {
1393 "regionTag": "merchantapi_v1beta_generated_LfpProvidersService_FindLfpProviders_sync",
1394 "title": "merchantapi FindLfpProviders Sample",
1395 "description": "FindLfpProviders find the LFP provider candidates in a given country.",
1396 "file": "LfpProvidersClient/FindLfpProviders/main.go",
1397 "language": "GO",
1398 "clientMethod": {
1399 "shortName": "FindLfpProviders",
1400 "fullName": "google.shopping.merchant.accounts.v1beta.LfpProvidersClient.FindLfpProviders",
1401 "parameters": [
1402 {
1403 "type": "context.Context",
1404 "name": "ctx"
1405 },
1406 {
1407 "type": "accountspb.FindLfpProvidersRequest",
1408 "name": "req"
1409 },
1410 {
1411 "type": "...gax.CallOption",
1412 "name": "opts"
1413 }
1414 ],
1415 "resultType": "LfpProviderIterator",
1416 "client": {
1417 "shortName": "LfpProvidersClient",
1418 "fullName": "google.shopping.merchant.accounts.v1beta.LfpProvidersClient"
1419 },
1420 "method": {
1421 "shortName": "FindLfpProviders",
1422 "fullName": "google.shopping.merchant.accounts.v1beta.LfpProvidersService.FindLfpProviders",
1423 "service": {
1424 "shortName": "LfpProvidersService",
1425 "fullName": "google.shopping.merchant.accounts.v1beta.LfpProvidersService"
1426 }
1427 }
1428 },
1429 "origin": "API_DEFINITION",
1430 "segments": [
1431 {
1432 "start": 18,
1433 "end": 66,
1434 "type": "FULL"
1435 }
1436 ]
1437 },
1438 {
1439 "regionTag": "merchantapi_v1beta_generated_LfpProvidersService_LinkLfpProvider_sync",
1440 "title": "merchantapi LinkLfpProvider Sample",
1441 "description": "LinkLfpProvider link the specified merchant to a LFP provider for the specified country.",
1442 "file": "LfpProvidersClient/LinkLfpProvider/main.go",
1443 "language": "GO",
1444 "clientMethod": {
1445 "shortName": "LinkLfpProvider",
1446 "fullName": "google.shopping.merchant.accounts.v1beta.LfpProvidersClient.LinkLfpProvider",
1447 "parameters": [
1448 {
1449 "type": "context.Context",
1450 "name": "ctx"
1451 },
1452 {
1453 "type": "accountspb.LinkLfpProviderRequest",
1454 "name": "req"
1455 },
1456 {
1457 "type": "...gax.CallOption",
1458 "name": "opts"
1459 }
1460 ],
1461 "resultType": "*accountspb.LinkLfpProviderResponse",
1462 "client": {
1463 "shortName": "LfpProvidersClient",
1464 "fullName": "google.shopping.merchant.accounts.v1beta.LfpProvidersClient"
1465 },
1466 "method": {
1467 "shortName": "LinkLfpProvider",
1468 "fullName": "google.shopping.merchant.accounts.v1beta.LfpProvidersService.LinkLfpProvider",
1469 "service": {
1470 "shortName": "LfpProvidersService",
1471 "fullName": "google.shopping.merchant.accounts.v1beta.LfpProvidersService"
1472 }
1473 }
1474 },
1475 "origin": "API_DEFINITION",
1476 "segments": [
1477 {
1478 "start": 18,
1479 "end": 53,
1480 "type": "FULL"
1481 }
1482 ]
1483 },
1484 {
1485 "regionTag": "merchantapi_v1beta_generated_OmnichannelSettingsService_CreateOmnichannelSetting_sync",
1486 "title": "merchantapi CreateOmnichannelSetting Sample",
1487 "description": "CreateOmnichannelSetting create the omnichannel settings for a given merchant.",
1488 "file": "OmnichannelSettingsClient/CreateOmnichannelSetting/main.go",
1489 "language": "GO",
1490 "clientMethod": {
1491 "shortName": "CreateOmnichannelSetting",
1492 "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsClient.CreateOmnichannelSetting",
1493 "parameters": [
1494 {
1495 "type": "context.Context",
1496 "name": "ctx"
1497 },
1498 {
1499 "type": "accountspb.CreateOmnichannelSettingRequest",
1500 "name": "req"
1501 },
1502 {
1503 "type": "...gax.CallOption",
1504 "name": "opts"
1505 }
1506 ],
1507 "resultType": "*accountspb.OmnichannelSetting",
1508 "client": {
1509 "shortName": "OmnichannelSettingsClient",
1510 "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsClient"
1511 },
1512 "method": {
1513 "shortName": "CreateOmnichannelSetting",
1514 "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService.CreateOmnichannelSetting",
1515 "service": {
1516 "shortName": "OmnichannelSettingsService",
1517 "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService"
1518 }
1519 }
1520 },
1521 "origin": "API_DEFINITION",
1522 "segments": [
1523 {
1524 "start": 18,
1525 "end": 53,
1526 "type": "FULL"
1527 }
1528 ]
1529 },
1530 {
1531 "regionTag": "merchantapi_v1beta_generated_OmnichannelSettingsService_GetOmnichannelSetting_sync",
1532 "title": "merchantapi GetOmnichannelSetting Sample",
1533 "description": "GetOmnichannelSetting get the omnichannel settings for a given merchant.",
1534 "file": "OmnichannelSettingsClient/GetOmnichannelSetting/main.go",
1535 "language": "GO",
1536 "clientMethod": {
1537 "shortName": "GetOmnichannelSetting",
1538 "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsClient.GetOmnichannelSetting",
1539 "parameters": [
1540 {
1541 "type": "context.Context",
1542 "name": "ctx"
1543 },
1544 {
1545 "type": "accountspb.GetOmnichannelSettingRequest",
1546 "name": "req"
1547 },
1548 {
1549 "type": "...gax.CallOption",
1550 "name": "opts"
1551 }
1552 ],
1553 "resultType": "*accountspb.OmnichannelSetting",
1554 "client": {
1555 "shortName": "OmnichannelSettingsClient",
1556 "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsClient"
1557 },
1558 "method": {
1559 "shortName": "GetOmnichannelSetting",
1560 "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService.GetOmnichannelSetting",
1561 "service": {
1562 "shortName": "OmnichannelSettingsService",
1563 "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService"
1564 }
1565 }
1566 },
1567 "origin": "API_DEFINITION",
1568 "segments": [
1569 {
1570 "start": 18,
1571 "end": 53,
1572 "type": "FULL"
1573 }
1574 ]
1575 },
1576 {
1577 "regionTag": "merchantapi_v1beta_generated_OmnichannelSettingsService_ListOmnichannelSettings_sync",
1578 "title": "merchantapi ListOmnichannelSettings Sample",
1579 "description": "ListOmnichannelSettings list all the omnichannel settings for a given merchant.",
1580 "file": "OmnichannelSettingsClient/ListOmnichannelSettings/main.go",
1581 "language": "GO",
1582 "clientMethod": {
1583 "shortName": "ListOmnichannelSettings",
1584 "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsClient.ListOmnichannelSettings",
1585 "parameters": [
1586 {
1587 "type": "context.Context",
1588 "name": "ctx"
1589 },
1590 {
1591 "type": "accountspb.ListOmnichannelSettingsRequest",
1592 "name": "req"
1593 },
1594 {
1595 "type": "...gax.CallOption",
1596 "name": "opts"
1597 }
1598 ],
1599 "resultType": "OmnichannelSettingIterator",
1600 "client": {
1601 "shortName": "OmnichannelSettingsClient",
1602 "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsClient"
1603 },
1604 "method": {
1605 "shortName": "ListOmnichannelSettings",
1606 "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService.ListOmnichannelSettings",
1607 "service": {
1608 "shortName": "OmnichannelSettingsService",
1609 "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService"
1610 }
1611 }
1612 },
1613 "origin": "API_DEFINITION",
1614 "segments": [
1615 {
1616 "start": 18,
1617 "end": 66,
1618 "type": "FULL"
1619 }
1620 ]
1621 },
1622 {
1623 "regionTag": "merchantapi_v1beta_generated_OmnichannelSettingsService_RequestInventoryVerification_sync",
1624 "title": "merchantapi RequestInventoryVerification Sample",
1625 "description": "RequestInventoryVerification requests inventory verification for a given merchant in a given country.",
1626 "file": "OmnichannelSettingsClient/RequestInventoryVerification/main.go",
1627 "language": "GO",
1628 "clientMethod": {
1629 "shortName": "RequestInventoryVerification",
1630 "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsClient.RequestInventoryVerification",
1631 "parameters": [
1632 {
1633 "type": "context.Context",
1634 "name": "ctx"
1635 },
1636 {
1637 "type": "accountspb.RequestInventoryVerificationRequest",
1638 "name": "req"
1639 },
1640 {
1641 "type": "...gax.CallOption",
1642 "name": "opts"
1643 }
1644 ],
1645 "resultType": "*accountspb.RequestInventoryVerificationResponse",
1646 "client": {
1647 "shortName": "OmnichannelSettingsClient",
1648 "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsClient"
1649 },
1650 "method": {
1651 "shortName": "RequestInventoryVerification",
1652 "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService.RequestInventoryVerification",
1653 "service": {
1654 "shortName": "OmnichannelSettingsService",
1655 "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService"
1656 }
1657 }
1658 },
1659 "origin": "API_DEFINITION",
1660 "segments": [
1661 {
1662 "start": 18,
1663 "end": 53,
1664 "type": "FULL"
1665 }
1666 ]
1667 },
1668 {
1669 "regionTag": "merchantapi_v1beta_generated_OmnichannelSettingsService_UpdateOmnichannelSetting_sync",
1670 "title": "merchantapi UpdateOmnichannelSetting Sample",
1671 "description": "UpdateOmnichannelSetting update the omnichannel setting for a given merchant in a given country.",
1672 "file": "OmnichannelSettingsClient/UpdateOmnichannelSetting/main.go",
1673 "language": "GO",
1674 "clientMethod": {
1675 "shortName": "UpdateOmnichannelSetting",
1676 "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsClient.UpdateOmnichannelSetting",
1677 "parameters": [
1678 {
1679 "type": "context.Context",
1680 "name": "ctx"
1681 },
1682 {
1683 "type": "accountspb.UpdateOmnichannelSettingRequest",
1684 "name": "req"
1685 },
1686 {
1687 "type": "...gax.CallOption",
1688 "name": "opts"
1689 }
1690 ],
1691 "resultType": "*accountspb.OmnichannelSetting",
1692 "client": {
1693 "shortName": "OmnichannelSettingsClient",
1694 "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsClient"
1695 },
1696 "method": {
1697 "shortName": "UpdateOmnichannelSetting",
1698 "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService.UpdateOmnichannelSetting",
1699 "service": {
1700 "shortName": "OmnichannelSettingsService",
1701 "fullName": "google.shopping.merchant.accounts.v1beta.OmnichannelSettingsService"
1702 }
1703 }
1704 },
1705 "origin": "API_DEFINITION",
1706 "segments": [
1707 {
1708 "start": 18,
1709 "end": 53,
1710 "type": "FULL"
1711 }
1712 ]
1713 },
1714 {
1715 "regionTag": "merchantapi_v1beta_generated_OnlineReturnPolicyService_CreateOnlineReturnPolicy_sync",
1716 "title": "merchantapi CreateOnlineReturnPolicy Sample",
1717 "description": "CreateOnlineReturnPolicy creates a new return policy for a given merchant.",
1718 "file": "OnlineReturnPolicyClient/CreateOnlineReturnPolicy/main.go",
1719 "language": "GO",
1720 "clientMethod": {
1721 "shortName": "CreateOnlineReturnPolicy",
1722 "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyClient.CreateOnlineReturnPolicy",
1723 "parameters": [
1724 {
1725 "type": "context.Context",
1726 "name": "ctx"
1727 },
1728 {
1729 "type": "accountspb.CreateOnlineReturnPolicyRequest",
1730 "name": "req"
1731 },
1732 {
1733 "type": "...gax.CallOption",
1734 "name": "opts"
1735 }
1736 ],
1737 "resultType": "*accountspb.OnlineReturnPolicy",
1738 "client": {
1739 "shortName": "OnlineReturnPolicyClient",
1740 "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyClient"
1741 },
1742 "method": {
1743 "shortName": "CreateOnlineReturnPolicy",
1744 "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyService.CreateOnlineReturnPolicy",
1745 "service": {
1746 "shortName": "OnlineReturnPolicyService",
1747 "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyService"
1748 }
1749 }
1750 },
1751 "origin": "API_DEFINITION",
1752 "segments": [
1753 {
1754 "start": 18,
1755 "end": 53,
1756 "type": "FULL"
1757 }
1758 ]
1759 },
1760 {
1761 "regionTag": "merchantapi_v1beta_generated_OnlineReturnPolicyService_DeleteOnlineReturnPolicy_sync",
1762 "title": "merchantapi DeleteOnlineReturnPolicy Sample",
1763 "description": "DeleteOnlineReturnPolicy deletes an existing return policy.",
1764 "file": "OnlineReturnPolicyClient/DeleteOnlineReturnPolicy/main.go",
1765 "language": "GO",
1766 "clientMethod": {
1767 "shortName": "DeleteOnlineReturnPolicy",
1768 "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyClient.DeleteOnlineReturnPolicy",
1769 "parameters": [
1770 {
1771 "type": "context.Context",
1772 "name": "ctx"
1773 },
1774 {
1775 "type": "accountspb.DeleteOnlineReturnPolicyRequest",
1776 "name": "req"
1777 },
1778 {
1779 "type": "...gax.CallOption",
1780 "name": "opts"
1781 }
1782 ],
1783 "client": {
1784 "shortName": "OnlineReturnPolicyClient",
1785 "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyClient"
1786 },
1787 "method": {
1788 "shortName": "DeleteOnlineReturnPolicy",
1789 "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyService.DeleteOnlineReturnPolicy",
1790 "service": {
1791 "shortName": "OnlineReturnPolicyService",
1792 "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyService"
1793 }
1794 }
1795 },
1796 "origin": "API_DEFINITION",
1797 "segments": [
1798 {
1799 "start": 18,
1800 "end": 51,
1801 "type": "FULL"
1802 }
1803 ]
1804 },
1805 {
1806 "regionTag": "merchantapi_v1beta_generated_OnlineReturnPolicyService_GetOnlineReturnPolicy_sync",
1807 "title": "merchantapi GetOnlineReturnPolicy Sample",
1808 "description": "GetOnlineReturnPolicy gets an existing return policy for a given merchant.",
1809 "file": "OnlineReturnPolicyClient/GetOnlineReturnPolicy/main.go",
1810 "language": "GO",
1811 "clientMethod": {
1812 "shortName": "GetOnlineReturnPolicy",
1813 "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyClient.GetOnlineReturnPolicy",
1814 "parameters": [
1815 {
1816 "type": "context.Context",
1817 "name": "ctx"
1818 },
1819 {
1820 "type": "accountspb.GetOnlineReturnPolicyRequest",
1821 "name": "req"
1822 },
1823 {
1824 "type": "...gax.CallOption",
1825 "name": "opts"
1826 }
1827 ],
1828 "resultType": "*accountspb.OnlineReturnPolicy",
1829 "client": {
1830 "shortName": "OnlineReturnPolicyClient",
1831 "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyClient"
1832 },
1833 "method": {
1834 "shortName": "GetOnlineReturnPolicy",
1835 "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyService.GetOnlineReturnPolicy",
1836 "service": {
1837 "shortName": "OnlineReturnPolicyService",
1838 "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyService"
1839 }
1840 }
1841 },
1842 "origin": "API_DEFINITION",
1843 "segments": [
1844 {
1845 "start": 18,
1846 "end": 53,
1847 "type": "FULL"
1848 }
1849 ]
1850 },
1851 {
1852 "regionTag": "merchantapi_v1beta_generated_OnlineReturnPolicyService_ListOnlineReturnPolicies_sync",
1853 "title": "merchantapi ListOnlineReturnPolicies Sample",
1854 "description": "ListOnlineReturnPolicies lists all existing return policies for a given merchant.",
1855 "file": "OnlineReturnPolicyClient/ListOnlineReturnPolicies/main.go",
1856 "language": "GO",
1857 "clientMethod": {
1858 "shortName": "ListOnlineReturnPolicies",
1859 "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyClient.ListOnlineReturnPolicies",
1860 "parameters": [
1861 {
1862 "type": "context.Context",
1863 "name": "ctx"
1864 },
1865 {
1866 "type": "accountspb.ListOnlineReturnPoliciesRequest",
1867 "name": "req"
1868 },
1869 {
1870 "type": "...gax.CallOption",
1871 "name": "opts"
1872 }
1873 ],
1874 "resultType": "OnlineReturnPolicyIterator",
1875 "client": {
1876 "shortName": "OnlineReturnPolicyClient",
1877 "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyClient"
1878 },
1879 "method": {
1880 "shortName": "ListOnlineReturnPolicies",
1881 "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyService.ListOnlineReturnPolicies",
1882 "service": {
1883 "shortName": "OnlineReturnPolicyService",
1884 "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyService"
1885 }
1886 }
1887 },
1888 "origin": "API_DEFINITION",
1889 "segments": [
1890 {
1891 "start": 18,
1892 "end": 66,
1893 "type": "FULL"
1894 }
1895 ]
1896 },
1897 {
1898 "regionTag": "merchantapi_v1beta_generated_OnlineReturnPolicyService_UpdateOnlineReturnPolicy_sync",
1899 "title": "merchantapi UpdateOnlineReturnPolicy Sample",
1900 "description": "UpdateOnlineReturnPolicy updates an existing return policy for a given merchant.",
1901 "file": "OnlineReturnPolicyClient/UpdateOnlineReturnPolicy/main.go",
1902 "language": "GO",
1903 "clientMethod": {
1904 "shortName": "UpdateOnlineReturnPolicy",
1905 "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyClient.UpdateOnlineReturnPolicy",
1906 "parameters": [
1907 {
1908 "type": "context.Context",
1909 "name": "ctx"
1910 },
1911 {
1912 "type": "accountspb.UpdateOnlineReturnPolicyRequest",
1913 "name": "req"
1914 },
1915 {
1916 "type": "...gax.CallOption",
1917 "name": "opts"
1918 }
1919 ],
1920 "resultType": "*accountspb.OnlineReturnPolicy",
1921 "client": {
1922 "shortName": "OnlineReturnPolicyClient",
1923 "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyClient"
1924 },
1925 "method": {
1926 "shortName": "UpdateOnlineReturnPolicy",
1927 "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyService.UpdateOnlineReturnPolicy",
1928 "service": {
1929 "shortName": "OnlineReturnPolicyService",
1930 "fullName": "google.shopping.merchant.accounts.v1beta.OnlineReturnPolicyService"
1931 }
1932 }
1933 },
1934 "origin": "API_DEFINITION",
1935 "segments": [
1936 {
1937 "start": 18,
1938 "end": 53,
1939 "type": "FULL"
1940 }
1941 ]
1942 },
1943 {
1944 "regionTag": "merchantapi_v1beta_generated_ProgramsService_DisableProgram_sync",
1945 "title": "merchantapi DisableProgram Sample",
1946 "description": "DisableProgram disable participation in the specified program for the account. Executing\nthis method requires admin access.",
1947 "file": "ProgramsClient/DisableProgram/main.go",
1948 "language": "GO",
1949 "clientMethod": {
1950 "shortName": "DisableProgram",
1951 "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsClient.DisableProgram",
1952 "parameters": [
1953 {
1954 "type": "context.Context",
1955 "name": "ctx"
1956 },
1957 {
1958 "type": "accountspb.DisableProgramRequest",
1959 "name": "req"
1960 },
1961 {
1962 "type": "...gax.CallOption",
1963 "name": "opts"
1964 }
1965 ],
1966 "resultType": "*accountspb.Program",
1967 "client": {
1968 "shortName": "ProgramsClient",
1969 "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsClient"
1970 },
1971 "method": {
1972 "shortName": "DisableProgram",
1973 "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsService.DisableProgram",
1974 "service": {
1975 "shortName": "ProgramsService",
1976 "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsService"
1977 }
1978 }
1979 },
1980 "origin": "API_DEFINITION",
1981 "segments": [
1982 {
1983 "start": 18,
1984 "end": 53,
1985 "type": "FULL"
1986 }
1987 ]
1988 },
1989 {
1990 "regionTag": "merchantapi_v1beta_generated_ProgramsService_EnableProgram_sync",
1991 "title": "merchantapi EnableProgram Sample",
1992 "description": "EnableProgram enable participation in the specified program for the account. Executing\nthis method requires admin access.",
1993 "file": "ProgramsClient/EnableProgram/main.go",
1994 "language": "GO",
1995 "clientMethod": {
1996 "shortName": "EnableProgram",
1997 "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsClient.EnableProgram",
1998 "parameters": [
1999 {
2000 "type": "context.Context",
2001 "name": "ctx"
2002 },
2003 {
2004 "type": "accountspb.EnableProgramRequest",
2005 "name": "req"
2006 },
2007 {
2008 "type": "...gax.CallOption",
2009 "name": "opts"
2010 }
2011 ],
2012 "resultType": "*accountspb.Program",
2013 "client": {
2014 "shortName": "ProgramsClient",
2015 "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsClient"
2016 },
2017 "method": {
2018 "shortName": "EnableProgram",
2019 "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsService.EnableProgram",
2020 "service": {
2021 "shortName": "ProgramsService",
2022 "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsService"
2023 }
2024 }
2025 },
2026 "origin": "API_DEFINITION",
2027 "segments": [
2028 {
2029 "start": 18,
2030 "end": 53,
2031 "type": "FULL"
2032 }
2033 ]
2034 },
2035 {
2036 "regionTag": "merchantapi_v1beta_generated_ProgramsService_GetProgram_sync",
2037 "title": "merchantapi GetProgram Sample",
2038 "description": "GetProgram retrieves the specified program for the account.",
2039 "file": "ProgramsClient/GetProgram/main.go",
2040 "language": "GO",
2041 "clientMethod": {
2042 "shortName": "GetProgram",
2043 "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsClient.GetProgram",
2044 "parameters": [
2045 {
2046 "type": "context.Context",
2047 "name": "ctx"
2048 },
2049 {
2050 "type": "accountspb.GetProgramRequest",
2051 "name": "req"
2052 },
2053 {
2054 "type": "...gax.CallOption",
2055 "name": "opts"
2056 }
2057 ],
2058 "resultType": "*accountspb.Program",
2059 "client": {
2060 "shortName": "ProgramsClient",
2061 "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsClient"
2062 },
2063 "method": {
2064 "shortName": "GetProgram",
2065 "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsService.GetProgram",
2066 "service": {
2067 "shortName": "ProgramsService",
2068 "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsService"
2069 }
2070 }
2071 },
2072 "origin": "API_DEFINITION",
2073 "segments": [
2074 {
2075 "start": 18,
2076 "end": 53,
2077 "type": "FULL"
2078 }
2079 ]
2080 },
2081 {
2082 "regionTag": "merchantapi_v1beta_generated_ProgramsService_ListPrograms_sync",
2083 "title": "merchantapi ListPrograms Sample",
2084 "description": "ListPrograms retrieves all programs for the account.",
2085 "file": "ProgramsClient/ListPrograms/main.go",
2086 "language": "GO",
2087 "clientMethod": {
2088 "shortName": "ListPrograms",
2089 "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsClient.ListPrograms",
2090 "parameters": [
2091 {
2092 "type": "context.Context",
2093 "name": "ctx"
2094 },
2095 {
2096 "type": "accountspb.ListProgramsRequest",
2097 "name": "req"
2098 },
2099 {
2100 "type": "...gax.CallOption",
2101 "name": "opts"
2102 }
2103 ],
2104 "resultType": "ProgramIterator",
2105 "client": {
2106 "shortName": "ProgramsClient",
2107 "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsClient"
2108 },
2109 "method": {
2110 "shortName": "ListPrograms",
2111 "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsService.ListPrograms",
2112 "service": {
2113 "shortName": "ProgramsService",
2114 "fullName": "google.shopping.merchant.accounts.v1beta.ProgramsService"
2115 }
2116 }
2117 },
2118 "origin": "API_DEFINITION",
2119 "segments": [
2120 {
2121 "start": 18,
2122 "end": 66,
2123 "type": "FULL"
2124 }
2125 ]
2126 },
2127 {
2128 "regionTag": "merchantapi_v1beta_generated_RegionsService_CreateRegion_sync",
2129 "title": "merchantapi CreateRegion Sample",
2130 "description": "CreateRegion creates a region definition in your Merchant Center account. Executing this\nmethod requires admin access.",
2131 "file": "RegionsClient/CreateRegion/main.go",
2132 "language": "GO",
2133 "clientMethod": {
2134 "shortName": "CreateRegion",
2135 "fullName": "google.shopping.merchant.accounts.v1beta.RegionsClient.CreateRegion",
2136 "parameters": [
2137 {
2138 "type": "context.Context",
2139 "name": "ctx"
2140 },
2141 {
2142 "type": "accountspb.CreateRegionRequest",
2143 "name": "req"
2144 },
2145 {
2146 "type": "...gax.CallOption",
2147 "name": "opts"
2148 }
2149 ],
2150 "resultType": "*accountspb.Region",
2151 "client": {
2152 "shortName": "RegionsClient",
2153 "fullName": "google.shopping.merchant.accounts.v1beta.RegionsClient"
2154 },
2155 "method": {
2156 "shortName": "CreateRegion",
2157 "fullName": "google.shopping.merchant.accounts.v1beta.RegionsService.CreateRegion",
2158 "service": {
2159 "shortName": "RegionsService",
2160 "fullName": "google.shopping.merchant.accounts.v1beta.RegionsService"
2161 }
2162 }
2163 },
2164 "origin": "API_DEFINITION",
2165 "segments": [
2166 {
2167 "start": 18,
2168 "end": 53,
2169 "type": "FULL"
2170 }
2171 ]
2172 },
2173 {
2174 "regionTag": "merchantapi_v1beta_generated_RegionsService_DeleteRegion_sync",
2175 "title": "merchantapi DeleteRegion Sample",
2176 "description": "DeleteRegion deletes a region definition from your Merchant Center account. Executing\nthis method requires admin access.",
2177 "file": "RegionsClient/DeleteRegion/main.go",
2178 "language": "GO",
2179 "clientMethod": {
2180 "shortName": "DeleteRegion",
2181 "fullName": "google.shopping.merchant.accounts.v1beta.RegionsClient.DeleteRegion",
2182 "parameters": [
2183 {
2184 "type": "context.Context",
2185 "name": "ctx"
2186 },
2187 {
2188 "type": "accountspb.DeleteRegionRequest",
2189 "name": "req"
2190 },
2191 {
2192 "type": "...gax.CallOption",
2193 "name": "opts"
2194 }
2195 ],
2196 "client": {
2197 "shortName": "RegionsClient",
2198 "fullName": "google.shopping.merchant.accounts.v1beta.RegionsClient"
2199 },
2200 "method": {
2201 "shortName": "DeleteRegion",
2202 "fullName": "google.shopping.merchant.accounts.v1beta.RegionsService.DeleteRegion",
2203 "service": {
2204 "shortName": "RegionsService",
2205 "fullName": "google.shopping.merchant.accounts.v1beta.RegionsService"
2206 }
2207 }
2208 },
2209 "origin": "API_DEFINITION",
2210 "segments": [
2211 {
2212 "start": 18,
2213 "end": 51,
2214 "type": "FULL"
2215 }
2216 ]
2217 },
2218 {
2219 "regionTag": "merchantapi_v1beta_generated_RegionsService_GetRegion_sync",
2220 "title": "merchantapi GetRegion Sample",
2221 "description": "GetRegion retrieves a region defined in your Merchant Center account.",
2222 "file": "RegionsClient/GetRegion/main.go",
2223 "language": "GO",
2224 "clientMethod": {
2225 "shortName": "GetRegion",
2226 "fullName": "google.shopping.merchant.accounts.v1beta.RegionsClient.GetRegion",
2227 "parameters": [
2228 {
2229 "type": "context.Context",
2230 "name": "ctx"
2231 },
2232 {
2233 "type": "accountspb.GetRegionRequest",
2234 "name": "req"
2235 },
2236 {
2237 "type": "...gax.CallOption",
2238 "name": "opts"
2239 }
2240 ],
2241 "resultType": "*accountspb.Region",
2242 "client": {
2243 "shortName": "RegionsClient",
2244 "fullName": "google.shopping.merchant.accounts.v1beta.RegionsClient"
2245 },
2246 "method": {
2247 "shortName": "GetRegion",
2248 "fullName": "google.shopping.merchant.accounts.v1beta.RegionsService.GetRegion",
2249 "service": {
2250 "shortName": "RegionsService",
2251 "fullName": "google.shopping.merchant.accounts.v1beta.RegionsService"
2252 }
2253 }
2254 },
2255 "origin": "API_DEFINITION",
2256 "segments": [
2257 {
2258 "start": 18,
2259 "end": 53,
2260 "type": "FULL"
2261 }
2262 ]
2263 },
2264 {
2265 "regionTag": "merchantapi_v1beta_generated_RegionsService_ListRegions_sync",
2266 "title": "merchantapi ListRegions Sample",
2267 "description": "ListRegions lists the regions in your Merchant Center account.",
2268 "file": "RegionsClient/ListRegions/main.go",
2269 "language": "GO",
2270 "clientMethod": {
2271 "shortName": "ListRegions",
2272 "fullName": "google.shopping.merchant.accounts.v1beta.RegionsClient.ListRegions",
2273 "parameters": [
2274 {
2275 "type": "context.Context",
2276 "name": "ctx"
2277 },
2278 {
2279 "type": "accountspb.ListRegionsRequest",
2280 "name": "req"
2281 },
2282 {
2283 "type": "...gax.CallOption",
2284 "name": "opts"
2285 }
2286 ],
2287 "resultType": "RegionIterator",
2288 "client": {
2289 "shortName": "RegionsClient",
2290 "fullName": "google.shopping.merchant.accounts.v1beta.RegionsClient"
2291 },
2292 "method": {
2293 "shortName": "ListRegions",
2294 "fullName": "google.shopping.merchant.accounts.v1beta.RegionsService.ListRegions",
2295 "service": {
2296 "shortName": "RegionsService",
2297 "fullName": "google.shopping.merchant.accounts.v1beta.RegionsService"
2298 }
2299 }
2300 },
2301 "origin": "API_DEFINITION",
2302 "segments": [
2303 {
2304 "start": 18,
2305 "end": 66,
2306 "type": "FULL"
2307 }
2308 ]
2309 },
2310 {
2311 "regionTag": "merchantapi_v1beta_generated_RegionsService_UpdateRegion_sync",
2312 "title": "merchantapi UpdateRegion Sample",
2313 "description": "UpdateRegion updates a region definition in your Merchant Center account. Executing this\nmethod requires admin access.",
2314 "file": "RegionsClient/UpdateRegion/main.go",
2315 "language": "GO",
2316 "clientMethod": {
2317 "shortName": "UpdateRegion",
2318 "fullName": "google.shopping.merchant.accounts.v1beta.RegionsClient.UpdateRegion",
2319 "parameters": [
2320 {
2321 "type": "context.Context",
2322 "name": "ctx"
2323 },
2324 {
2325 "type": "accountspb.UpdateRegionRequest",
2326 "name": "req"
2327 },
2328 {
2329 "type": "...gax.CallOption",
2330 "name": "opts"
2331 }
2332 ],
2333 "resultType": "*accountspb.Region",
2334 "client": {
2335 "shortName": "RegionsClient",
2336 "fullName": "google.shopping.merchant.accounts.v1beta.RegionsClient"
2337 },
2338 "method": {
2339 "shortName": "UpdateRegion",
2340 "fullName": "google.shopping.merchant.accounts.v1beta.RegionsService.UpdateRegion",
2341 "service": {
2342 "shortName": "RegionsService",
2343 "fullName": "google.shopping.merchant.accounts.v1beta.RegionsService"
2344 }
2345 }
2346 },
2347 "origin": "API_DEFINITION",
2348 "segments": [
2349 {
2350 "start": 18,
2351 "end": 53,
2352 "type": "FULL"
2353 }
2354 ]
2355 },
2356 {
2357 "regionTag": "merchantapi_v1beta_generated_ShippingSettingsService_GetShippingSettings_sync",
2358 "title": "merchantapi GetShippingSettings Sample",
2359 "description": "GetShippingSettings retrieve shipping setting information.",
2360 "file": "ShippingSettingsClient/GetShippingSettings/main.go",
2361 "language": "GO",
2362 "clientMethod": {
2363 "shortName": "GetShippingSettings",
2364 "fullName": "google.shopping.merchant.accounts.v1beta.ShippingSettingsClient.GetShippingSettings",
2365 "parameters": [
2366 {
2367 "type": "context.Context",
2368 "name": "ctx"
2369 },
2370 {
2371 "type": "accountspb.GetShippingSettingsRequest",
2372 "name": "req"
2373 },
2374 {
2375 "type": "...gax.CallOption",
2376 "name": "opts"
2377 }
2378 ],
2379 "resultType": "*accountspb.ShippingSettings",
2380 "client": {
2381 "shortName": "ShippingSettingsClient",
2382 "fullName": "google.shopping.merchant.accounts.v1beta.ShippingSettingsClient"
2383 },
2384 "method": {
2385 "shortName": "GetShippingSettings",
2386 "fullName": "google.shopping.merchant.accounts.v1beta.ShippingSettingsService.GetShippingSettings",
2387 "service": {
2388 "shortName": "ShippingSettingsService",
2389 "fullName": "google.shopping.merchant.accounts.v1beta.ShippingSettingsService"
2390 }
2391 }
2392 },
2393 "origin": "API_DEFINITION",
2394 "segments": [
2395 {
2396 "start": 18,
2397 "end": 53,
2398 "type": "FULL"
2399 }
2400 ]
2401 },
2402 {
2403 "regionTag": "merchantapi_v1beta_generated_ShippingSettingsService_InsertShippingSettings_sync",
2404 "title": "merchantapi InsertShippingSettings Sample",
2405 "description": "InsertShippingSettings replace the shipping setting of a merchant with the request shipping\nsetting. Executing this method requires admin access.",
2406 "file": "ShippingSettingsClient/InsertShippingSettings/main.go",
2407 "language": "GO",
2408 "clientMethod": {
2409 "shortName": "InsertShippingSettings",
2410 "fullName": "google.shopping.merchant.accounts.v1beta.ShippingSettingsClient.InsertShippingSettings",
2411 "parameters": [
2412 {
2413 "type": "context.Context",
2414 "name": "ctx"
2415 },
2416 {
2417 "type": "accountspb.InsertShippingSettingsRequest",
2418 "name": "req"
2419 },
2420 {
2421 "type": "...gax.CallOption",
2422 "name": "opts"
2423 }
2424 ],
2425 "resultType": "*accountspb.ShippingSettings",
2426 "client": {
2427 "shortName": "ShippingSettingsClient",
2428 "fullName": "google.shopping.merchant.accounts.v1beta.ShippingSettingsClient"
2429 },
2430 "method": {
2431 "shortName": "InsertShippingSettings",
2432 "fullName": "google.shopping.merchant.accounts.v1beta.ShippingSettingsService.InsertShippingSettings",
2433 "service": {
2434 "shortName": "ShippingSettingsService",
2435 "fullName": "google.shopping.merchant.accounts.v1beta.ShippingSettingsService"
2436 }
2437 }
2438 },
2439 "origin": "API_DEFINITION",
2440 "segments": [
2441 {
2442 "start": 18,
2443 "end": 53,
2444 "type": "FULL"
2445 }
2446 ]
2447 },
2448 {
2449 "regionTag": "merchantapi_v1beta_generated_TermsOfServiceAgreementStateService_GetTermsOfServiceAgreementState_sync",
2450 "title": "merchantapi GetTermsOfServiceAgreementState Sample",
2451 "description": "GetTermsOfServiceAgreementState returns the state of a terms of service agreement.",
2452 "file": "TermsOfServiceAgreementStateClient/GetTermsOfServiceAgreementState/main.go",
2453 "language": "GO",
2454 "clientMethod": {
2455 "shortName": "GetTermsOfServiceAgreementState",
2456 "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementStateClient.GetTermsOfServiceAgreementState",
2457 "parameters": [
2458 {
2459 "type": "context.Context",
2460 "name": "ctx"
2461 },
2462 {
2463 "type": "accountspb.GetTermsOfServiceAgreementStateRequest",
2464 "name": "req"
2465 },
2466 {
2467 "type": "...gax.CallOption",
2468 "name": "opts"
2469 }
2470 ],
2471 "resultType": "*accountspb.TermsOfServiceAgreementState",
2472 "client": {
2473 "shortName": "TermsOfServiceAgreementStateClient",
2474 "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementStateClient"
2475 },
2476 "method": {
2477 "shortName": "GetTermsOfServiceAgreementState",
2478 "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementStateService.GetTermsOfServiceAgreementState",
2479 "service": {
2480 "shortName": "TermsOfServiceAgreementStateService",
2481 "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementStateService"
2482 }
2483 }
2484 },
2485 "origin": "API_DEFINITION",
2486 "segments": [
2487 {
2488 "start": 18,
2489 "end": 53,
2490 "type": "FULL"
2491 }
2492 ]
2493 },
2494 {
2495 "regionTag": "merchantapi_v1beta_generated_TermsOfServiceAgreementStateService_RetrieveForApplicationTermsOfServiceAgreementState_sync",
2496 "title": "merchantapi RetrieveForApplicationTermsOfServiceAgreementState Sample",
2497 "description": "RetrieveForApplicationTermsOfServiceAgreementState retrieves the state of the agreement for the application terms of service.",
2498 "file": "TermsOfServiceAgreementStateClient/RetrieveForApplicationTermsOfServiceAgreementState/main.go",
2499 "language": "GO",
2500 "clientMethod": {
2501 "shortName": "RetrieveForApplicationTermsOfServiceAgreementState",
2502 "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementStateClient.RetrieveForApplicationTermsOfServiceAgreementState",
2503 "parameters": [
2504 {
2505 "type": "context.Context",
2506 "name": "ctx"
2507 },
2508 {
2509 "type": "accountspb.RetrieveForApplicationTermsOfServiceAgreementStateRequest",
2510 "name": "req"
2511 },
2512 {
2513 "type": "...gax.CallOption",
2514 "name": "opts"
2515 }
2516 ],
2517 "resultType": "*accountspb.TermsOfServiceAgreementState",
2518 "client": {
2519 "shortName": "TermsOfServiceAgreementStateClient",
2520 "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementStateClient"
2521 },
2522 "method": {
2523 "shortName": "RetrieveForApplicationTermsOfServiceAgreementState",
2524 "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementStateService.RetrieveForApplicationTermsOfServiceAgreementState",
2525 "service": {
2526 "shortName": "TermsOfServiceAgreementStateService",
2527 "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceAgreementStateService"
2528 }
2529 }
2530 },
2531 "origin": "API_DEFINITION",
2532 "segments": [
2533 {
2534 "start": 18,
2535 "end": 53,
2536 "type": "FULL"
2537 }
2538 ]
2539 },
2540 {
2541 "regionTag": "merchantapi_v1beta_generated_TermsOfServiceService_AcceptTermsOfService_sync",
2542 "title": "merchantapi AcceptTermsOfService Sample",
2543 "description": "AcceptTermsOfService accepts a `TermsOfService`. Executing this method requires admin access.",
2544 "file": "TermsOfServiceClient/AcceptTermsOfService/main.go",
2545 "language": "GO",
2546 "clientMethod": {
2547 "shortName": "AcceptTermsOfService",
2548 "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceClient.AcceptTermsOfService",
2549 "parameters": [
2550 {
2551 "type": "context.Context",
2552 "name": "ctx"
2553 },
2554 {
2555 "type": "accountspb.AcceptTermsOfServiceRequest",
2556 "name": "req"
2557 },
2558 {
2559 "type": "...gax.CallOption",
2560 "name": "opts"
2561 }
2562 ],
2563 "client": {
2564 "shortName": "TermsOfServiceClient",
2565 "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceClient"
2566 },
2567 "method": {
2568 "shortName": "AcceptTermsOfService",
2569 "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceService.AcceptTermsOfService",
2570 "service": {
2571 "shortName": "TermsOfServiceService",
2572 "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceService"
2573 }
2574 }
2575 },
2576 "origin": "API_DEFINITION",
2577 "segments": [
2578 {
2579 "start": 18,
2580 "end": 51,
2581 "type": "FULL"
2582 }
2583 ]
2584 },
2585 {
2586 "regionTag": "merchantapi_v1beta_generated_TermsOfServiceService_GetTermsOfService_sync",
2587 "title": "merchantapi GetTermsOfService Sample",
2588 "description": "GetTermsOfService retrieves the `TermsOfService` associated with the provided version.",
2589 "file": "TermsOfServiceClient/GetTermsOfService/main.go",
2590 "language": "GO",
2591 "clientMethod": {
2592 "shortName": "GetTermsOfService",
2593 "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceClient.GetTermsOfService",
2594 "parameters": [
2595 {
2596 "type": "context.Context",
2597 "name": "ctx"
2598 },
2599 {
2600 "type": "accountspb.GetTermsOfServiceRequest",
2601 "name": "req"
2602 },
2603 {
2604 "type": "...gax.CallOption",
2605 "name": "opts"
2606 }
2607 ],
2608 "resultType": "*accountspb.TermsOfService",
2609 "client": {
2610 "shortName": "TermsOfServiceClient",
2611 "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceClient"
2612 },
2613 "method": {
2614 "shortName": "GetTermsOfService",
2615 "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceService.GetTermsOfService",
2616 "service": {
2617 "shortName": "TermsOfServiceService",
2618 "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceService"
2619 }
2620 }
2621 },
2622 "origin": "API_DEFINITION",
2623 "segments": [
2624 {
2625 "start": 18,
2626 "end": 53,
2627 "type": "FULL"
2628 }
2629 ]
2630 },
2631 {
2632 "regionTag": "merchantapi_v1beta_generated_TermsOfServiceService_RetrieveLatestTermsOfService_sync",
2633 "title": "merchantapi RetrieveLatestTermsOfService Sample",
2634 "description": "RetrieveLatestTermsOfService retrieves the latest version of the `TermsOfService` for a given `kind` and\n`region_code`.",
2635 "file": "TermsOfServiceClient/RetrieveLatestTermsOfService/main.go",
2636 "language": "GO",
2637 "clientMethod": {
2638 "shortName": "RetrieveLatestTermsOfService",
2639 "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceClient.RetrieveLatestTermsOfService",
2640 "parameters": [
2641 {
2642 "type": "context.Context",
2643 "name": "ctx"
2644 },
2645 {
2646 "type": "accountspb.RetrieveLatestTermsOfServiceRequest",
2647 "name": "req"
2648 },
2649 {
2650 "type": "...gax.CallOption",
2651 "name": "opts"
2652 }
2653 ],
2654 "resultType": "*accountspb.TermsOfService",
2655 "client": {
2656 "shortName": "TermsOfServiceClient",
2657 "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceClient"
2658 },
2659 "method": {
2660 "shortName": "RetrieveLatestTermsOfService",
2661 "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceService.RetrieveLatestTermsOfService",
2662 "service": {
2663 "shortName": "TermsOfServiceService",
2664 "fullName": "google.shopping.merchant.accounts.v1beta.TermsOfServiceService"
2665 }
2666 }
2667 },
2668 "origin": "API_DEFINITION",
2669 "segments": [
2670 {
2671 "start": 18,
2672 "end": 53,
2673 "type": "FULL"
2674 }
2675 ]
2676 },
2677 {
2678 "regionTag": "merchantapi_v1beta_generated_UserService_CreateUser_sync",
2679 "title": "merchantapi CreateUser Sample",
2680 "description": "CreateUser creates a Merchant Center account user. Executing this method requires\nadmin access.",
2681 "file": "UserClient/CreateUser/main.go",
2682 "language": "GO",
2683 "clientMethod": {
2684 "shortName": "CreateUser",
2685 "fullName": "google.shopping.merchant.accounts.v1beta.UserClient.CreateUser",
2686 "parameters": [
2687 {
2688 "type": "context.Context",
2689 "name": "ctx"
2690 },
2691 {
2692 "type": "accountspb.CreateUserRequest",
2693 "name": "req"
2694 },
2695 {
2696 "type": "...gax.CallOption",
2697 "name": "opts"
2698 }
2699 ],
2700 "resultType": "*accountspb.User",
2701 "client": {
2702 "shortName": "UserClient",
2703 "fullName": "google.shopping.merchant.accounts.v1beta.UserClient"
2704 },
2705 "method": {
2706 "shortName": "CreateUser",
2707 "fullName": "google.shopping.merchant.accounts.v1beta.UserService.CreateUser",
2708 "service": {
2709 "shortName": "UserService",
2710 "fullName": "google.shopping.merchant.accounts.v1beta.UserService"
2711 }
2712 }
2713 },
2714 "origin": "API_DEFINITION",
2715 "segments": [
2716 {
2717 "start": 18,
2718 "end": 53,
2719 "type": "FULL"
2720 }
2721 ]
2722 },
2723 {
2724 "regionTag": "merchantapi_v1beta_generated_UserService_DeleteUser_sync",
2725 "title": "merchantapi DeleteUser Sample",
2726 "description": "DeleteUser deletes a Merchant Center account user. Executing this method requires\nadmin access.",
2727 "file": "UserClient/DeleteUser/main.go",
2728 "language": "GO",
2729 "clientMethod": {
2730 "shortName": "DeleteUser",
2731 "fullName": "google.shopping.merchant.accounts.v1beta.UserClient.DeleteUser",
2732 "parameters": [
2733 {
2734 "type": "context.Context",
2735 "name": "ctx"
2736 },
2737 {
2738 "type": "accountspb.DeleteUserRequest",
2739 "name": "req"
2740 },
2741 {
2742 "type": "...gax.CallOption",
2743 "name": "opts"
2744 }
2745 ],
2746 "client": {
2747 "shortName": "UserClient",
2748 "fullName": "google.shopping.merchant.accounts.v1beta.UserClient"
2749 },
2750 "method": {
2751 "shortName": "DeleteUser",
2752 "fullName": "google.shopping.merchant.accounts.v1beta.UserService.DeleteUser",
2753 "service": {
2754 "shortName": "UserService",
2755 "fullName": "google.shopping.merchant.accounts.v1beta.UserService"
2756 }
2757 }
2758 },
2759 "origin": "API_DEFINITION",
2760 "segments": [
2761 {
2762 "start": 18,
2763 "end": 51,
2764 "type": "FULL"
2765 }
2766 ]
2767 },
2768 {
2769 "regionTag": "merchantapi_v1beta_generated_UserService_GetUser_sync",
2770 "title": "merchantapi GetUser Sample",
2771 "description": "GetUser retrieves a Merchant Center account user.",
2772 "file": "UserClient/GetUser/main.go",
2773 "language": "GO",
2774 "clientMethod": {
2775 "shortName": "GetUser",
2776 "fullName": "google.shopping.merchant.accounts.v1beta.UserClient.GetUser",
2777 "parameters": [
2778 {
2779 "type": "context.Context",
2780 "name": "ctx"
2781 },
2782 {
2783 "type": "accountspb.GetUserRequest",
2784 "name": "req"
2785 },
2786 {
2787 "type": "...gax.CallOption",
2788 "name": "opts"
2789 }
2790 ],
2791 "resultType": "*accountspb.User",
2792 "client": {
2793 "shortName": "UserClient",
2794 "fullName": "google.shopping.merchant.accounts.v1beta.UserClient"
2795 },
2796 "method": {
2797 "shortName": "GetUser",
2798 "fullName": "google.shopping.merchant.accounts.v1beta.UserService.GetUser",
2799 "service": {
2800 "shortName": "UserService",
2801 "fullName": "google.shopping.merchant.accounts.v1beta.UserService"
2802 }
2803 }
2804 },
2805 "origin": "API_DEFINITION",
2806 "segments": [
2807 {
2808 "start": 18,
2809 "end": 53,
2810 "type": "FULL"
2811 }
2812 ]
2813 },
2814 {
2815 "regionTag": "merchantapi_v1beta_generated_UserService_ListUsers_sync",
2816 "title": "merchantapi ListUsers Sample",
2817 "description": "ListUsers lists all users of a Merchant Center account.",
2818 "file": "UserClient/ListUsers/main.go",
2819 "language": "GO",
2820 "clientMethod": {
2821 "shortName": "ListUsers",
2822 "fullName": "google.shopping.merchant.accounts.v1beta.UserClient.ListUsers",
2823 "parameters": [
2824 {
2825 "type": "context.Context",
2826 "name": "ctx"
2827 },
2828 {
2829 "type": "accountspb.ListUsersRequest",
2830 "name": "req"
2831 },
2832 {
2833 "type": "...gax.CallOption",
2834 "name": "opts"
2835 }
2836 ],
2837 "resultType": "UserIterator",
2838 "client": {
2839 "shortName": "UserClient",
2840 "fullName": "google.shopping.merchant.accounts.v1beta.UserClient"
2841 },
2842 "method": {
2843 "shortName": "ListUsers",
2844 "fullName": "google.shopping.merchant.accounts.v1beta.UserService.ListUsers",
2845 "service": {
2846 "shortName": "UserService",
2847 "fullName": "google.shopping.merchant.accounts.v1beta.UserService"
2848 }
2849 }
2850 },
2851 "origin": "API_DEFINITION",
2852 "segments": [
2853 {
2854 "start": 18,
2855 "end": 66,
2856 "type": "FULL"
2857 }
2858 ]
2859 },
2860 {
2861 "regionTag": "merchantapi_v1beta_generated_UserService_UpdateUser_sync",
2862 "title": "merchantapi UpdateUser Sample",
2863 "description": "UpdateUser updates a Merchant Center account user. Executing this method requires\nadmin access.",
2864 "file": "UserClient/UpdateUser/main.go",
2865 "language": "GO",
2866 "clientMethod": {
2867 "shortName": "UpdateUser",
2868 "fullName": "google.shopping.merchant.accounts.v1beta.UserClient.UpdateUser",
2869 "parameters": [
2870 {
2871 "type": "context.Context",
2872 "name": "ctx"
2873 },
2874 {
2875 "type": "accountspb.UpdateUserRequest",
2876 "name": "req"
2877 },
2878 {
2879 "type": "...gax.CallOption",
2880 "name": "opts"
2881 }
2882 ],
2883 "resultType": "*accountspb.User",
2884 "client": {
2885 "shortName": "UserClient",
2886 "fullName": "google.shopping.merchant.accounts.v1beta.UserClient"
2887 },
2888 "method": {
2889 "shortName": "UpdateUser",
2890 "fullName": "google.shopping.merchant.accounts.v1beta.UserService.UpdateUser",
2891 "service": {
2892 "shortName": "UserService",
2893 "fullName": "google.shopping.merchant.accounts.v1beta.UserService"
2894 }
2895 }
2896 },
2897 "origin": "API_DEFINITION",
2898 "segments": [
2899 {
2900 "start": 18,
2901 "end": 53,
2902 "type": "FULL"
2903 }
2904 ]
2905 }
2906 ]
2907 }