source: vendor/google/apiclient-services/src/ShoppingContent.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 75.5 KB
Line 
1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service;
19
20use Google\Client;
21
22/**
23 * Service definition for ShoppingContent (v2.1).
24 *
25 * <p>
26 * Manage your product listings and accounts for Google Shopping</p>
27 *
28 * <p>
29 * For more information about this service, see the API
30 * <a href="https://developers.google.com/shopping-content/v2/" target="_blank">Documentation</a>
31 * </p>
32 *
33 * @author Google, Inc.
34 */
35class ShoppingContent extends \Google\Service
36{
37 /** Manage your product listings and accounts for Google Shopping. */
38 const CONTENT =
39 "https://www.googleapis.com/auth/content";
40
41 public $accounts;
42 public $accounts_credentials;
43 public $accounts_labels;
44 public $accounts_returncarrier;
45 public $accountstatuses;
46 public $accounttax;
47 public $collections;
48 public $collectionstatuses;
49 public $conversionsources;
50 public $csses;
51 public $datafeeds;
52 public $datafeedstatuses;
53 public $freelistingsprogram;
54 public $freelistingsprogram_checkoutsettings;
55 public $liasettings;
56 public $localinventory;
57 public $merchantsupport;
58 public $ordertrackingsignals;
59 public $pos;
60 public $productdeliverytime;
61 public $products;
62 public $productstatuses;
63 public $promotions;
64 public $pubsubnotificationsettings;
65 public $quotas;
66 public $recommendations;
67 public $regionalinventory;
68 public $regions;
69 public $reports;
70 public $returnaddress;
71 public $returnpolicy;
72 public $returnpolicyonline;
73 public $shippingsettings;
74 public $shoppingadsprogram;
75 public $rootUrlTemplate;
76
77 /**
78 * Constructs the internal representation of the ShoppingContent service.
79 *
80 * @param Client|array $clientOrConfig The client used to deliver requests, or a
81 * config array to pass to a new Client instance.
82 * @param string $rootUrl The root URL used for requests to the service.
83 */
84 public function __construct($clientOrConfig = [], $rootUrl = null)
85 {
86 parent::__construct($clientOrConfig);
87 $this->rootUrl = $rootUrl ?: 'https://shoppingcontent.googleapis.com/';
88 $this->rootUrlTemplate = $rootUrl ?: 'https://shoppingcontent.UNIVERSE_DOMAIN/';
89 $this->servicePath = 'content/v2.1/';
90 $this->batchPath = 'batch';
91 $this->version = 'v2.1';
92 $this->serviceName = 'content';
93
94 $this->accounts = new ShoppingContent\Resource\Accounts(
95 $this,
96 $this->serviceName,
97 'accounts',
98 [
99 'methods' => [
100 'authinfo' => [
101 'path' => 'accounts/authinfo',
102 'httpMethod' => 'GET',
103 'parameters' => [],
104 ],'claimwebsite' => [
105 'path' => '{merchantId}/accounts/{accountId}/claimwebsite',
106 'httpMethod' => 'POST',
107 'parameters' => [
108 'merchantId' => [
109 'location' => 'path',
110 'type' => 'string',
111 'required' => true,
112 ],
113 'accountId' => [
114 'location' => 'path',
115 'type' => 'string',
116 'required' => true,
117 ],
118 'overwrite' => [
119 'location' => 'query',
120 'type' => 'boolean',
121 ],
122 ],
123 ],'custombatch' => [
124 'path' => 'accounts/batch',
125 'httpMethod' => 'POST',
126 'parameters' => [],
127 ],'delete' => [
128 'path' => '{merchantId}/accounts/{accountId}',
129 'httpMethod' => 'DELETE',
130 'parameters' => [
131 'merchantId' => [
132 'location' => 'path',
133 'type' => 'string',
134 'required' => true,
135 ],
136 'accountId' => [
137 'location' => 'path',
138 'type' => 'string',
139 'required' => true,
140 ],
141 'force' => [
142 'location' => 'query',
143 'type' => 'boolean',
144 ],
145 ],
146 ],'get' => [
147 'path' => '{merchantId}/accounts/{accountId}',
148 'httpMethod' => 'GET',
149 'parameters' => [
150 'merchantId' => [
151 'location' => 'path',
152 'type' => 'string',
153 'required' => true,
154 ],
155 'accountId' => [
156 'location' => 'path',
157 'type' => 'string',
158 'required' => true,
159 ],
160 'view' => [
161 'location' => 'query',
162 'type' => 'string',
163 ],
164 ],
165 ],'insert' => [
166 'path' => '{merchantId}/accounts',
167 'httpMethod' => 'POST',
168 'parameters' => [
169 'merchantId' => [
170 'location' => 'path',
171 'type' => 'string',
172 'required' => true,
173 ],
174 ],
175 ],'link' => [
176 'path' => '{merchantId}/accounts/{accountId}/link',
177 'httpMethod' => 'POST',
178 'parameters' => [
179 'merchantId' => [
180 'location' => 'path',
181 'type' => 'string',
182 'required' => true,
183 ],
184 'accountId' => [
185 'location' => 'path',
186 'type' => 'string',
187 'required' => true,
188 ],
189 ],
190 ],'list' => [
191 'path' => '{merchantId}/accounts',
192 'httpMethod' => 'GET',
193 'parameters' => [
194 'merchantId' => [
195 'location' => 'path',
196 'type' => 'string',
197 'required' => true,
198 ],
199 'label' => [
200 'location' => 'query',
201 'type' => 'string',
202 ],
203 'maxResults' => [
204 'location' => 'query',
205 'type' => 'integer',
206 ],
207 'name' => [
208 'location' => 'query',
209 'type' => 'string',
210 ],
211 'pageToken' => [
212 'location' => 'query',
213 'type' => 'string',
214 ],
215 'view' => [
216 'location' => 'query',
217 'type' => 'string',
218 ],
219 ],
220 ],'listlinks' => [
221 'path' => '{merchantId}/accounts/{accountId}/listlinks',
222 'httpMethod' => 'GET',
223 'parameters' => [
224 'merchantId' => [
225 'location' => 'path',
226 'type' => 'string',
227 'required' => true,
228 ],
229 'accountId' => [
230 'location' => 'path',
231 'type' => 'string',
232 'required' => true,
233 ],
234 'maxResults' => [
235 'location' => 'query',
236 'type' => 'integer',
237 ],
238 'pageToken' => [
239 'location' => 'query',
240 'type' => 'string',
241 ],
242 ],
243 ],'requestphoneverification' => [
244 'path' => '{merchantId}/accounts/{accountId}/requestphoneverification',
245 'httpMethod' => 'POST',
246 'parameters' => [
247 'merchantId' => [
248 'location' => 'path',
249 'type' => 'string',
250 'required' => true,
251 ],
252 'accountId' => [
253 'location' => 'path',
254 'type' => 'string',
255 'required' => true,
256 ],
257 ],
258 ],'update' => [
259 'path' => '{merchantId}/accounts/{accountId}',
260 'httpMethod' => 'PUT',
261 'parameters' => [
262 'merchantId' => [
263 'location' => 'path',
264 'type' => 'string',
265 'required' => true,
266 ],
267 'accountId' => [
268 'location' => 'path',
269 'type' => 'string',
270 'required' => true,
271 ],
272 ],
273 ],'updatelabels' => [
274 'path' => '{merchantId}/accounts/{accountId}/updatelabels',
275 'httpMethod' => 'POST',
276 'parameters' => [
277 'merchantId' => [
278 'location' => 'path',
279 'type' => 'string',
280 'required' => true,
281 ],
282 'accountId' => [
283 'location' => 'path',
284 'type' => 'string',
285 'required' => true,
286 ],
287 ],
288 ],'verifyphonenumber' => [
289 'path' => '{merchantId}/accounts/{accountId}/verifyphonenumber',
290 'httpMethod' => 'POST',
291 'parameters' => [
292 'merchantId' => [
293 'location' => 'path',
294 'type' => 'string',
295 'required' => true,
296 ],
297 'accountId' => [
298 'location' => 'path',
299 'type' => 'string',
300 'required' => true,
301 ],
302 ],
303 ],
304 ]
305 ]
306 );
307 $this->accounts_credentials = new ShoppingContent\Resource\AccountsCredentials(
308 $this,
309 $this->serviceName,
310 'credentials',
311 [
312 'methods' => [
313 'create' => [
314 'path' => 'accounts/{accountId}/credentials',
315 'httpMethod' => 'POST',
316 'parameters' => [
317 'accountId' => [
318 'location' => 'path',
319 'type' => 'string',
320 'required' => true,
321 ],
322 ],
323 ],
324 ]
325 ]
326 );
327 $this->accounts_labels = new ShoppingContent\Resource\AccountsLabels(
328 $this,
329 $this->serviceName,
330 'labels',
331 [
332 'methods' => [
333 'create' => [
334 'path' => 'accounts/{accountId}/labels',
335 'httpMethod' => 'POST',
336 'parameters' => [
337 'accountId' => [
338 'location' => 'path',
339 'type' => 'string',
340 'required' => true,
341 ],
342 ],
343 ],'delete' => [
344 'path' => 'accounts/{accountId}/labels/{labelId}',
345 'httpMethod' => 'DELETE',
346 'parameters' => [
347 'accountId' => [
348 'location' => 'path',
349 'type' => 'string',
350 'required' => true,
351 ],
352 'labelId' => [
353 'location' => 'path',
354 'type' => 'string',
355 'required' => true,
356 ],
357 ],
358 ],'list' => [
359 'path' => 'accounts/{accountId}/labels',
360 'httpMethod' => 'GET',
361 'parameters' => [
362 'accountId' => [
363 'location' => 'path',
364 'type' => 'string',
365 'required' => true,
366 ],
367 'pageSize' => [
368 'location' => 'query',
369 'type' => 'integer',
370 ],
371 'pageToken' => [
372 'location' => 'query',
373 'type' => 'string',
374 ],
375 ],
376 ],'patch' => [
377 'path' => 'accounts/{accountId}/labels/{labelId}',
378 'httpMethod' => 'PATCH',
379 'parameters' => [
380 'accountId' => [
381 'location' => 'path',
382 'type' => 'string',
383 'required' => true,
384 ],
385 'labelId' => [
386 'location' => 'path',
387 'type' => 'string',
388 'required' => true,
389 ],
390 ],
391 ],
392 ]
393 ]
394 );
395 $this->accounts_returncarrier = new ShoppingContent\Resource\AccountsReturncarrier(
396 $this,
397 $this->serviceName,
398 'returncarrier',
399 [
400 'methods' => [
401 'create' => [
402 'path' => 'accounts/{accountId}/returncarrier',
403 'httpMethod' => 'POST',
404 'parameters' => [
405 'accountId' => [
406 'location' => 'path',
407 'type' => 'string',
408 'required' => true,
409 ],
410 ],
411 ],'delete' => [
412 'path' => 'accounts/{accountId}/returncarrier/{carrierAccountId}',
413 'httpMethod' => 'DELETE',
414 'parameters' => [
415 'accountId' => [
416 'location' => 'path',
417 'type' => 'string',
418 'required' => true,
419 ],
420 'carrierAccountId' => [
421 'location' => 'path',
422 'type' => 'string',
423 'required' => true,
424 ],
425 ],
426 ],'list' => [
427 'path' => 'accounts/{accountId}/returncarrier',
428 'httpMethod' => 'GET',
429 'parameters' => [
430 'accountId' => [
431 'location' => 'path',
432 'type' => 'string',
433 'required' => true,
434 ],
435 ],
436 ],'patch' => [
437 'path' => 'accounts/{accountId}/returncarrier/{carrierAccountId}',
438 'httpMethod' => 'PATCH',
439 'parameters' => [
440 'accountId' => [
441 'location' => 'path',
442 'type' => 'string',
443 'required' => true,
444 ],
445 'carrierAccountId' => [
446 'location' => 'path',
447 'type' => 'string',
448 'required' => true,
449 ],
450 ],
451 ],
452 ]
453 ]
454 );
455 $this->accountstatuses = new ShoppingContent\Resource\Accountstatuses(
456 $this,
457 $this->serviceName,
458 'accountstatuses',
459 [
460 'methods' => [
461 'custombatch' => [
462 'path' => 'accountstatuses/batch',
463 'httpMethod' => 'POST',
464 'parameters' => [],
465 ],'get' => [
466 'path' => '{merchantId}/accountstatuses/{accountId}',
467 'httpMethod' => 'GET',
468 'parameters' => [
469 'merchantId' => [
470 'location' => 'path',
471 'type' => 'string',
472 'required' => true,
473 ],
474 'accountId' => [
475 'location' => 'path',
476 'type' => 'string',
477 'required' => true,
478 ],
479 'destinations' => [
480 'location' => 'query',
481 'type' => 'string',
482 'repeated' => true,
483 ],
484 ],
485 ],'list' => [
486 'path' => '{merchantId}/accountstatuses',
487 'httpMethod' => 'GET',
488 'parameters' => [
489 'merchantId' => [
490 'location' => 'path',
491 'type' => 'string',
492 'required' => true,
493 ],
494 'destinations' => [
495 'location' => 'query',
496 'type' => 'string',
497 'repeated' => true,
498 ],
499 'maxResults' => [
500 'location' => 'query',
501 'type' => 'integer',
502 ],
503 'name' => [
504 'location' => 'query',
505 'type' => 'string',
506 ],
507 'pageToken' => [
508 'location' => 'query',
509 'type' => 'string',
510 ],
511 ],
512 ],
513 ]
514 ]
515 );
516 $this->accounttax = new ShoppingContent\Resource\Accounttax(
517 $this,
518 $this->serviceName,
519 'accounttax',
520 [
521 'methods' => [
522 'custombatch' => [
523 'path' => 'accounttax/batch',
524 'httpMethod' => 'POST',
525 'parameters' => [],
526 ],'get' => [
527 'path' => '{merchantId}/accounttax/{accountId}',
528 'httpMethod' => 'GET',
529 'parameters' => [
530 'merchantId' => [
531 'location' => 'path',
532 'type' => 'string',
533 'required' => true,
534 ],
535 'accountId' => [
536 'location' => 'path',
537 'type' => 'string',
538 'required' => true,
539 ],
540 ],
541 ],'list' => [
542 'path' => '{merchantId}/accounttax',
543 'httpMethod' => 'GET',
544 'parameters' => [
545 'merchantId' => [
546 'location' => 'path',
547 'type' => 'string',
548 'required' => true,
549 ],
550 'maxResults' => [
551 'location' => 'query',
552 'type' => 'integer',
553 ],
554 'pageToken' => [
555 'location' => 'query',
556 'type' => 'string',
557 ],
558 ],
559 ],'update' => [
560 'path' => '{merchantId}/accounttax/{accountId}',
561 'httpMethod' => 'PUT',
562 'parameters' => [
563 'merchantId' => [
564 'location' => 'path',
565 'type' => 'string',
566 'required' => true,
567 ],
568 'accountId' => [
569 'location' => 'path',
570 'type' => 'string',
571 'required' => true,
572 ],
573 ],
574 ],
575 ]
576 ]
577 );
578 $this->collections = new ShoppingContent\Resource\Collections(
579 $this,
580 $this->serviceName,
581 'collections',
582 [
583 'methods' => [
584 'create' => [
585 'path' => '{merchantId}/collections',
586 'httpMethod' => 'POST',
587 'parameters' => [
588 'merchantId' => [
589 'location' => 'path',
590 'type' => 'string',
591 'required' => true,
592 ],
593 ],
594 ],'delete' => [
595 'path' => '{merchantId}/collections/{collectionId}',
596 'httpMethod' => 'DELETE',
597 'parameters' => [
598 'merchantId' => [
599 'location' => 'path',
600 'type' => 'string',
601 'required' => true,
602 ],
603 'collectionId' => [
604 'location' => 'path',
605 'type' => 'string',
606 'required' => true,
607 ],
608 ],
609 ],'get' => [
610 'path' => '{merchantId}/collections/{collectionId}',
611 'httpMethod' => 'GET',
612 'parameters' => [
613 'merchantId' => [
614 'location' => 'path',
615 'type' => 'string',
616 'required' => true,
617 ],
618 'collectionId' => [
619 'location' => 'path',
620 'type' => 'string',
621 'required' => true,
622 ],
623 ],
624 ],'list' => [
625 'path' => '{merchantId}/collections',
626 'httpMethod' => 'GET',
627 'parameters' => [
628 'merchantId' => [
629 'location' => 'path',
630 'type' => 'string',
631 'required' => true,
632 ],
633 'pageSize' => [
634 'location' => 'query',
635 'type' => 'integer',
636 ],
637 'pageToken' => [
638 'location' => 'query',
639 'type' => 'string',
640 ],
641 ],
642 ],
643 ]
644 ]
645 );
646 $this->collectionstatuses = new ShoppingContent\Resource\Collectionstatuses(
647 $this,
648 $this->serviceName,
649 'collectionstatuses',
650 [
651 'methods' => [
652 'get' => [
653 'path' => '{merchantId}/collectionstatuses/{collectionId}',
654 'httpMethod' => 'GET',
655 'parameters' => [
656 'merchantId' => [
657 'location' => 'path',
658 'type' => 'string',
659 'required' => true,
660 ],
661 'collectionId' => [
662 'location' => 'path',
663 'type' => 'string',
664 'required' => true,
665 ],
666 ],
667 ],'list' => [
668 'path' => '{merchantId}/collectionstatuses',
669 'httpMethod' => 'GET',
670 'parameters' => [
671 'merchantId' => [
672 'location' => 'path',
673 'type' => 'string',
674 'required' => true,
675 ],
676 'pageSize' => [
677 'location' => 'query',
678 'type' => 'integer',
679 ],
680 'pageToken' => [
681 'location' => 'query',
682 'type' => 'string',
683 ],
684 ],
685 ],
686 ]
687 ]
688 );
689 $this->conversionsources = new ShoppingContent\Resource\Conversionsources(
690 $this,
691 $this->serviceName,
692 'conversionsources',
693 [
694 'methods' => [
695 'create' => [
696 'path' => '{merchantId}/conversionsources',
697 'httpMethod' => 'POST',
698 'parameters' => [
699 'merchantId' => [
700 'location' => 'path',
701 'type' => 'string',
702 'required' => true,
703 ],
704 ],
705 ],'delete' => [
706 'path' => '{merchantId}/conversionsources/{conversionSourceId}',
707 'httpMethod' => 'DELETE',
708 'parameters' => [
709 'merchantId' => [
710 'location' => 'path',
711 'type' => 'string',
712 'required' => true,
713 ],
714 'conversionSourceId' => [
715 'location' => 'path',
716 'type' => 'string',
717 'required' => true,
718 ],
719 ],
720 ],'get' => [
721 'path' => '{merchantId}/conversionsources/{conversionSourceId}',
722 'httpMethod' => 'GET',
723 'parameters' => [
724 'merchantId' => [
725 'location' => 'path',
726 'type' => 'string',
727 'required' => true,
728 ],
729 'conversionSourceId' => [
730 'location' => 'path',
731 'type' => 'string',
732 'required' => true,
733 ],
734 ],
735 ],'list' => [
736 'path' => '{merchantId}/conversionsources',
737 'httpMethod' => 'GET',
738 'parameters' => [
739 'merchantId' => [
740 'location' => 'path',
741 'type' => 'string',
742 'required' => true,
743 ],
744 'pageSize' => [
745 'location' => 'query',
746 'type' => 'integer',
747 ],
748 'pageToken' => [
749 'location' => 'query',
750 'type' => 'string',
751 ],
752 'showDeleted' => [
753 'location' => 'query',
754 'type' => 'boolean',
755 ],
756 ],
757 ],'patch' => [
758 'path' => '{merchantId}/conversionsources/{conversionSourceId}',
759 'httpMethod' => 'PATCH',
760 'parameters' => [
761 'merchantId' => [
762 'location' => 'path',
763 'type' => 'string',
764 'required' => true,
765 ],
766 'conversionSourceId' => [
767 'location' => 'path',
768 'type' => 'string',
769 'required' => true,
770 ],
771 'updateMask' => [
772 'location' => 'query',
773 'type' => 'string',
774 ],
775 ],
776 ],'undelete' => [
777 'path' => '{merchantId}/conversionsources/{conversionSourceId}:undelete',
778 'httpMethod' => 'POST',
779 'parameters' => [
780 'merchantId' => [
781 'location' => 'path',
782 'type' => 'string',
783 'required' => true,
784 ],
785 'conversionSourceId' => [
786 'location' => 'path',
787 'type' => 'string',
788 'required' => true,
789 ],
790 ],
791 ],
792 ]
793 ]
794 );
795 $this->csses = new ShoppingContent\Resource\Csses(
796 $this,
797 $this->serviceName,
798 'csses',
799 [
800 'methods' => [
801 'get' => [
802 'path' => '{cssGroupId}/csses/{cssDomainId}',
803 'httpMethod' => 'GET',
804 'parameters' => [
805 'cssGroupId' => [
806 'location' => 'path',
807 'type' => 'string',
808 'required' => true,
809 ],
810 'cssDomainId' => [
811 'location' => 'path',
812 'type' => 'string',
813 'required' => true,
814 ],
815 ],
816 ],'list' => [
817 'path' => '{cssGroupId}/csses',
818 'httpMethod' => 'GET',
819 'parameters' => [
820 'cssGroupId' => [
821 'location' => 'path',
822 'type' => 'string',
823 'required' => true,
824 ],
825 'pageSize' => [
826 'location' => 'query',
827 'type' => 'integer',
828 ],
829 'pageToken' => [
830 'location' => 'query',
831 'type' => 'string',
832 ],
833 ],
834 ],'updatelabels' => [
835 'path' => '{cssGroupId}/csses/{cssDomainId}/updatelabels',
836 'httpMethod' => 'POST',
837 'parameters' => [
838 'cssGroupId' => [
839 'location' => 'path',
840 'type' => 'string',
841 'required' => true,
842 ],
843 'cssDomainId' => [
844 'location' => 'path',
845 'type' => 'string',
846 'required' => true,
847 ],
848 ],
849 ],
850 ]
851 ]
852 );
853 $this->datafeeds = new ShoppingContent\Resource\Datafeeds(
854 $this,
855 $this->serviceName,
856 'datafeeds',
857 [
858 'methods' => [
859 'custombatch' => [
860 'path' => 'datafeeds/batch',
861 'httpMethod' => 'POST',
862 'parameters' => [],
863 ],'delete' => [
864 'path' => '{merchantId}/datafeeds/{datafeedId}',
865 'httpMethod' => 'DELETE',
866 'parameters' => [
867 'merchantId' => [
868 'location' => 'path',
869 'type' => 'string',
870 'required' => true,
871 ],
872 'datafeedId' => [
873 'location' => 'path',
874 'type' => 'string',
875 'required' => true,
876 ],
877 ],
878 ],'fetchnow' => [
879 'path' => '{merchantId}/datafeeds/{datafeedId}/fetchNow',
880 'httpMethod' => 'POST',
881 'parameters' => [
882 'merchantId' => [
883 'location' => 'path',
884 'type' => 'string',
885 'required' => true,
886 ],
887 'datafeedId' => [
888 'location' => 'path',
889 'type' => 'string',
890 'required' => true,
891 ],
892 ],
893 ],'get' => [
894 'path' => '{merchantId}/datafeeds/{datafeedId}',
895 'httpMethod' => 'GET',
896 'parameters' => [
897 'merchantId' => [
898 'location' => 'path',
899 'type' => 'string',
900 'required' => true,
901 ],
902 'datafeedId' => [
903 'location' => 'path',
904 'type' => 'string',
905 'required' => true,
906 ],
907 ],
908 ],'insert' => [
909 'path' => '{merchantId}/datafeeds',
910 'httpMethod' => 'POST',
911 'parameters' => [
912 'merchantId' => [
913 'location' => 'path',
914 'type' => 'string',
915 'required' => true,
916 ],
917 ],
918 ],'list' => [
919 'path' => '{merchantId}/datafeeds',
920 'httpMethod' => 'GET',
921 'parameters' => [
922 'merchantId' => [
923 'location' => 'path',
924 'type' => 'string',
925 'required' => true,
926 ],
927 'maxResults' => [
928 'location' => 'query',
929 'type' => 'integer',
930 ],
931 'pageToken' => [
932 'location' => 'query',
933 'type' => 'string',
934 ],
935 ],
936 ],'update' => [
937 'path' => '{merchantId}/datafeeds/{datafeedId}',
938 'httpMethod' => 'PUT',
939 'parameters' => [
940 'merchantId' => [
941 'location' => 'path',
942 'type' => 'string',
943 'required' => true,
944 ],
945 'datafeedId' => [
946 'location' => 'path',
947 'type' => 'string',
948 'required' => true,
949 ],
950 ],
951 ],
952 ]
953 ]
954 );
955 $this->datafeedstatuses = new ShoppingContent\Resource\Datafeedstatuses(
956 $this,
957 $this->serviceName,
958 'datafeedstatuses',
959 [
960 'methods' => [
961 'custombatch' => [
962 'path' => 'datafeedstatuses/batch',
963 'httpMethod' => 'POST',
964 'parameters' => [],
965 ],'get' => [
966 'path' => '{merchantId}/datafeedstatuses/{datafeedId}',
967 'httpMethod' => 'GET',
968 'parameters' => [
969 'merchantId' => [
970 'location' => 'path',
971 'type' => 'string',
972 'required' => true,
973 ],
974 'datafeedId' => [
975 'location' => 'path',
976 'type' => 'string',
977 'required' => true,
978 ],
979 'country' => [
980 'location' => 'query',
981 'type' => 'string',
982 ],
983 'feedLabel' => [
984 'location' => 'query',
985 'type' => 'string',
986 ],
987 'language' => [
988 'location' => 'query',
989 'type' => 'string',
990 ],
991 ],
992 ],'list' => [
993 'path' => '{merchantId}/datafeedstatuses',
994 'httpMethod' => 'GET',
995 'parameters' => [
996 'merchantId' => [
997 'location' => 'path',
998 'type' => 'string',
999 'required' => true,
1000 ],
1001 'maxResults' => [
1002 'location' => 'query',
1003 'type' => 'integer',
1004 ],
1005 'pageToken' => [
1006 'location' => 'query',
1007 'type' => 'string',
1008 ],
1009 ],
1010 ],
1011 ]
1012 ]
1013 );
1014 $this->freelistingsprogram = new ShoppingContent\Resource\Freelistingsprogram(
1015 $this,
1016 $this->serviceName,
1017 'freelistingsprogram',
1018 [
1019 'methods' => [
1020 'get' => [
1021 'path' => '{merchantId}/freelistingsprogram',
1022 'httpMethod' => 'GET',
1023 'parameters' => [
1024 'merchantId' => [
1025 'location' => 'path',
1026 'type' => 'string',
1027 'required' => true,
1028 ],
1029 ],
1030 ],'requestreview' => [
1031 'path' => '{merchantId}/freelistingsprogram/requestreview',
1032 'httpMethod' => 'POST',
1033 'parameters' => [
1034 'merchantId' => [
1035 'location' => 'path',
1036 'type' => 'string',
1037 'required' => true,
1038 ],
1039 ],
1040 ],
1041 ]
1042 ]
1043 );
1044 $this->freelistingsprogram_checkoutsettings = new ShoppingContent\Resource\FreelistingsprogramCheckoutsettings(
1045 $this,
1046 $this->serviceName,
1047 'checkoutsettings',
1048 [
1049 'methods' => [
1050 'delete' => [
1051 'path' => '{merchantId}/freelistingsprogram/checkoutsettings',
1052 'httpMethod' => 'DELETE',
1053 'parameters' => [
1054 'merchantId' => [
1055 'location' => 'path',
1056 'type' => 'string',
1057 'required' => true,
1058 ],
1059 ],
1060 ],'get' => [
1061 'path' => '{merchantId}/freelistingsprogram/checkoutsettings',
1062 'httpMethod' => 'GET',
1063 'parameters' => [
1064 'merchantId' => [
1065 'location' => 'path',
1066 'type' => 'string',
1067 'required' => true,
1068 ],
1069 ],
1070 ],'insert' => [
1071 'path' => '{merchantId}/freelistingsprogram/checkoutsettings',
1072 'httpMethod' => 'POST',
1073 'parameters' => [
1074 'merchantId' => [
1075 'location' => 'path',
1076 'type' => 'string',
1077 'required' => true,
1078 ],
1079 ],
1080 ],
1081 ]
1082 ]
1083 );
1084 $this->liasettings = new ShoppingContent\Resource\Liasettings(
1085 $this,
1086 $this->serviceName,
1087 'liasettings',
1088 [
1089 'methods' => [
1090 'custombatch' => [
1091 'path' => 'liasettings/batch',
1092 'httpMethod' => 'POST',
1093 'parameters' => [],
1094 ],'get' => [
1095 'path' => '{merchantId}/liasettings/{accountId}',
1096 'httpMethod' => 'GET',
1097 'parameters' => [
1098 'merchantId' => [
1099 'location' => 'path',
1100 'type' => 'string',
1101 'required' => true,
1102 ],
1103 'accountId' => [
1104 'location' => 'path',
1105 'type' => 'string',
1106 'required' => true,
1107 ],
1108 ],
1109 ],'getaccessiblegmbaccounts' => [
1110 'path' => '{merchantId}/liasettings/{accountId}/accessiblegmbaccounts',
1111 'httpMethod' => 'GET',
1112 'parameters' => [
1113 'merchantId' => [
1114 'location' => 'path',
1115 'type' => 'string',
1116 'required' => true,
1117 ],
1118 'accountId' => [
1119 'location' => 'path',
1120 'type' => 'string',
1121 'required' => true,
1122 ],
1123 ],
1124 ],'list' => [
1125 'path' => '{merchantId}/liasettings',
1126 'httpMethod' => 'GET',
1127 'parameters' => [
1128 'merchantId' => [
1129 'location' => 'path',
1130 'type' => 'string',
1131 'required' => true,
1132 ],
1133 'maxResults' => [
1134 'location' => 'query',
1135 'type' => 'integer',
1136 ],
1137 'pageToken' => [
1138 'location' => 'query',
1139 'type' => 'string',
1140 ],
1141 ],
1142 ],'listposdataproviders' => [
1143 'path' => 'liasettings/posdataproviders',
1144 'httpMethod' => 'GET',
1145 'parameters' => [],
1146 ],'requestgmbaccess' => [
1147 'path' => '{merchantId}/liasettings/{accountId}/requestgmbaccess',
1148 'httpMethod' => 'POST',
1149 'parameters' => [
1150 'merchantId' => [
1151 'location' => 'path',
1152 'type' => 'string',
1153 'required' => true,
1154 ],
1155 'accountId' => [
1156 'location' => 'path',
1157 'type' => 'string',
1158 'required' => true,
1159 ],
1160 'gmbEmail' => [
1161 'location' => 'query',
1162 'type' => 'string',
1163 'required' => true,
1164 ],
1165 ],
1166 ],'requestinventoryverification' => [
1167 'path' => '{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}',
1168 'httpMethod' => 'POST',
1169 'parameters' => [
1170 'merchantId' => [
1171 'location' => 'path',
1172 'type' => 'string',
1173 'required' => true,
1174 ],
1175 'accountId' => [
1176 'location' => 'path',
1177 'type' => 'string',
1178 'required' => true,
1179 ],
1180 'country' => [
1181 'location' => 'path',
1182 'type' => 'string',
1183 'required' => true,
1184 ],
1185 ],
1186 ],'setinventoryverificationcontact' => [
1187 'path' => '{merchantId}/liasettings/{accountId}/setinventoryverificationcontact',
1188 'httpMethod' => 'POST',
1189 'parameters' => [
1190 'merchantId' => [
1191 'location' => 'path',
1192 'type' => 'string',
1193 'required' => true,
1194 ],
1195 'accountId' => [
1196 'location' => 'path',
1197 'type' => 'string',
1198 'required' => true,
1199 ],
1200 'country' => [
1201 'location' => 'query',
1202 'type' => 'string',
1203 'required' => true,
1204 ],
1205 'language' => [
1206 'location' => 'query',
1207 'type' => 'string',
1208 'required' => true,
1209 ],
1210 'contactName' => [
1211 'location' => 'query',
1212 'type' => 'string',
1213 'required' => true,
1214 ],
1215 'contactEmail' => [
1216 'location' => 'query',
1217 'type' => 'string',
1218 'required' => true,
1219 ],
1220 ],
1221 ],'setomnichannelexperience' => [
1222 'path' => '{merchantId}/liasettings/{accountId}/setomnichannelexperience',
1223 'httpMethod' => 'POST',
1224 'parameters' => [
1225 'merchantId' => [
1226 'location' => 'path',
1227 'type' => 'string',
1228 'required' => true,
1229 ],
1230 'accountId' => [
1231 'location' => 'path',
1232 'type' => 'string',
1233 'required' => true,
1234 ],
1235 'country' => [
1236 'location' => 'query',
1237 'type' => 'string',
1238 ],
1239 'lsfType' => [
1240 'location' => 'query',
1241 'type' => 'string',
1242 ],
1243 'pickupTypes' => [
1244 'location' => 'query',
1245 'type' => 'string',
1246 'repeated' => true,
1247 ],
1248 ],
1249 ],'setposdataprovider' => [
1250 'path' => '{merchantId}/liasettings/{accountId}/setposdataprovider',
1251 'httpMethod' => 'POST',
1252 'parameters' => [
1253 'merchantId' => [
1254 'location' => 'path',
1255 'type' => 'string',
1256 'required' => true,
1257 ],
1258 'accountId' => [
1259 'location' => 'path',
1260 'type' => 'string',
1261 'required' => true,
1262 ],
1263 'country' => [
1264 'location' => 'query',
1265 'type' => 'string',
1266 'required' => true,
1267 ],
1268 'posDataProviderId' => [
1269 'location' => 'query',
1270 'type' => 'string',
1271 ],
1272 'posExternalAccountId' => [
1273 'location' => 'query',
1274 'type' => 'string',
1275 ],
1276 ],
1277 ],'update' => [
1278 'path' => '{merchantId}/liasettings/{accountId}',
1279 'httpMethod' => 'PUT',
1280 'parameters' => [
1281 'merchantId' => [
1282 'location' => 'path',
1283 'type' => 'string',
1284 'required' => true,
1285 ],
1286 'accountId' => [
1287 'location' => 'path',
1288 'type' => 'string',
1289 'required' => true,
1290 ],
1291 ],
1292 ],
1293 ]
1294 ]
1295 );
1296 $this->localinventory = new ShoppingContent\Resource\Localinventory(
1297 $this,
1298 $this->serviceName,
1299 'localinventory',
1300 [
1301 'methods' => [
1302 'custombatch' => [
1303 'path' => 'localinventory/batch',
1304 'httpMethod' => 'POST',
1305 'parameters' => [],
1306 ],'insert' => [
1307 'path' => '{merchantId}/products/{productId}/localinventory',
1308 'httpMethod' => 'POST',
1309 'parameters' => [
1310 'merchantId' => [
1311 'location' => 'path',
1312 'type' => 'string',
1313 'required' => true,
1314 ],
1315 'productId' => [
1316 'location' => 'path',
1317 'type' => 'string',
1318 'required' => true,
1319 ],
1320 ],
1321 ],
1322 ]
1323 ]
1324 );
1325 $this->merchantsupport = new ShoppingContent\Resource\Merchantsupport(
1326 $this,
1327 $this->serviceName,
1328 'merchantsupport',
1329 [
1330 'methods' => [
1331 'renderaccountissues' => [
1332 'path' => '{merchantId}/merchantsupport/renderaccountissues',
1333 'httpMethod' => 'POST',
1334 'parameters' => [
1335 'merchantId' => [
1336 'location' => 'path',
1337 'type' => 'string',
1338 'required' => true,
1339 ],
1340 'languageCode' => [
1341 'location' => 'query',
1342 'type' => 'string',
1343 ],
1344 'timeZone' => [
1345 'location' => 'query',
1346 'type' => 'string',
1347 ],
1348 ],
1349 ],'renderproductissues' => [
1350 'path' => '{merchantId}/merchantsupport/renderproductissues/{productId}',
1351 'httpMethod' => 'POST',
1352 'parameters' => [
1353 'merchantId' => [
1354 'location' => 'path',
1355 'type' => 'string',
1356 'required' => true,
1357 ],
1358 'productId' => [
1359 'location' => 'path',
1360 'type' => 'string',
1361 'required' => true,
1362 ],
1363 'languageCode' => [
1364 'location' => 'query',
1365 'type' => 'string',
1366 ],
1367 'timeZone' => [
1368 'location' => 'query',
1369 'type' => 'string',
1370 ],
1371 ],
1372 ],'triggeraction' => [
1373 'path' => '{merchantId}/merchantsupport/triggeraction',
1374 'httpMethod' => 'POST',
1375 'parameters' => [
1376 'merchantId' => [
1377 'location' => 'path',
1378 'type' => 'string',
1379 'required' => true,
1380 ],
1381 'languageCode' => [
1382 'location' => 'query',
1383 'type' => 'string',
1384 ],
1385 ],
1386 ],
1387 ]
1388 ]
1389 );
1390 $this->ordertrackingsignals = new ShoppingContent\Resource\Ordertrackingsignals(
1391 $this,
1392 $this->serviceName,
1393 'ordertrackingsignals',
1394 [
1395 'methods' => [
1396 'create' => [
1397 'path' => '{merchantId}/ordertrackingsignals',
1398 'httpMethod' => 'POST',
1399 'parameters' => [
1400 'merchantId' => [
1401 'location' => 'path',
1402 'type' => 'string',
1403 'required' => true,
1404 ],
1405 ],
1406 ],
1407 ]
1408 ]
1409 );
1410 $this->pos = new ShoppingContent\Resource\Pos(
1411 $this,
1412 $this->serviceName,
1413 'pos',
1414 [
1415 'methods' => [
1416 'custombatch' => [
1417 'path' => 'pos/batch',
1418 'httpMethod' => 'POST',
1419 'parameters' => [],
1420 ],'delete' => [
1421 'path' => '{merchantId}/pos/{targetMerchantId}/store/{storeCode}',
1422 'httpMethod' => 'DELETE',
1423 'parameters' => [
1424 'merchantId' => [
1425 'location' => 'path',
1426 'type' => 'string',
1427 'required' => true,
1428 ],
1429 'targetMerchantId' => [
1430 'location' => 'path',
1431 'type' => 'string',
1432 'required' => true,
1433 ],
1434 'storeCode' => [
1435 'location' => 'path',
1436 'type' => 'string',
1437 'required' => true,
1438 ],
1439 ],
1440 ],'get' => [
1441 'path' => '{merchantId}/pos/{targetMerchantId}/store/{storeCode}',
1442 'httpMethod' => 'GET',
1443 'parameters' => [
1444 'merchantId' => [
1445 'location' => 'path',
1446 'type' => 'string',
1447 'required' => true,
1448 ],
1449 'targetMerchantId' => [
1450 'location' => 'path',
1451 'type' => 'string',
1452 'required' => true,
1453 ],
1454 'storeCode' => [
1455 'location' => 'path',
1456 'type' => 'string',
1457 'required' => true,
1458 ],
1459 ],
1460 ],'insert' => [
1461 'path' => '{merchantId}/pos/{targetMerchantId}/store',
1462 'httpMethod' => 'POST',
1463 'parameters' => [
1464 'merchantId' => [
1465 'location' => 'path',
1466 'type' => 'string',
1467 'required' => true,
1468 ],
1469 'targetMerchantId' => [
1470 'location' => 'path',
1471 'type' => 'string',
1472 'required' => true,
1473 ],
1474 ],
1475 ],'inventory' => [
1476 'path' => '{merchantId}/pos/{targetMerchantId}/inventory',
1477 'httpMethod' => 'POST',
1478 'parameters' => [
1479 'merchantId' => [
1480 'location' => 'path',
1481 'type' => 'string',
1482 'required' => true,
1483 ],
1484 'targetMerchantId' => [
1485 'location' => 'path',
1486 'type' => 'string',
1487 'required' => true,
1488 ],
1489 ],
1490 ],'list' => [
1491 'path' => '{merchantId}/pos/{targetMerchantId}/store',
1492 'httpMethod' => 'GET',
1493 'parameters' => [
1494 'merchantId' => [
1495 'location' => 'path',
1496 'type' => 'string',
1497 'required' => true,
1498 ],
1499 'targetMerchantId' => [
1500 'location' => 'path',
1501 'type' => 'string',
1502 'required' => true,
1503 ],
1504 ],
1505 ],'sale' => [
1506 'path' => '{merchantId}/pos/{targetMerchantId}/sale',
1507 'httpMethod' => 'POST',
1508 'parameters' => [
1509 'merchantId' => [
1510 'location' => 'path',
1511 'type' => 'string',
1512 'required' => true,
1513 ],
1514 'targetMerchantId' => [
1515 'location' => 'path',
1516 'type' => 'string',
1517 'required' => true,
1518 ],
1519 ],
1520 ],
1521 ]
1522 ]
1523 );
1524 $this->productdeliverytime = new ShoppingContent\Resource\Productdeliverytime(
1525 $this,
1526 $this->serviceName,
1527 'productdeliverytime',
1528 [
1529 'methods' => [
1530 'create' => [
1531 'path' => '{merchantId}/productdeliverytime',
1532 'httpMethod' => 'POST',
1533 'parameters' => [
1534 'merchantId' => [
1535 'location' => 'path',
1536 'type' => 'string',
1537 'required' => true,
1538 ],
1539 ],
1540 ],'delete' => [
1541 'path' => '{merchantId}/productdeliverytime/{productId}',
1542 'httpMethod' => 'DELETE',
1543 'parameters' => [
1544 'merchantId' => [
1545 'location' => 'path',
1546 'type' => 'string',
1547 'required' => true,
1548 ],
1549 'productId' => [
1550 'location' => 'path',
1551 'type' => 'string',
1552 'required' => true,
1553 ],
1554 ],
1555 ],'get' => [
1556 'path' => '{merchantId}/productdeliverytime/{productId}',
1557 'httpMethod' => 'GET',
1558 'parameters' => [
1559 'merchantId' => [
1560 'location' => 'path',
1561 'type' => 'string',
1562 'required' => true,
1563 ],
1564 'productId' => [
1565 'location' => 'path',
1566 'type' => 'string',
1567 'required' => true,
1568 ],
1569 ],
1570 ],
1571 ]
1572 ]
1573 );
1574 $this->products = new ShoppingContent\Resource\Products(
1575 $this,
1576 $this->serviceName,
1577 'products',
1578 [
1579 'methods' => [
1580 'custombatch' => [
1581 'path' => 'products/batch',
1582 'httpMethod' => 'POST',
1583 'parameters' => [],
1584 ],'delete' => [
1585 'path' => '{merchantId}/products/{productId}',
1586 'httpMethod' => 'DELETE',
1587 'parameters' => [
1588 'merchantId' => [
1589 'location' => 'path',
1590 'type' => 'string',
1591 'required' => true,
1592 ],
1593 'productId' => [
1594 'location' => 'path',
1595 'type' => 'string',
1596 'required' => true,
1597 ],
1598 'feedId' => [
1599 'location' => 'query',
1600 'type' => 'string',
1601 ],
1602 ],
1603 ],'get' => [
1604 'path' => '{merchantId}/products/{productId}',
1605 'httpMethod' => 'GET',
1606 'parameters' => [
1607 'merchantId' => [
1608 'location' => 'path',
1609 'type' => 'string',
1610 'required' => true,
1611 ],
1612 'productId' => [
1613 'location' => 'path',
1614 'type' => 'string',
1615 'required' => true,
1616 ],
1617 ],
1618 ],'insert' => [
1619 'path' => '{merchantId}/products',
1620 'httpMethod' => 'POST',
1621 'parameters' => [
1622 'merchantId' => [
1623 'location' => 'path',
1624 'type' => 'string',
1625 'required' => true,
1626 ],
1627 'feedId' => [
1628 'location' => 'query',
1629 'type' => 'string',
1630 ],
1631 ],
1632 ],'list' => [
1633 'path' => '{merchantId}/products',
1634 'httpMethod' => 'GET',
1635 'parameters' => [
1636 'merchantId' => [
1637 'location' => 'path',
1638 'type' => 'string',
1639 'required' => true,
1640 ],
1641 'maxResults' => [
1642 'location' => 'query',
1643 'type' => 'integer',
1644 ],
1645 'pageToken' => [
1646 'location' => 'query',
1647 'type' => 'string',
1648 ],
1649 ],
1650 ],'update' => [
1651 'path' => '{merchantId}/products/{productId}',
1652 'httpMethod' => 'PATCH',
1653 'parameters' => [
1654 'merchantId' => [
1655 'location' => 'path',
1656 'type' => 'string',
1657 'required' => true,
1658 ],
1659 'productId' => [
1660 'location' => 'path',
1661 'type' => 'string',
1662 'required' => true,
1663 ],
1664 'updateMask' => [
1665 'location' => 'query',
1666 'type' => 'string',
1667 ],
1668 ],
1669 ],
1670 ]
1671 ]
1672 );
1673 $this->productstatuses = new ShoppingContent\Resource\Productstatuses(
1674 $this,
1675 $this->serviceName,
1676 'productstatuses',
1677 [
1678 'methods' => [
1679 'custombatch' => [
1680 'path' => 'productstatuses/batch',
1681 'httpMethod' => 'POST',
1682 'parameters' => [],
1683 ],'get' => [
1684 'path' => '{merchantId}/productstatuses/{productId}',
1685 'httpMethod' => 'GET',
1686 'parameters' => [
1687 'merchantId' => [
1688 'location' => 'path',
1689 'type' => 'string',
1690 'required' => true,
1691 ],
1692 'productId' => [
1693 'location' => 'path',
1694 'type' => 'string',
1695 'required' => true,
1696 ],
1697 'destinations' => [
1698 'location' => 'query',
1699 'type' => 'string',
1700 'repeated' => true,
1701 ],
1702 ],
1703 ],'list' => [
1704 'path' => '{merchantId}/productstatuses',
1705 'httpMethod' => 'GET',
1706 'parameters' => [
1707 'merchantId' => [
1708 'location' => 'path',
1709 'type' => 'string',
1710 'required' => true,
1711 ],
1712 'destinations' => [
1713 'location' => 'query',
1714 'type' => 'string',
1715 'repeated' => true,
1716 ],
1717 'maxResults' => [
1718 'location' => 'query',
1719 'type' => 'integer',
1720 ],
1721 'pageToken' => [
1722 'location' => 'query',
1723 'type' => 'string',
1724 ],
1725 ],
1726 ],
1727 ]
1728 ]
1729 );
1730 $this->promotions = new ShoppingContent\Resource\Promotions(
1731 $this,
1732 $this->serviceName,
1733 'promotions',
1734 [
1735 'methods' => [
1736 'create' => [
1737 'path' => '{merchantId}/promotions',
1738 'httpMethod' => 'POST',
1739 'parameters' => [
1740 'merchantId' => [
1741 'location' => 'path',
1742 'type' => 'string',
1743 'required' => true,
1744 ],
1745 ],
1746 ],'get' => [
1747 'path' => '{merchantId}/promotions/{id}',
1748 'httpMethod' => 'GET',
1749 'parameters' => [
1750 'merchantId' => [
1751 'location' => 'path',
1752 'type' => 'string',
1753 'required' => true,
1754 ],
1755 'id' => [
1756 'location' => 'path',
1757 'type' => 'string',
1758 'required' => true,
1759 ],
1760 ],
1761 ],'list' => [
1762 'path' => '{merchantId}/promotions',
1763 'httpMethod' => 'GET',
1764 'parameters' => [
1765 'merchantId' => [
1766 'location' => 'path',
1767 'type' => 'string',
1768 'required' => true,
1769 ],
1770 'countryCode' => [
1771 'location' => 'query',
1772 'type' => 'string',
1773 ],
1774 'languageCode' => [
1775 'location' => 'query',
1776 'type' => 'string',
1777 ],
1778 'pageSize' => [
1779 'location' => 'query',
1780 'type' => 'integer',
1781 ],
1782 'pageToken' => [
1783 'location' => 'query',
1784 'type' => 'string',
1785 ],
1786 ],
1787 ],
1788 ]
1789 ]
1790 );
1791 $this->pubsubnotificationsettings = new ShoppingContent\Resource\Pubsubnotificationsettings(
1792 $this,
1793 $this->serviceName,
1794 'pubsubnotificationsettings',
1795 [
1796 'methods' => [
1797 'get' => [
1798 'path' => '{merchantId}/pubsubnotificationsettings',
1799 'httpMethod' => 'GET',
1800 'parameters' => [
1801 'merchantId' => [
1802 'location' => 'path',
1803 'type' => 'string',
1804 'required' => true,
1805 ],
1806 ],
1807 ],'update' => [
1808 'path' => '{merchantId}/pubsubnotificationsettings',
1809 'httpMethod' => 'PUT',
1810 'parameters' => [
1811 'merchantId' => [
1812 'location' => 'path',
1813 'type' => 'string',
1814 'required' => true,
1815 ],
1816 ],
1817 ],
1818 ]
1819 ]
1820 );
1821 $this->quotas = new ShoppingContent\Resource\Quotas(
1822 $this,
1823 $this->serviceName,
1824 'quotas',
1825 [
1826 'methods' => [
1827 'list' => [
1828 'path' => '{merchantId}/quotas',
1829 'httpMethod' => 'GET',
1830 'parameters' => [
1831 'merchantId' => [
1832 'location' => 'path',
1833 'type' => 'string',
1834 'required' => true,
1835 ],
1836 'pageSize' => [
1837 'location' => 'query',
1838 'type' => 'integer',
1839 ],
1840 'pageToken' => [
1841 'location' => 'query',
1842 'type' => 'string',
1843 ],
1844 ],
1845 ],
1846 ]
1847 ]
1848 );
1849 $this->recommendations = new ShoppingContent\Resource\Recommendations(
1850 $this,
1851 $this->serviceName,
1852 'recommendations',
1853 [
1854 'methods' => [
1855 'generate' => [
1856 'path' => '{merchantId}/recommendations/generate',
1857 'httpMethod' => 'GET',
1858 'parameters' => [
1859 'merchantId' => [
1860 'location' => 'path',
1861 'type' => 'string',
1862 'required' => true,
1863 ],
1864 'allowedTag' => [
1865 'location' => 'query',
1866 'type' => 'string',
1867 'repeated' => true,
1868 ],
1869 'languageCode' => [
1870 'location' => 'query',
1871 'type' => 'string',
1872 ],
1873 ],
1874 ],'reportInteraction' => [
1875 'path' => '{merchantId}/recommendations/reportInteraction',
1876 'httpMethod' => 'POST',
1877 'parameters' => [
1878 'merchantId' => [
1879 'location' => 'path',
1880 'type' => 'string',
1881 'required' => true,
1882 ],
1883 ],
1884 ],
1885 ]
1886 ]
1887 );
1888 $this->regionalinventory = new ShoppingContent\Resource\Regionalinventory(
1889 $this,
1890 $this->serviceName,
1891 'regionalinventory',
1892 [
1893 'methods' => [
1894 'custombatch' => [
1895 'path' => 'regionalinventory/batch',
1896 'httpMethod' => 'POST',
1897 'parameters' => [],
1898 ],'insert' => [
1899 'path' => '{merchantId}/products/{productId}/regionalinventory',
1900 'httpMethod' => 'POST',
1901 'parameters' => [
1902 'merchantId' => [
1903 'location' => 'path',
1904 'type' => 'string',
1905 'required' => true,
1906 ],
1907 'productId' => [
1908 'location' => 'path',
1909 'type' => 'string',
1910 'required' => true,
1911 ],
1912 ],
1913 ],
1914 ]
1915 ]
1916 );
1917 $this->regions = new ShoppingContent\Resource\Regions(
1918 $this,
1919 $this->serviceName,
1920 'regions',
1921 [
1922 'methods' => [
1923 'create' => [
1924 'path' => '{merchantId}/regions',
1925 'httpMethod' => 'POST',
1926 'parameters' => [
1927 'merchantId' => [
1928 'location' => 'path',
1929 'type' => 'string',
1930 'required' => true,
1931 ],
1932 'regionId' => [
1933 'location' => 'query',
1934 'type' => 'string',
1935 ],
1936 ],
1937 ],'delete' => [
1938 'path' => '{merchantId}/regions/{regionId}',
1939 'httpMethod' => 'DELETE',
1940 'parameters' => [
1941 'merchantId' => [
1942 'location' => 'path',
1943 'type' => 'string',
1944 'required' => true,
1945 ],
1946 'regionId' => [
1947 'location' => 'path',
1948 'type' => 'string',
1949 'required' => true,
1950 ],
1951 ],
1952 ],'get' => [
1953 'path' => '{merchantId}/regions/{regionId}',
1954 'httpMethod' => 'GET',
1955 'parameters' => [
1956 'merchantId' => [
1957 'location' => 'path',
1958 'type' => 'string',
1959 'required' => true,
1960 ],
1961 'regionId' => [
1962 'location' => 'path',
1963 'type' => 'string',
1964 'required' => true,
1965 ],
1966 ],
1967 ],'list' => [
1968 'path' => '{merchantId}/regions',
1969 'httpMethod' => 'GET',
1970 'parameters' => [
1971 'merchantId' => [
1972 'location' => 'path',
1973 'type' => 'string',
1974 'required' => true,
1975 ],
1976 'pageSize' => [
1977 'location' => 'query',
1978 'type' => 'integer',
1979 ],
1980 'pageToken' => [
1981 'location' => 'query',
1982 'type' => 'string',
1983 ],
1984 ],
1985 ],'patch' => [
1986 'path' => '{merchantId}/regions/{regionId}',
1987 'httpMethod' => 'PATCH',
1988 'parameters' => [
1989 'merchantId' => [
1990 'location' => 'path',
1991 'type' => 'string',
1992 'required' => true,
1993 ],
1994 'regionId' => [
1995 'location' => 'path',
1996 'type' => 'string',
1997 'required' => true,
1998 ],
1999 'updateMask' => [
2000 'location' => 'query',
2001 'type' => 'string',
2002 ],
2003 ],
2004 ],
2005 ]
2006 ]
2007 );
2008 $this->reports = new ShoppingContent\Resource\Reports(
2009 $this,
2010 $this->serviceName,
2011 'reports',
2012 [
2013 'methods' => [
2014 'search' => [
2015 'path' => '{merchantId}/reports/search',
2016 'httpMethod' => 'POST',
2017 'parameters' => [
2018 'merchantId' => [
2019 'location' => 'path',
2020 'type' => 'string',
2021 'required' => true,
2022 ],
2023 ],
2024 ],
2025 ]
2026 ]
2027 );
2028 $this->returnaddress = new ShoppingContent\Resource\Returnaddress(
2029 $this,
2030 $this->serviceName,
2031 'returnaddress',
2032 [
2033 'methods' => [
2034 'custombatch' => [
2035 'path' => 'returnaddress/batch',
2036 'httpMethod' => 'POST',
2037 'parameters' => [],
2038 ],'delete' => [
2039 'path' => '{merchantId}/returnaddress/{returnAddressId}',
2040 'httpMethod' => 'DELETE',
2041 'parameters' => [
2042 'merchantId' => [
2043 'location' => 'path',
2044 'type' => 'string',
2045 'required' => true,
2046 ],
2047 'returnAddressId' => [
2048 'location' => 'path',
2049 'type' => 'string',
2050 'required' => true,
2051 ],
2052 ],
2053 ],'get' => [
2054 'path' => '{merchantId}/returnaddress/{returnAddressId}',
2055 'httpMethod' => 'GET',
2056 'parameters' => [
2057 'merchantId' => [
2058 'location' => 'path',
2059 'type' => 'string',
2060 'required' => true,
2061 ],
2062 'returnAddressId' => [
2063 'location' => 'path',
2064 'type' => 'string',
2065 'required' => true,
2066 ],
2067 ],
2068 ],'insert' => [
2069 'path' => '{merchantId}/returnaddress',
2070 'httpMethod' => 'POST',
2071 'parameters' => [
2072 'merchantId' => [
2073 'location' => 'path',
2074 'type' => 'string',
2075 'required' => true,
2076 ],
2077 ],
2078 ],'list' => [
2079 'path' => '{merchantId}/returnaddress',
2080 'httpMethod' => 'GET',
2081 'parameters' => [
2082 'merchantId' => [
2083 'location' => 'path',
2084 'type' => 'string',
2085 'required' => true,
2086 ],
2087 'country' => [
2088 'location' => 'query',
2089 'type' => 'string',
2090 ],
2091 'maxResults' => [
2092 'location' => 'query',
2093 'type' => 'integer',
2094 ],
2095 'pageToken' => [
2096 'location' => 'query',
2097 'type' => 'string',
2098 ],
2099 ],
2100 ],
2101 ]
2102 ]
2103 );
2104 $this->returnpolicy = new ShoppingContent\Resource\Returnpolicy(
2105 $this,
2106 $this->serviceName,
2107 'returnpolicy',
2108 [
2109 'methods' => [
2110 'custombatch' => [
2111 'path' => 'returnpolicy/batch',
2112 'httpMethod' => 'POST',
2113 'parameters' => [],
2114 ],'delete' => [
2115 'path' => '{merchantId}/returnpolicy/{returnPolicyId}',
2116 'httpMethod' => 'DELETE',
2117 'parameters' => [
2118 'merchantId' => [
2119 'location' => 'path',
2120 'type' => 'string',
2121 'required' => true,
2122 ],
2123 'returnPolicyId' => [
2124 'location' => 'path',
2125 'type' => 'string',
2126 'required' => true,
2127 ],
2128 ],
2129 ],'get' => [
2130 'path' => '{merchantId}/returnpolicy/{returnPolicyId}',
2131 'httpMethod' => 'GET',
2132 'parameters' => [
2133 'merchantId' => [
2134 'location' => 'path',
2135 'type' => 'string',
2136 'required' => true,
2137 ],
2138 'returnPolicyId' => [
2139 'location' => 'path',
2140 'type' => 'string',
2141 'required' => true,
2142 ],
2143 ],
2144 ],'insert' => [
2145 'path' => '{merchantId}/returnpolicy',
2146 'httpMethod' => 'POST',
2147 'parameters' => [
2148 'merchantId' => [
2149 'location' => 'path',
2150 'type' => 'string',
2151 'required' => true,
2152 ],
2153 ],
2154 ],'list' => [
2155 'path' => '{merchantId}/returnpolicy',
2156 'httpMethod' => 'GET',
2157 'parameters' => [
2158 'merchantId' => [
2159 'location' => 'path',
2160 'type' => 'string',
2161 'required' => true,
2162 ],
2163 ],
2164 ],
2165 ]
2166 ]
2167 );
2168 $this->returnpolicyonline = new ShoppingContent\Resource\Returnpolicyonline(
2169 $this,
2170 $this->serviceName,
2171 'returnpolicyonline',
2172 [
2173 'methods' => [
2174 'create' => [
2175 'path' => '{merchantId}/returnpolicyonline',
2176 'httpMethod' => 'POST',
2177 'parameters' => [
2178 'merchantId' => [
2179 'location' => 'path',
2180 'type' => 'string',
2181 'required' => true,
2182 ],
2183 ],
2184 ],'delete' => [
2185 'path' => '{merchantId}/returnpolicyonline/{returnPolicyId}',
2186 'httpMethod' => 'DELETE',
2187 'parameters' => [
2188 'merchantId' => [
2189 'location' => 'path',
2190 'type' => 'string',
2191 'required' => true,
2192 ],
2193 'returnPolicyId' => [
2194 'location' => 'path',
2195 'type' => 'string',
2196 'required' => true,
2197 ],
2198 ],
2199 ],'get' => [
2200 'path' => '{merchantId}/returnpolicyonline/{returnPolicyId}',
2201 'httpMethod' => 'GET',
2202 'parameters' => [
2203 'merchantId' => [
2204 'location' => 'path',
2205 'type' => 'string',
2206 'required' => true,
2207 ],
2208 'returnPolicyId' => [
2209 'location' => 'path',
2210 'type' => 'string',
2211 'required' => true,
2212 ],
2213 ],
2214 ],'list' => [
2215 'path' => '{merchantId}/returnpolicyonline',
2216 'httpMethod' => 'GET',
2217 'parameters' => [
2218 'merchantId' => [
2219 'location' => 'path',
2220 'type' => 'string',
2221 'required' => true,
2222 ],
2223 ],
2224 ],'patch' => [
2225 'path' => '{merchantId}/returnpolicyonline/{returnPolicyId}',
2226 'httpMethod' => 'PATCH',
2227 'parameters' => [
2228 'merchantId' => [
2229 'location' => 'path',
2230 'type' => 'string',
2231 'required' => true,
2232 ],
2233 'returnPolicyId' => [
2234 'location' => 'path',
2235 'type' => 'string',
2236 'required' => true,
2237 ],
2238 ],
2239 ],
2240 ]
2241 ]
2242 );
2243 $this->shippingsettings = new ShoppingContent\Resource\Shippingsettings(
2244 $this,
2245 $this->serviceName,
2246 'shippingsettings',
2247 [
2248 'methods' => [
2249 'custombatch' => [
2250 'path' => 'shippingsettings/batch',
2251 'httpMethod' => 'POST',
2252 'parameters' => [],
2253 ],'get' => [
2254 'path' => '{merchantId}/shippingsettings/{accountId}',
2255 'httpMethod' => 'GET',
2256 'parameters' => [
2257 'merchantId' => [
2258 'location' => 'path',
2259 'type' => 'string',
2260 'required' => true,
2261 ],
2262 'accountId' => [
2263 'location' => 'path',
2264 'type' => 'string',
2265 'required' => true,
2266 ],
2267 ],
2268 ],'getsupportedcarriers' => [
2269 'path' => '{merchantId}/supportedCarriers',
2270 'httpMethod' => 'GET',
2271 'parameters' => [
2272 'merchantId' => [
2273 'location' => 'path',
2274 'type' => 'string',
2275 'required' => true,
2276 ],
2277 ],
2278 ],'getsupportedholidays' => [
2279 'path' => '{merchantId}/supportedHolidays',
2280 'httpMethod' => 'GET',
2281 'parameters' => [
2282 'merchantId' => [
2283 'location' => 'path',
2284 'type' => 'string',
2285 'required' => true,
2286 ],
2287 ],
2288 ],'getsupportedpickupservices' => [
2289 'path' => '{merchantId}/supportedPickupServices',
2290 'httpMethod' => 'GET',
2291 'parameters' => [
2292 'merchantId' => [
2293 'location' => 'path',
2294 'type' => 'string',
2295 'required' => true,
2296 ],
2297 ],
2298 ],'list' => [
2299 'path' => '{merchantId}/shippingsettings',
2300 'httpMethod' => 'GET',
2301 'parameters' => [
2302 'merchantId' => [
2303 'location' => 'path',
2304 'type' => 'string',
2305 'required' => true,
2306 ],
2307 'maxResults' => [
2308 'location' => 'query',
2309 'type' => 'integer',
2310 ],
2311 'pageToken' => [
2312 'location' => 'query',
2313 'type' => 'string',
2314 ],
2315 ],
2316 ],'update' => [
2317 'path' => '{merchantId}/shippingsettings/{accountId}',
2318 'httpMethod' => 'PUT',
2319 'parameters' => [
2320 'merchantId' => [
2321 'location' => 'path',
2322 'type' => 'string',
2323 'required' => true,
2324 ],
2325 'accountId' => [
2326 'location' => 'path',
2327 'type' => 'string',
2328 'required' => true,
2329 ],
2330 ],
2331 ],
2332 ]
2333 ]
2334 );
2335 $this->shoppingadsprogram = new ShoppingContent\Resource\Shoppingadsprogram(
2336 $this,
2337 $this->serviceName,
2338 'shoppingadsprogram',
2339 [
2340 'methods' => [
2341 'get' => [
2342 'path' => '{merchantId}/shoppingadsprogram',
2343 'httpMethod' => 'GET',
2344 'parameters' => [
2345 'merchantId' => [
2346 'location' => 'path',
2347 'type' => 'string',
2348 'required' => true,
2349 ],
2350 ],
2351 ],'requestreview' => [
2352 'path' => '{merchantId}/shoppingadsprogram/requestreview',
2353 'httpMethod' => 'POST',
2354 'parameters' => [
2355 'merchantId' => [
2356 'location' => 'path',
2357 'type' => 'string',
2358 'required' => true,
2359 ],
2360 ],
2361 ],
2362 ]
2363 ]
2364 );
2365 }
2366}
2367
2368// Adding a class alias for backwards compatibility with the previous class name.
2369class_alias(ShoppingContent::class, 'Google_Service_ShoppingContent');
Note: See TracBrowser for help on using the repository browser.