source: vendor/google/apiclient-services/src/Cloudchannel.php

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

Upload project files

  • Property mode set to 100644
File size: 36.2 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 Cloudchannel (v1).
24 *
25 * <p>
26 * The Cloud Channel API enables Google Cloud partners to have a single unified
27 * resale platform and APIs across all of Google Cloud including GCP, Workspace,
28 * Maps and Chrome.</p>
29 *
30 * <p>
31 * For more information about this service, see the API
32 * <a href="https://cloud.google.com/channel" target="_blank">Documentation</a>
33 * </p>
34 *
35 * @author Google, Inc.
36 */
37class Cloudchannel extends \Google\Service
38{
39 /** Manage users on your domain. */
40 const APPS_ORDER =
41 "https://www.googleapis.com/auth/apps.order";
42 /** View usage reports for your G Suite domain. */
43 const APPS_REPORTS_USAGE_READONLY =
44 "https://www.googleapis.com/auth/apps.reports.usage.readonly";
45
46 public $accounts;
47 public $accounts_channelPartnerLinks;
48 public $accounts_channelPartnerLinks_channelPartnerRepricingConfigs;
49 public $accounts_channelPartnerLinks_customers;
50 public $accounts_customers;
51 public $accounts_customers_customerRepricingConfigs;
52 public $accounts_customers_entitlements;
53 public $accounts_offers;
54 public $accounts_reportJobs;
55 public $accounts_reports;
56 public $accounts_skuGroups;
57 public $accounts_skuGroups_billableSkus;
58 public $integrators;
59 public $operations;
60 public $products;
61 public $products_skus;
62 public $rootUrlTemplate;
63
64 /**
65 * Constructs the internal representation of the Cloudchannel service.
66 *
67 * @param Client|array $clientOrConfig The client used to deliver requests, or a
68 * config array to pass to a new Client instance.
69 * @param string $rootUrl The root URL used for requests to the service.
70 */
71 public function __construct($clientOrConfig = [], $rootUrl = null)
72 {
73 parent::__construct($clientOrConfig);
74 $this->rootUrl = $rootUrl ?: 'https://cloudchannel.googleapis.com/';
75 $this->rootUrlTemplate = $rootUrl ?: 'https://cloudchannel.UNIVERSE_DOMAIN/';
76 $this->servicePath = '';
77 $this->batchPath = 'batch';
78 $this->version = 'v1';
79 $this->serviceName = 'cloudchannel';
80
81 $this->accounts = new Cloudchannel\Resource\Accounts(
82 $this,
83 $this->serviceName,
84 'accounts',
85 [
86 'methods' => [
87 'checkCloudIdentityAccountsExist' => [
88 'path' => 'v1/{+parent}:checkCloudIdentityAccountsExist',
89 'httpMethod' => 'POST',
90 'parameters' => [
91 'parent' => [
92 'location' => 'path',
93 'type' => 'string',
94 'required' => true,
95 ],
96 ],
97 ],'listSubscribers' => [
98 'path' => 'v1/{+account}:listSubscribers',
99 'httpMethod' => 'GET',
100 'parameters' => [
101 'account' => [
102 'location' => 'path',
103 'type' => 'string',
104 'required' => true,
105 ],
106 'integrator' => [
107 'location' => 'query',
108 'type' => 'string',
109 ],
110 'pageSize' => [
111 'location' => 'query',
112 'type' => 'integer',
113 ],
114 'pageToken' => [
115 'location' => 'query',
116 'type' => 'string',
117 ],
118 ],
119 ],'listTransferableOffers' => [
120 'path' => 'v1/{+parent}:listTransferableOffers',
121 'httpMethod' => 'POST',
122 'parameters' => [
123 'parent' => [
124 'location' => 'path',
125 'type' => 'string',
126 'required' => true,
127 ],
128 ],
129 ],'listTransferableSkus' => [
130 'path' => 'v1/{+parent}:listTransferableSkus',
131 'httpMethod' => 'POST',
132 'parameters' => [
133 'parent' => [
134 'location' => 'path',
135 'type' => 'string',
136 'required' => true,
137 ],
138 ],
139 ],'register' => [
140 'path' => 'v1/{+account}:register',
141 'httpMethod' => 'POST',
142 'parameters' => [
143 'account' => [
144 'location' => 'path',
145 'type' => 'string',
146 'required' => true,
147 ],
148 ],
149 ],'unregister' => [
150 'path' => 'v1/{+account}:unregister',
151 'httpMethod' => 'POST',
152 'parameters' => [
153 'account' => [
154 'location' => 'path',
155 'type' => 'string',
156 'required' => true,
157 ],
158 ],
159 ],
160 ]
161 ]
162 );
163 $this->accounts_channelPartnerLinks = new Cloudchannel\Resource\AccountsChannelPartnerLinks(
164 $this,
165 $this->serviceName,
166 'channelPartnerLinks',
167 [
168 'methods' => [
169 'create' => [
170 'path' => 'v1/{+parent}/channelPartnerLinks',
171 'httpMethod' => 'POST',
172 'parameters' => [
173 'parent' => [
174 'location' => 'path',
175 'type' => 'string',
176 'required' => true,
177 ],
178 ],
179 ],'get' => [
180 'path' => 'v1/{+name}',
181 'httpMethod' => 'GET',
182 'parameters' => [
183 'name' => [
184 'location' => 'path',
185 'type' => 'string',
186 'required' => true,
187 ],
188 'view' => [
189 'location' => 'query',
190 'type' => 'string',
191 ],
192 ],
193 ],'list' => [
194 'path' => 'v1/{+parent}/channelPartnerLinks',
195 'httpMethod' => 'GET',
196 'parameters' => [
197 'parent' => [
198 'location' => 'path',
199 'type' => 'string',
200 'required' => true,
201 ],
202 'pageSize' => [
203 'location' => 'query',
204 'type' => 'integer',
205 ],
206 'pageToken' => [
207 'location' => 'query',
208 'type' => 'string',
209 ],
210 'view' => [
211 'location' => 'query',
212 'type' => 'string',
213 ],
214 ],
215 ],'patch' => [
216 'path' => 'v1/{+name}',
217 'httpMethod' => 'PATCH',
218 'parameters' => [
219 'name' => [
220 'location' => 'path',
221 'type' => 'string',
222 'required' => true,
223 ],
224 ],
225 ],
226 ]
227 ]
228 );
229 $this->accounts_channelPartnerLinks_channelPartnerRepricingConfigs = new Cloudchannel\Resource\AccountsChannelPartnerLinksChannelPartnerRepricingConfigs(
230 $this,
231 $this->serviceName,
232 'channelPartnerRepricingConfigs',
233 [
234 'methods' => [
235 'create' => [
236 'path' => 'v1/{+parent}/channelPartnerRepricingConfigs',
237 'httpMethod' => 'POST',
238 'parameters' => [
239 'parent' => [
240 'location' => 'path',
241 'type' => 'string',
242 'required' => true,
243 ],
244 ],
245 ],'delete' => [
246 'path' => 'v1/{+name}',
247 'httpMethod' => 'DELETE',
248 'parameters' => [
249 'name' => [
250 'location' => 'path',
251 'type' => 'string',
252 'required' => true,
253 ],
254 ],
255 ],'get' => [
256 'path' => 'v1/{+name}',
257 'httpMethod' => 'GET',
258 'parameters' => [
259 'name' => [
260 'location' => 'path',
261 'type' => 'string',
262 'required' => true,
263 ],
264 ],
265 ],'list' => [
266 'path' => 'v1/{+parent}/channelPartnerRepricingConfigs',
267 'httpMethod' => 'GET',
268 'parameters' => [
269 'parent' => [
270 'location' => 'path',
271 'type' => 'string',
272 'required' => true,
273 ],
274 'filter' => [
275 'location' => 'query',
276 'type' => 'string',
277 ],
278 'pageSize' => [
279 'location' => 'query',
280 'type' => 'integer',
281 ],
282 'pageToken' => [
283 'location' => 'query',
284 'type' => 'string',
285 ],
286 ],
287 ],'patch' => [
288 'path' => 'v1/{+name}',
289 'httpMethod' => 'PATCH',
290 'parameters' => [
291 'name' => [
292 'location' => 'path',
293 'type' => 'string',
294 'required' => true,
295 ],
296 ],
297 ],
298 ]
299 ]
300 );
301 $this->accounts_channelPartnerLinks_customers = new Cloudchannel\Resource\AccountsChannelPartnerLinksCustomers(
302 $this,
303 $this->serviceName,
304 'customers',
305 [
306 'methods' => [
307 'create' => [
308 'path' => 'v1/{+parent}/customers',
309 'httpMethod' => 'POST',
310 'parameters' => [
311 'parent' => [
312 'location' => 'path',
313 'type' => 'string',
314 'required' => true,
315 ],
316 ],
317 ],'delete' => [
318 'path' => 'v1/{+name}',
319 'httpMethod' => 'DELETE',
320 'parameters' => [
321 'name' => [
322 'location' => 'path',
323 'type' => 'string',
324 'required' => true,
325 ],
326 ],
327 ],'get' => [
328 'path' => 'v1/{+name}',
329 'httpMethod' => 'GET',
330 'parameters' => [
331 'name' => [
332 'location' => 'path',
333 'type' => 'string',
334 'required' => true,
335 ],
336 ],
337 ],'import' => [
338 'path' => 'v1/{+parent}/customers:import',
339 'httpMethod' => 'POST',
340 'parameters' => [
341 'parent' => [
342 'location' => 'path',
343 'type' => 'string',
344 'required' => true,
345 ],
346 ],
347 ],'list' => [
348 'path' => 'v1/{+parent}/customers',
349 'httpMethod' => 'GET',
350 'parameters' => [
351 'parent' => [
352 'location' => 'path',
353 'type' => 'string',
354 'required' => true,
355 ],
356 'filter' => [
357 'location' => 'query',
358 'type' => 'string',
359 ],
360 'pageSize' => [
361 'location' => 'query',
362 'type' => 'integer',
363 ],
364 'pageToken' => [
365 'location' => 'query',
366 'type' => 'string',
367 ],
368 ],
369 ],'patch' => [
370 'path' => 'v1/{+name}',
371 'httpMethod' => 'PATCH',
372 'parameters' => [
373 'name' => [
374 'location' => 'path',
375 'type' => 'string',
376 'required' => true,
377 ],
378 'updateMask' => [
379 'location' => 'query',
380 'type' => 'string',
381 ],
382 ],
383 ],
384 ]
385 ]
386 );
387 $this->accounts_customers = new Cloudchannel\Resource\AccountsCustomers(
388 $this,
389 $this->serviceName,
390 'customers',
391 [
392 'methods' => [
393 'create' => [
394 'path' => 'v1/{+parent}/customers',
395 'httpMethod' => 'POST',
396 'parameters' => [
397 'parent' => [
398 'location' => 'path',
399 'type' => 'string',
400 'required' => true,
401 ],
402 ],
403 ],'delete' => [
404 'path' => 'v1/{+name}',
405 'httpMethod' => 'DELETE',
406 'parameters' => [
407 'name' => [
408 'location' => 'path',
409 'type' => 'string',
410 'required' => true,
411 ],
412 ],
413 ],'get' => [
414 'path' => 'v1/{+name}',
415 'httpMethod' => 'GET',
416 'parameters' => [
417 'name' => [
418 'location' => 'path',
419 'type' => 'string',
420 'required' => true,
421 ],
422 ],
423 ],'import' => [
424 'path' => 'v1/{+parent}/customers:import',
425 'httpMethod' => 'POST',
426 'parameters' => [
427 'parent' => [
428 'location' => 'path',
429 'type' => 'string',
430 'required' => true,
431 ],
432 ],
433 ],'list' => [
434 'path' => 'v1/{+parent}/customers',
435 'httpMethod' => 'GET',
436 'parameters' => [
437 'parent' => [
438 'location' => 'path',
439 'type' => 'string',
440 'required' => true,
441 ],
442 'filter' => [
443 'location' => 'query',
444 'type' => 'string',
445 ],
446 'pageSize' => [
447 'location' => 'query',
448 'type' => 'integer',
449 ],
450 'pageToken' => [
451 'location' => 'query',
452 'type' => 'string',
453 ],
454 ],
455 ],'listPurchasableOffers' => [
456 'path' => 'v1/{+customer}:listPurchasableOffers',
457 'httpMethod' => 'GET',
458 'parameters' => [
459 'customer' => [
460 'location' => 'path',
461 'type' => 'string',
462 'required' => true,
463 ],
464 'changeOfferPurchase.billingAccount' => [
465 'location' => 'query',
466 'type' => 'string',
467 ],
468 'changeOfferPurchase.entitlement' => [
469 'location' => 'query',
470 'type' => 'string',
471 ],
472 'changeOfferPurchase.newSku' => [
473 'location' => 'query',
474 'type' => 'string',
475 ],
476 'createEntitlementPurchase.billingAccount' => [
477 'location' => 'query',
478 'type' => 'string',
479 ],
480 'createEntitlementPurchase.sku' => [
481 'location' => 'query',
482 'type' => 'string',
483 ],
484 'languageCode' => [
485 'location' => 'query',
486 'type' => 'string',
487 ],
488 'pageSize' => [
489 'location' => 'query',
490 'type' => 'integer',
491 ],
492 'pageToken' => [
493 'location' => 'query',
494 'type' => 'string',
495 ],
496 ],
497 ],'listPurchasableSkus' => [
498 'path' => 'v1/{+customer}:listPurchasableSkus',
499 'httpMethod' => 'GET',
500 'parameters' => [
501 'customer' => [
502 'location' => 'path',
503 'type' => 'string',
504 'required' => true,
505 ],
506 'changeOfferPurchase.changeType' => [
507 'location' => 'query',
508 'type' => 'string',
509 ],
510 'changeOfferPurchase.entitlement' => [
511 'location' => 'query',
512 'type' => 'string',
513 ],
514 'createEntitlementPurchase.product' => [
515 'location' => 'query',
516 'type' => 'string',
517 ],
518 'languageCode' => [
519 'location' => 'query',
520 'type' => 'string',
521 ],
522 'pageSize' => [
523 'location' => 'query',
524 'type' => 'integer',
525 ],
526 'pageToken' => [
527 'location' => 'query',
528 'type' => 'string',
529 ],
530 ],
531 ],'patch' => [
532 'path' => 'v1/{+name}',
533 'httpMethod' => 'PATCH',
534 'parameters' => [
535 'name' => [
536 'location' => 'path',
537 'type' => 'string',
538 'required' => true,
539 ],
540 'updateMask' => [
541 'location' => 'query',
542 'type' => 'string',
543 ],
544 ],
545 ],'provisionCloudIdentity' => [
546 'path' => 'v1/{+customer}:provisionCloudIdentity',
547 'httpMethod' => 'POST',
548 'parameters' => [
549 'customer' => [
550 'location' => 'path',
551 'type' => 'string',
552 'required' => true,
553 ],
554 ],
555 ],'queryEligibleBillingAccounts' => [
556 'path' => 'v1/{+customer}:queryEligibleBillingAccounts',
557 'httpMethod' => 'GET',
558 'parameters' => [
559 'customer' => [
560 'location' => 'path',
561 'type' => 'string',
562 'required' => true,
563 ],
564 'skus' => [
565 'location' => 'query',
566 'type' => 'string',
567 'repeated' => true,
568 ],
569 ],
570 ],'transferEntitlements' => [
571 'path' => 'v1/{+parent}:transferEntitlements',
572 'httpMethod' => 'POST',
573 'parameters' => [
574 'parent' => [
575 'location' => 'path',
576 'type' => 'string',
577 'required' => true,
578 ],
579 ],
580 ],'transferEntitlementsToGoogle' => [
581 'path' => 'v1/{+parent}:transferEntitlementsToGoogle',
582 'httpMethod' => 'POST',
583 'parameters' => [
584 'parent' => [
585 'location' => 'path',
586 'type' => 'string',
587 'required' => true,
588 ],
589 ],
590 ],
591 ]
592 ]
593 );
594 $this->accounts_customers_customerRepricingConfigs = new Cloudchannel\Resource\AccountsCustomersCustomerRepricingConfigs(
595 $this,
596 $this->serviceName,
597 'customerRepricingConfigs',
598 [
599 'methods' => [
600 'create' => [
601 'path' => 'v1/{+parent}/customerRepricingConfigs',
602 'httpMethod' => 'POST',
603 'parameters' => [
604 'parent' => [
605 'location' => 'path',
606 'type' => 'string',
607 'required' => true,
608 ],
609 ],
610 ],'delete' => [
611 'path' => 'v1/{+name}',
612 'httpMethod' => 'DELETE',
613 'parameters' => [
614 'name' => [
615 'location' => 'path',
616 'type' => 'string',
617 'required' => true,
618 ],
619 ],
620 ],'get' => [
621 'path' => 'v1/{+name}',
622 'httpMethod' => 'GET',
623 'parameters' => [
624 'name' => [
625 'location' => 'path',
626 'type' => 'string',
627 'required' => true,
628 ],
629 ],
630 ],'list' => [
631 'path' => 'v1/{+parent}/customerRepricingConfigs',
632 'httpMethod' => 'GET',
633 'parameters' => [
634 'parent' => [
635 'location' => 'path',
636 'type' => 'string',
637 'required' => true,
638 ],
639 'filter' => [
640 'location' => 'query',
641 'type' => 'string',
642 ],
643 'pageSize' => [
644 'location' => 'query',
645 'type' => 'integer',
646 ],
647 'pageToken' => [
648 'location' => 'query',
649 'type' => 'string',
650 ],
651 ],
652 ],'patch' => [
653 'path' => 'v1/{+name}',
654 'httpMethod' => 'PATCH',
655 'parameters' => [
656 'name' => [
657 'location' => 'path',
658 'type' => 'string',
659 'required' => true,
660 ],
661 ],
662 ],
663 ]
664 ]
665 );
666 $this->accounts_customers_entitlements = new Cloudchannel\Resource\AccountsCustomersEntitlements(
667 $this,
668 $this->serviceName,
669 'entitlements',
670 [
671 'methods' => [
672 'activate' => [
673 'path' => 'v1/{+name}:activate',
674 'httpMethod' => 'POST',
675 'parameters' => [
676 'name' => [
677 'location' => 'path',
678 'type' => 'string',
679 'required' => true,
680 ],
681 ],
682 ],'cancel' => [
683 'path' => 'v1/{+name}:cancel',
684 'httpMethod' => 'POST',
685 'parameters' => [
686 'name' => [
687 'location' => 'path',
688 'type' => 'string',
689 'required' => true,
690 ],
691 ],
692 ],'changeOffer' => [
693 'path' => 'v1/{+name}:changeOffer',
694 'httpMethod' => 'POST',
695 'parameters' => [
696 'name' => [
697 'location' => 'path',
698 'type' => 'string',
699 'required' => true,
700 ],
701 ],
702 ],'changeParameters' => [
703 'path' => 'v1/{+name}:changeParameters',
704 'httpMethod' => 'POST',
705 'parameters' => [
706 'name' => [
707 'location' => 'path',
708 'type' => 'string',
709 'required' => true,
710 ],
711 ],
712 ],'changeRenewalSettings' => [
713 'path' => 'v1/{+name}:changeRenewalSettings',
714 'httpMethod' => 'POST',
715 'parameters' => [
716 'name' => [
717 'location' => 'path',
718 'type' => 'string',
719 'required' => true,
720 ],
721 ],
722 ],'create' => [
723 'path' => 'v1/{+parent}/entitlements',
724 'httpMethod' => 'POST',
725 'parameters' => [
726 'parent' => [
727 'location' => 'path',
728 'type' => 'string',
729 'required' => true,
730 ],
731 ],
732 ],'get' => [
733 'path' => 'v1/{+name}',
734 'httpMethod' => 'GET',
735 'parameters' => [
736 'name' => [
737 'location' => 'path',
738 'type' => 'string',
739 'required' => true,
740 ],
741 ],
742 ],'list' => [
743 'path' => 'v1/{+parent}/entitlements',
744 'httpMethod' => 'GET',
745 'parameters' => [
746 'parent' => [
747 'location' => 'path',
748 'type' => 'string',
749 'required' => true,
750 ],
751 'pageSize' => [
752 'location' => 'query',
753 'type' => 'integer',
754 ],
755 'pageToken' => [
756 'location' => 'query',
757 'type' => 'string',
758 ],
759 ],
760 ],'listEntitlementChanges' => [
761 'path' => 'v1/{+parent}:listEntitlementChanges',
762 'httpMethod' => 'GET',
763 'parameters' => [
764 'parent' => [
765 'location' => 'path',
766 'type' => 'string',
767 'required' => true,
768 ],
769 'filter' => [
770 'location' => 'query',
771 'type' => 'string',
772 ],
773 'pageSize' => [
774 'location' => 'query',
775 'type' => 'integer',
776 ],
777 'pageToken' => [
778 'location' => 'query',
779 'type' => 'string',
780 ],
781 ],
782 ],'lookupOffer' => [
783 'path' => 'v1/{+entitlement}:lookupOffer',
784 'httpMethod' => 'GET',
785 'parameters' => [
786 'entitlement' => [
787 'location' => 'path',
788 'type' => 'string',
789 'required' => true,
790 ],
791 ],
792 ],'startPaidService' => [
793 'path' => 'v1/{+name}:startPaidService',
794 'httpMethod' => 'POST',
795 'parameters' => [
796 'name' => [
797 'location' => 'path',
798 'type' => 'string',
799 'required' => true,
800 ],
801 ],
802 ],'suspend' => [
803 'path' => 'v1/{+name}:suspend',
804 'httpMethod' => 'POST',
805 'parameters' => [
806 'name' => [
807 'location' => 'path',
808 'type' => 'string',
809 'required' => true,
810 ],
811 ],
812 ],
813 ]
814 ]
815 );
816 $this->accounts_offers = new Cloudchannel\Resource\AccountsOffers(
817 $this,
818 $this->serviceName,
819 'offers',
820 [
821 'methods' => [
822 'list' => [
823 'path' => 'v1/{+parent}/offers',
824 'httpMethod' => 'GET',
825 'parameters' => [
826 'parent' => [
827 'location' => 'path',
828 'type' => 'string',
829 'required' => true,
830 ],
831 'filter' => [
832 'location' => 'query',
833 'type' => 'string',
834 ],
835 'languageCode' => [
836 'location' => 'query',
837 'type' => 'string',
838 ],
839 'pageSize' => [
840 'location' => 'query',
841 'type' => 'integer',
842 ],
843 'pageToken' => [
844 'location' => 'query',
845 'type' => 'string',
846 ],
847 'showFutureOffers' => [
848 'location' => 'query',
849 'type' => 'boolean',
850 ],
851 ],
852 ],
853 ]
854 ]
855 );
856 $this->accounts_reportJobs = new Cloudchannel\Resource\AccountsReportJobs(
857 $this,
858 $this->serviceName,
859 'reportJobs',
860 [
861 'methods' => [
862 'fetchReportResults' => [
863 'path' => 'v1/{+reportJob}:fetchReportResults',
864 'httpMethod' => 'POST',
865 'parameters' => [
866 'reportJob' => [
867 'location' => 'path',
868 'type' => 'string',
869 'required' => true,
870 ],
871 ],
872 ],
873 ]
874 ]
875 );
876 $this->accounts_reports = new Cloudchannel\Resource\AccountsReports(
877 $this,
878 $this->serviceName,
879 'reports',
880 [
881 'methods' => [
882 'list' => [
883 'path' => 'v1/{+parent}/reports',
884 'httpMethod' => 'GET',
885 'parameters' => [
886 'parent' => [
887 'location' => 'path',
888 'type' => 'string',
889 'required' => true,
890 ],
891 'languageCode' => [
892 'location' => 'query',
893 'type' => 'string',
894 ],
895 'pageSize' => [
896 'location' => 'query',
897 'type' => 'integer',
898 ],
899 'pageToken' => [
900 'location' => 'query',
901 'type' => 'string',
902 ],
903 ],
904 ],'run' => [
905 'path' => 'v1/{+name}:run',
906 'httpMethod' => 'POST',
907 'parameters' => [
908 'name' => [
909 'location' => 'path',
910 'type' => 'string',
911 'required' => true,
912 ],
913 ],
914 ],
915 ]
916 ]
917 );
918 $this->accounts_skuGroups = new Cloudchannel\Resource\AccountsSkuGroups(
919 $this,
920 $this->serviceName,
921 'skuGroups',
922 [
923 'methods' => [
924 'list' => [
925 'path' => 'v1/{+parent}/skuGroups',
926 'httpMethod' => 'GET',
927 'parameters' => [
928 'parent' => [
929 'location' => 'path',
930 'type' => 'string',
931 'required' => true,
932 ],
933 'pageSize' => [
934 'location' => 'query',
935 'type' => 'integer',
936 ],
937 'pageToken' => [
938 'location' => 'query',
939 'type' => 'string',
940 ],
941 ],
942 ],
943 ]
944 ]
945 );
946 $this->accounts_skuGroups_billableSkus = new Cloudchannel\Resource\AccountsSkuGroupsBillableSkus(
947 $this,
948 $this->serviceName,
949 'billableSkus',
950 [
951 'methods' => [
952 'list' => [
953 'path' => 'v1/{+parent}/billableSkus',
954 'httpMethod' => 'GET',
955 'parameters' => [
956 'parent' => [
957 'location' => 'path',
958 'type' => 'string',
959 'required' => true,
960 ],
961 'pageSize' => [
962 'location' => 'query',
963 'type' => 'integer',
964 ],
965 'pageToken' => [
966 'location' => 'query',
967 'type' => 'string',
968 ],
969 ],
970 ],
971 ]
972 ]
973 );
974 $this->integrators = new Cloudchannel\Resource\Integrators(
975 $this,
976 $this->serviceName,
977 'integrators',
978 [
979 'methods' => [
980 'listSubscribers' => [
981 'path' => 'v1/{+integrator}:listSubscribers',
982 'httpMethod' => 'GET',
983 'parameters' => [
984 'integrator' => [
985 'location' => 'path',
986 'type' => 'string',
987 'required' => true,
988 ],
989 'account' => [
990 'location' => 'query',
991 'type' => 'string',
992 ],
993 'pageSize' => [
994 'location' => 'query',
995 'type' => 'integer',
996 ],
997 'pageToken' => [
998 'location' => 'query',
999 'type' => 'string',
1000 ],
1001 ],
1002 ],'registerSubscriber' => [
1003 'path' => 'v1/{+integrator}:registerSubscriber',
1004 'httpMethod' => 'POST',
1005 'parameters' => [
1006 'integrator' => [
1007 'location' => 'path',
1008 'type' => 'string',
1009 'required' => true,
1010 ],
1011 ],
1012 ],'unregisterSubscriber' => [
1013 'path' => 'v1/{+integrator}:unregisterSubscriber',
1014 'httpMethod' => 'POST',
1015 'parameters' => [
1016 'integrator' => [
1017 'location' => 'path',
1018 'type' => 'string',
1019 'required' => true,
1020 ],
1021 ],
1022 ],
1023 ]
1024 ]
1025 );
1026 $this->operations = new Cloudchannel\Resource\Operations(
1027 $this,
1028 $this->serviceName,
1029 'operations',
1030 [
1031 'methods' => [
1032 'cancel' => [
1033 'path' => 'v1/{+name}:cancel',
1034 'httpMethod' => 'POST',
1035 'parameters' => [
1036 'name' => [
1037 'location' => 'path',
1038 'type' => 'string',
1039 'required' => true,
1040 ],
1041 ],
1042 ],'delete' => [
1043 'path' => 'v1/{+name}',
1044 'httpMethod' => 'DELETE',
1045 'parameters' => [
1046 'name' => [
1047 'location' => 'path',
1048 'type' => 'string',
1049 'required' => true,
1050 ],
1051 ],
1052 ],'get' => [
1053 'path' => 'v1/{+name}',
1054 'httpMethod' => 'GET',
1055 'parameters' => [
1056 'name' => [
1057 'location' => 'path',
1058 'type' => 'string',
1059 'required' => true,
1060 ],
1061 ],
1062 ],'list' => [
1063 'path' => 'v1/{+name}',
1064 'httpMethod' => 'GET',
1065 'parameters' => [
1066 'name' => [
1067 'location' => 'path',
1068 'type' => 'string',
1069 'required' => true,
1070 ],
1071 'filter' => [
1072 'location' => 'query',
1073 'type' => 'string',
1074 ],
1075 'pageSize' => [
1076 'location' => 'query',
1077 'type' => 'integer',
1078 ],
1079 'pageToken' => [
1080 'location' => 'query',
1081 'type' => 'string',
1082 ],
1083 ],
1084 ],
1085 ]
1086 ]
1087 );
1088 $this->products = new Cloudchannel\Resource\Products(
1089 $this,
1090 $this->serviceName,
1091 'products',
1092 [
1093 'methods' => [
1094 'list' => [
1095 'path' => 'v1/products',
1096 'httpMethod' => 'GET',
1097 'parameters' => [
1098 'account' => [
1099 'location' => 'query',
1100 'type' => 'string',
1101 ],
1102 'languageCode' => [
1103 'location' => 'query',
1104 'type' => 'string',
1105 ],
1106 'pageSize' => [
1107 'location' => 'query',
1108 'type' => 'integer',
1109 ],
1110 'pageToken' => [
1111 'location' => 'query',
1112 'type' => 'string',
1113 ],
1114 ],
1115 ],
1116 ]
1117 ]
1118 );
1119 $this->products_skus = new Cloudchannel\Resource\ProductsSkus(
1120 $this,
1121 $this->serviceName,
1122 'skus',
1123 [
1124 'methods' => [
1125 'list' => [
1126 'path' => 'v1/{+parent}/skus',
1127 'httpMethod' => 'GET',
1128 'parameters' => [
1129 'parent' => [
1130 'location' => 'path',
1131 'type' => 'string',
1132 'required' => true,
1133 ],
1134 'account' => [
1135 'location' => 'query',
1136 'type' => 'string',
1137 ],
1138 'languageCode' => [
1139 'location' => 'query',
1140 'type' => 'string',
1141 ],
1142 'pageSize' => [
1143 'location' => 'query',
1144 'type' => 'integer',
1145 ],
1146 'pageToken' => [
1147 'location' => 'query',
1148 'type' => 'string',
1149 ],
1150 ],
1151 ],
1152 ]
1153 ]
1154 );
1155 }
1156}
1157
1158// Adding a class alias for backwards compatibility with the previous class name.
1159class_alias(Cloudchannel::class, 'Google_Service_Cloudchannel');
Note: See TracBrowser for help on using the repository browser.