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