Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
<?php
2
/*
3
 * Copyright 2010 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
 
18
/**
19
 * Service definition for AndroidPublisher (v2).
20
 *
21
 * <p>
22
 * Lets Android application developers access their Google Play accounts.</p>
23
 *
24
 * <p>
25
 * For more information about this service, see the API
26
 * <a href="https://developers.google.com/android-publisher" target="_blank">Documentation</a>
27
 * </p>
28
 *
29
 * @author Google, Inc.
30
 */
31
#[AllowDynamicProperties]
32
class Google_Service_AndroidPublisher extends Google_Service
33
{
34
  /** View and manage your Google Play Developer account. */
35
  const ANDROIDPUBLISHER =
36
      "https://www.googleapis.com/auth/androidpublisher";
37
 
38
  public $edits;
39
  public $edits_apklistings;
40
  public $edits_apks;
41
  public $edits_details;
42
  public $edits_expansionfiles;
43
  public $edits_images;
44
  public $edits_listings;
45
  public $edits_testers;
46
  public $edits_tracks;
47
  public $entitlements;
48
  public $inappproducts;
49
  public $purchases_products;
50
  public $purchases_subscriptions;
51
 
52
 
53
  /**
54
   * Constructs the internal representation of the AndroidPublisher service.
55
   *
56
   * @param Google_Client $client
57
   */
58
  public function __construct(Google_Client $client)
59
  {
60
    parent::__construct($client);
61
    $this->rootUrl = 'https://www.googleapis.com/';
62
    $this->servicePath = 'androidpublisher/v2/applications/';
63
    $this->version = 'v2';
64
    $this->serviceName = 'androidpublisher';
65
 
66
    $this->edits = new Google_Service_AndroidPublisher_Edits_Resource(
67
        $this,
68
        $this->serviceName,
69
        'edits',
70
        array(
71
          'methods' => array(
72
            'commit' => array(
73
              'path' => '{packageName}/edits/{editId}:commit',
74
              'httpMethod' => 'POST',
75
              'parameters' => array(
76
                'packageName' => array(
77
                  'location' => 'path',
78
                  'type' => 'string',
79
                  'required' => true,
80
                ),
81
                'editId' => array(
82
                  'location' => 'path',
83
                  'type' => 'string',
84
                  'required' => true,
85
                ),
86
              ),
87
            ),'delete' => array(
88
              'path' => '{packageName}/edits/{editId}',
89
              'httpMethod' => 'DELETE',
90
              'parameters' => array(
91
                'packageName' => array(
92
                  'location' => 'path',
93
                  'type' => 'string',
94
                  'required' => true,
95
                ),
96
                'editId' => array(
97
                  'location' => 'path',
98
                  'type' => 'string',
99
                  'required' => true,
100
                ),
101
              ),
102
            ),'get' => array(
103
              'path' => '{packageName}/edits/{editId}',
104
              'httpMethod' => 'GET',
105
              'parameters' => array(
106
                'packageName' => array(
107
                  'location' => 'path',
108
                  'type' => 'string',
109
                  'required' => true,
110
                ),
111
                'editId' => array(
112
                  'location' => 'path',
113
                  'type' => 'string',
114
                  'required' => true,
115
                ),
116
              ),
117
            ),'insert' => array(
118
              'path' => '{packageName}/edits',
119
              'httpMethod' => 'POST',
120
              'parameters' => array(
121
                'packageName' => array(
122
                  'location' => 'path',
123
                  'type' => 'string',
124
                  'required' => true,
125
                ),
126
              ),
127
            ),'validate' => array(
128
              'path' => '{packageName}/edits/{editId}:validate',
129
              'httpMethod' => 'POST',
130
              'parameters' => array(
131
                'packageName' => array(
132
                  'location' => 'path',
133
                  'type' => 'string',
134
                  'required' => true,
135
                ),
136
                'editId' => array(
137
                  'location' => 'path',
138
                  'type' => 'string',
139
                  'required' => true,
140
                ),
141
              ),
142
            ),
143
          )
144
        )
145
    );
146
    $this->edits_apklistings = new Google_Service_AndroidPublisher_EditsApklistings_Resource(
147
        $this,
148
        $this->serviceName,
149
        'apklistings',
150
        array(
151
          'methods' => array(
152
            'delete' => array(
153
              'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}',
154
              'httpMethod' => 'DELETE',
155
              'parameters' => array(
156
                'packageName' => array(
157
                  'location' => 'path',
158
                  'type' => 'string',
159
                  'required' => true,
160
                ),
161
                'editId' => array(
162
                  'location' => 'path',
163
                  'type' => 'string',
164
                  'required' => true,
165
                ),
166
                'apkVersionCode' => array(
167
                  'location' => 'path',
168
                  'type' => 'integer',
169
                  'required' => true,
170
                ),
171
                'language' => array(
172
                  'location' => 'path',
173
                  'type' => 'string',
174
                  'required' => true,
175
                ),
176
              ),
177
            ),'deleteall' => array(
178
              'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings',
179
              'httpMethod' => 'DELETE',
180
              'parameters' => array(
181
                'packageName' => array(
182
                  'location' => 'path',
183
                  'type' => 'string',
184
                  'required' => true,
185
                ),
186
                'editId' => array(
187
                  'location' => 'path',
188
                  'type' => 'string',
189
                  'required' => true,
190
                ),
191
                'apkVersionCode' => array(
192
                  'location' => 'path',
193
                  'type' => 'integer',
194
                  'required' => true,
195
                ),
196
              ),
197
            ),'get' => array(
198
              'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}',
199
              'httpMethod' => 'GET',
200
              'parameters' => array(
201
                'packageName' => array(
202
                  'location' => 'path',
203
                  'type' => 'string',
204
                  'required' => true,
205
                ),
206
                'editId' => array(
207
                  'location' => 'path',
208
                  'type' => 'string',
209
                  'required' => true,
210
                ),
211
                'apkVersionCode' => array(
212
                  'location' => 'path',
213
                  'type' => 'integer',
214
                  'required' => true,
215
                ),
216
                'language' => array(
217
                  'location' => 'path',
218
                  'type' => 'string',
219
                  'required' => true,
220
                ),
221
              ),
222
            ),'list' => array(
223
              'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings',
224
              'httpMethod' => 'GET',
225
              'parameters' => array(
226
                'packageName' => array(
227
                  'location' => 'path',
228
                  'type' => 'string',
229
                  'required' => true,
230
                ),
231
                'editId' => array(
232
                  'location' => 'path',
233
                  'type' => 'string',
234
                  'required' => true,
235
                ),
236
                'apkVersionCode' => array(
237
                  'location' => 'path',
238
                  'type' => 'integer',
239
                  'required' => true,
240
                ),
241
              ),
242
            ),'patch' => array(
243
              'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}',
244
              'httpMethod' => 'PATCH',
245
              'parameters' => array(
246
                'packageName' => array(
247
                  'location' => 'path',
248
                  'type' => 'string',
249
                  'required' => true,
250
                ),
251
                'editId' => array(
252
                  'location' => 'path',
253
                  'type' => 'string',
254
                  'required' => true,
255
                ),
256
                'apkVersionCode' => array(
257
                  'location' => 'path',
258
                  'type' => 'integer',
259
                  'required' => true,
260
                ),
261
                'language' => array(
262
                  'location' => 'path',
263
                  'type' => 'string',
264
                  'required' => true,
265
                ),
266
              ),
267
            ),'update' => array(
268
              'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}',
269
              'httpMethod' => 'PUT',
270
              'parameters' => array(
271
                'packageName' => array(
272
                  'location' => 'path',
273
                  'type' => 'string',
274
                  'required' => true,
275
                ),
276
                'editId' => array(
277
                  'location' => 'path',
278
                  'type' => 'string',
279
                  'required' => true,
280
                ),
281
                'apkVersionCode' => array(
282
                  'location' => 'path',
283
                  'type' => 'integer',
284
                  'required' => true,
285
                ),
286
                'language' => array(
287
                  'location' => 'path',
288
                  'type' => 'string',
289
                  'required' => true,
290
                ),
291
              ),
292
            ),
293
          )
294
        )
295
    );
296
    $this->edits_apks = new Google_Service_AndroidPublisher_EditsApks_Resource(
297
        $this,
298
        $this->serviceName,
299
        'apks',
300
        array(
301
          'methods' => array(
302
            'addexternallyhosted' => array(
303
              'path' => '{packageName}/edits/{editId}/apks/externallyHosted',
304
              'httpMethod' => 'POST',
305
              'parameters' => array(
306
                'packageName' => array(
307
                  'location' => 'path',
308
                  'type' => 'string',
309
                  'required' => true,
310
                ),
311
                'editId' => array(
312
                  'location' => 'path',
313
                  'type' => 'string',
314
                  'required' => true,
315
                ),
316
              ),
317
            ),'list' => array(
318
              'path' => '{packageName}/edits/{editId}/apks',
319
              'httpMethod' => 'GET',
320
              'parameters' => array(
321
                'packageName' => array(
322
                  'location' => 'path',
323
                  'type' => 'string',
324
                  'required' => true,
325
                ),
326
                'editId' => array(
327
                  'location' => 'path',
328
                  'type' => 'string',
329
                  'required' => true,
330
                ),
331
              ),
332
            ),'upload' => array(
333
              'path' => '{packageName}/edits/{editId}/apks',
334
              'httpMethod' => 'POST',
335
              'parameters' => array(
336
                'packageName' => array(
337
                  'location' => 'path',
338
                  'type' => 'string',
339
                  'required' => true,
340
                ),
341
                'editId' => array(
342
                  'location' => 'path',
343
                  'type' => 'string',
344
                  'required' => true,
345
                ),
346
              ),
347
            ),
348
          )
349
        )
350
    );
351
    $this->edits_details = new Google_Service_AndroidPublisher_EditsDetails_Resource(
352
        $this,
353
        $this->serviceName,
354
        'details',
355
        array(
356
          'methods' => array(
357
            'get' => array(
358
              'path' => '{packageName}/edits/{editId}/details',
359
              'httpMethod' => 'GET',
360
              'parameters' => array(
361
                'packageName' => array(
362
                  'location' => 'path',
363
                  'type' => 'string',
364
                  'required' => true,
365
                ),
366
                'editId' => array(
367
                  'location' => 'path',
368
                  'type' => 'string',
369
                  'required' => true,
370
                ),
371
              ),
372
            ),'patch' => array(
373
              'path' => '{packageName}/edits/{editId}/details',
374
              'httpMethod' => 'PATCH',
375
              'parameters' => array(
376
                'packageName' => array(
377
                  'location' => 'path',
378
                  'type' => 'string',
379
                  'required' => true,
380
                ),
381
                'editId' => array(
382
                  'location' => 'path',
383
                  'type' => 'string',
384
                  'required' => true,
385
                ),
386
              ),
387
            ),'update' => array(
388
              'path' => '{packageName}/edits/{editId}/details',
389
              'httpMethod' => 'PUT',
390
              'parameters' => array(
391
                'packageName' => array(
392
                  'location' => 'path',
393
                  'type' => 'string',
394
                  'required' => true,
395
                ),
396
                'editId' => array(
397
                  'location' => 'path',
398
                  'type' => 'string',
399
                  'required' => true,
400
                ),
401
              ),
402
            ),
403
          )
404
        )
405
    );
406
    $this->edits_expansionfiles = new Google_Service_AndroidPublisher_EditsExpansionfiles_Resource(
407
        $this,
408
        $this->serviceName,
409
        'expansionfiles',
410
        array(
411
          'methods' => array(
412
            'get' => array(
413
              'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}',
414
              'httpMethod' => 'GET',
415
              'parameters' => array(
416
                'packageName' => array(
417
                  'location' => 'path',
418
                  'type' => 'string',
419
                  'required' => true,
420
                ),
421
                'editId' => array(
422
                  'location' => 'path',
423
                  'type' => 'string',
424
                  'required' => true,
425
                ),
426
                'apkVersionCode' => array(
427
                  'location' => 'path',
428
                  'type' => 'integer',
429
                  'required' => true,
430
                ),
431
                'expansionFileType' => array(
432
                  'location' => 'path',
433
                  'type' => 'string',
434
                  'required' => true,
435
                ),
436
              ),
437
            ),'patch' => array(
438
              'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}',
439
              'httpMethod' => 'PATCH',
440
              'parameters' => array(
441
                'packageName' => array(
442
                  'location' => 'path',
443
                  'type' => 'string',
444
                  'required' => true,
445
                ),
446
                'editId' => array(
447
                  'location' => 'path',
448
                  'type' => 'string',
449
                  'required' => true,
450
                ),
451
                'apkVersionCode' => array(
452
                  'location' => 'path',
453
                  'type' => 'integer',
454
                  'required' => true,
455
                ),
456
                'expansionFileType' => array(
457
                  'location' => 'path',
458
                  'type' => 'string',
459
                  'required' => true,
460
                ),
461
              ),
462
            ),'update' => array(
463
              'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}',
464
              'httpMethod' => 'PUT',
465
              'parameters' => array(
466
                'packageName' => array(
467
                  'location' => 'path',
468
                  'type' => 'string',
469
                  'required' => true,
470
                ),
471
                'editId' => array(
472
                  'location' => 'path',
473
                  'type' => 'string',
474
                  'required' => true,
475
                ),
476
                'apkVersionCode' => array(
477
                  'location' => 'path',
478
                  'type' => 'integer',
479
                  'required' => true,
480
                ),
481
                'expansionFileType' => array(
482
                  'location' => 'path',
483
                  'type' => 'string',
484
                  'required' => true,
485
                ),
486
              ),
487
            ),'upload' => array(
488
              'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}',
489
              'httpMethod' => 'POST',
490
              'parameters' => array(
491
                'packageName' => array(
492
                  'location' => 'path',
493
                  'type' => 'string',
494
                  'required' => true,
495
                ),
496
                'editId' => array(
497
                  'location' => 'path',
498
                  'type' => 'string',
499
                  'required' => true,
500
                ),
501
                'apkVersionCode' => array(
502
                  'location' => 'path',
503
                  'type' => 'integer',
504
                  'required' => true,
505
                ),
506
                'expansionFileType' => array(
507
                  'location' => 'path',
508
                  'type' => 'string',
509
                  'required' => true,
510
                ),
511
              ),
512
            ),
513
          )
514
        )
515
    );
516
    $this->edits_images = new Google_Service_AndroidPublisher_EditsImages_Resource(
517
        $this,
518
        $this->serviceName,
519
        'images',
520
        array(
521
          'methods' => array(
522
            'delete' => array(
523
              'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}',
524
              'httpMethod' => 'DELETE',
525
              'parameters' => array(
526
                'packageName' => array(
527
                  'location' => 'path',
528
                  'type' => 'string',
529
                  'required' => true,
530
                ),
531
                'editId' => array(
532
                  'location' => 'path',
533
                  'type' => 'string',
534
                  'required' => true,
535
                ),
536
                'language' => array(
537
                  'location' => 'path',
538
                  'type' => 'string',
539
                  'required' => true,
540
                ),
541
                'imageType' => array(
542
                  'location' => 'path',
543
                  'type' => 'string',
544
                  'required' => true,
545
                ),
546
                'imageId' => array(
547
                  'location' => 'path',
548
                  'type' => 'string',
549
                  'required' => true,
550
                ),
551
              ),
552
            ),'deleteall' => array(
553
              'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}',
554
              'httpMethod' => 'DELETE',
555
              'parameters' => array(
556
                'packageName' => array(
557
                  'location' => 'path',
558
                  'type' => 'string',
559
                  'required' => true,
560
                ),
561
                'editId' => array(
562
                  'location' => 'path',
563
                  'type' => 'string',
564
                  'required' => true,
565
                ),
566
                'language' => array(
567
                  'location' => 'path',
568
                  'type' => 'string',
569
                  'required' => true,
570
                ),
571
                'imageType' => array(
572
                  'location' => 'path',
573
                  'type' => 'string',
574
                  'required' => true,
575
                ),
576
              ),
577
            ),'list' => array(
578
              'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}',
579
              'httpMethod' => 'GET',
580
              'parameters' => array(
581
                'packageName' => array(
582
                  'location' => 'path',
583
                  'type' => 'string',
584
                  'required' => true,
585
                ),
586
                'editId' => array(
587
                  'location' => 'path',
588
                  'type' => 'string',
589
                  'required' => true,
590
                ),
591
                'language' => array(
592
                  'location' => 'path',
593
                  'type' => 'string',
594
                  'required' => true,
595
                ),
596
                'imageType' => array(
597
                  'location' => 'path',
598
                  'type' => 'string',
599
                  'required' => true,
600
                ),
601
              ),
602
            ),'upload' => array(
603
              'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}',
604
              'httpMethod' => 'POST',
605
              'parameters' => array(
606
                'packageName' => array(
607
                  'location' => 'path',
608
                  'type' => 'string',
609
                  'required' => true,
610
                ),
611
                'editId' => array(
612
                  'location' => 'path',
613
                  'type' => 'string',
614
                  'required' => true,
615
                ),
616
                'language' => array(
617
                  'location' => 'path',
618
                  'type' => 'string',
619
                  'required' => true,
620
                ),
621
                'imageType' => array(
622
                  'location' => 'path',
623
                  'type' => 'string',
624
                  'required' => true,
625
                ),
626
              ),
627
            ),
628
          )
629
        )
630
    );
631
    $this->edits_listings = new Google_Service_AndroidPublisher_EditsListings_Resource(
632
        $this,
633
        $this->serviceName,
634
        'listings',
635
        array(
636
          'methods' => array(
637
            'delete' => array(
638
              'path' => '{packageName}/edits/{editId}/listings/{language}',
639
              'httpMethod' => 'DELETE',
640
              'parameters' => array(
641
                'packageName' => array(
642
                  'location' => 'path',
643
                  'type' => 'string',
644
                  'required' => true,
645
                ),
646
                'editId' => array(
647
                  'location' => 'path',
648
                  'type' => 'string',
649
                  'required' => true,
650
                ),
651
                'language' => array(
652
                  'location' => 'path',
653
                  'type' => 'string',
654
                  'required' => true,
655
                ),
656
              ),
657
            ),'deleteall' => array(
658
              'path' => '{packageName}/edits/{editId}/listings',
659
              'httpMethod' => 'DELETE',
660
              'parameters' => array(
661
                'packageName' => array(
662
                  'location' => 'path',
663
                  'type' => 'string',
664
                  'required' => true,
665
                ),
666
                'editId' => array(
667
                  'location' => 'path',
668
                  'type' => 'string',
669
                  'required' => true,
670
                ),
671
              ),
672
            ),'get' => array(
673
              'path' => '{packageName}/edits/{editId}/listings/{language}',
674
              'httpMethod' => 'GET',
675
              'parameters' => array(
676
                'packageName' => array(
677
                  'location' => 'path',
678
                  'type' => 'string',
679
                  'required' => true,
680
                ),
681
                'editId' => array(
682
                  'location' => 'path',
683
                  'type' => 'string',
684
                  'required' => true,
685
                ),
686
                'language' => array(
687
                  'location' => 'path',
688
                  'type' => 'string',
689
                  'required' => true,
690
                ),
691
              ),
692
            ),'list' => array(
693
              'path' => '{packageName}/edits/{editId}/listings',
694
              'httpMethod' => 'GET',
695
              'parameters' => array(
696
                'packageName' => array(
697
                  'location' => 'path',
698
                  'type' => 'string',
699
                  'required' => true,
700
                ),
701
                'editId' => array(
702
                  'location' => 'path',
703
                  'type' => 'string',
704
                  'required' => true,
705
                ),
706
              ),
707
            ),'patch' => array(
708
              'path' => '{packageName}/edits/{editId}/listings/{language}',
709
              'httpMethod' => 'PATCH',
710
              'parameters' => array(
711
                'packageName' => array(
712
                  'location' => 'path',
713
                  'type' => 'string',
714
                  'required' => true,
715
                ),
716
                'editId' => array(
717
                  'location' => 'path',
718
                  'type' => 'string',
719
                  'required' => true,
720
                ),
721
                'language' => array(
722
                  'location' => 'path',
723
                  'type' => 'string',
724
                  'required' => true,
725
                ),
726
              ),
727
            ),'update' => array(
728
              'path' => '{packageName}/edits/{editId}/listings/{language}',
729
              'httpMethod' => 'PUT',
730
              'parameters' => array(
731
                'packageName' => array(
732
                  'location' => 'path',
733
                  'type' => 'string',
734
                  'required' => true,
735
                ),
736
                'editId' => array(
737
                  'location' => 'path',
738
                  'type' => 'string',
739
                  'required' => true,
740
                ),
741
                'language' => array(
742
                  'location' => 'path',
743
                  'type' => 'string',
744
                  'required' => true,
745
                ),
746
              ),
747
            ),
748
          )
749
        )
750
    );
751
    $this->edits_testers = new Google_Service_AndroidPublisher_EditsTesters_Resource(
752
        $this,
753
        $this->serviceName,
754
        'testers',
755
        array(
756
          'methods' => array(
757
            'get' => array(
758
              'path' => '{packageName}/edits/{editId}/testers/{track}',
759
              'httpMethod' => 'GET',
760
              'parameters' => array(
761
                'packageName' => array(
762
                  'location' => 'path',
763
                  'type' => 'string',
764
                  'required' => true,
765
                ),
766
                'editId' => array(
767
                  'location' => 'path',
768
                  'type' => 'string',
769
                  'required' => true,
770
                ),
771
                'track' => array(
772
                  'location' => 'path',
773
                  'type' => 'string',
774
                  'required' => true,
775
                ),
776
              ),
777
            ),'patch' => array(
778
              'path' => '{packageName}/edits/{editId}/testers/{track}',
779
              'httpMethod' => 'PATCH',
780
              'parameters' => array(
781
                'packageName' => array(
782
                  'location' => 'path',
783
                  'type' => 'string',
784
                  'required' => true,
785
                ),
786
                'editId' => array(
787
                  'location' => 'path',
788
                  'type' => 'string',
789
                  'required' => true,
790
                ),
791
                'track' => array(
792
                  'location' => 'path',
793
                  'type' => 'string',
794
                  'required' => true,
795
                ),
796
              ),
797
            ),'update' => array(
798
              'path' => '{packageName}/edits/{editId}/testers/{track}',
799
              'httpMethod' => 'PUT',
800
              'parameters' => array(
801
                'packageName' => array(
802
                  'location' => 'path',
803
                  'type' => 'string',
804
                  'required' => true,
805
                ),
806
                'editId' => array(
807
                  'location' => 'path',
808
                  'type' => 'string',
809
                  'required' => true,
810
                ),
811
                'track' => array(
812
                  'location' => 'path',
813
                  'type' => 'string',
814
                  'required' => true,
815
                ),
816
              ),
817
            ),
818
          )
819
        )
820
    );
821
    $this->edits_tracks = new Google_Service_AndroidPublisher_EditsTracks_Resource(
822
        $this,
823
        $this->serviceName,
824
        'tracks',
825
        array(
826
          'methods' => array(
827
            'get' => array(
828
              'path' => '{packageName}/edits/{editId}/tracks/{track}',
829
              'httpMethod' => 'GET',
830
              'parameters' => array(
831
                'packageName' => array(
832
                  'location' => 'path',
833
                  'type' => 'string',
834
                  'required' => true,
835
                ),
836
                'editId' => array(
837
                  'location' => 'path',
838
                  'type' => 'string',
839
                  'required' => true,
840
                ),
841
                'track' => array(
842
                  'location' => 'path',
843
                  'type' => 'string',
844
                  'required' => true,
845
                ),
846
              ),
847
            ),'list' => array(
848
              'path' => '{packageName}/edits/{editId}/tracks',
849
              'httpMethod' => 'GET',
850
              'parameters' => array(
851
                'packageName' => array(
852
                  'location' => 'path',
853
                  'type' => 'string',
854
                  'required' => true,
855
                ),
856
                'editId' => array(
857
                  'location' => 'path',
858
                  'type' => 'string',
859
                  'required' => true,
860
                ),
861
              ),
862
            ),'patch' => array(
863
              'path' => '{packageName}/edits/{editId}/tracks/{track}',
864
              'httpMethod' => 'PATCH',
865
              'parameters' => array(
866
                'packageName' => array(
867
                  'location' => 'path',
868
                  'type' => 'string',
869
                  'required' => true,
870
                ),
871
                'editId' => array(
872
                  'location' => 'path',
873
                  'type' => 'string',
874
                  'required' => true,
875
                ),
876
                'track' => array(
877
                  'location' => 'path',
878
                  'type' => 'string',
879
                  'required' => true,
880
                ),
881
              ),
882
            ),'update' => array(
883
              'path' => '{packageName}/edits/{editId}/tracks/{track}',
884
              'httpMethod' => 'PUT',
885
              'parameters' => array(
886
                'packageName' => array(
887
                  'location' => 'path',
888
                  'type' => 'string',
889
                  'required' => true,
890
                ),
891
                'editId' => array(
892
                  'location' => 'path',
893
                  'type' => 'string',
894
                  'required' => true,
895
                ),
896
                'track' => array(
897
                  'location' => 'path',
898
                  'type' => 'string',
899
                  'required' => true,
900
                ),
901
              ),
902
            ),
903
          )
904
        )
905
    );
906
    $this->entitlements = new Google_Service_AndroidPublisher_Entitlements_Resource(
907
        $this,
908
        $this->serviceName,
909
        'entitlements',
910
        array(
911
          'methods' => array(
912
            'list' => array(
913
              'path' => '{packageName}/entitlements',
914
              'httpMethod' => 'GET',
915
              'parameters' => array(
916
                'packageName' => array(
917
                  'location' => 'path',
918
                  'type' => 'string',
919
                  'required' => true,
920
                ),
921
                'token' => array(
922
                  'location' => 'query',
923
                  'type' => 'string',
924
                ),
925
                'startIndex' => array(
926
                  'location' => 'query',
927
                  'type' => 'integer',
928
                ),
929
                'maxResults' => array(
930
                  'location' => 'query',
931
                  'type' => 'integer',
932
                ),
933
                'productId' => array(
934
                  'location' => 'query',
935
                  'type' => 'string',
936
                ),
937
              ),
938
            ),
939
          )
940
        )
941
    );
942
    $this->inappproducts = new Google_Service_AndroidPublisher_Inappproducts_Resource(
943
        $this,
944
        $this->serviceName,
945
        'inappproducts',
946
        array(
947
          'methods' => array(
948
            'batch' => array(
949
              'path' => 'inappproducts/batch',
950
              'httpMethod' => 'POST',
951
              'parameters' => array(),
952
            ),'delete' => array(
953
              'path' => '{packageName}/inappproducts/{sku}',
954
              'httpMethod' => 'DELETE',
955
              'parameters' => array(
956
                'packageName' => array(
957
                  'location' => 'path',
958
                  'type' => 'string',
959
                  'required' => true,
960
                ),
961
                'sku' => array(
962
                  'location' => 'path',
963
                  'type' => 'string',
964
                  'required' => true,
965
                ),
966
              ),
967
            ),'get' => array(
968
              'path' => '{packageName}/inappproducts/{sku}',
969
              'httpMethod' => 'GET',
970
              'parameters' => array(
971
                'packageName' => array(
972
                  'location' => 'path',
973
                  'type' => 'string',
974
                  'required' => true,
975
                ),
976
                'sku' => array(
977
                  'location' => 'path',
978
                  'type' => 'string',
979
                  'required' => true,
980
                ),
981
              ),
982
            ),'insert' => array(
983
              'path' => '{packageName}/inappproducts',
984
              'httpMethod' => 'POST',
985
              'parameters' => array(
986
                'packageName' => array(
987
                  'location' => 'path',
988
                  'type' => 'string',
989
                  'required' => true,
990
                ),
991
                'autoConvertMissingPrices' => array(
992
                  'location' => 'query',
993
                  'type' => 'boolean',
994
                ),
995
              ),
996
            ),'list' => array(
997
              'path' => '{packageName}/inappproducts',
998
              'httpMethod' => 'GET',
999
              'parameters' => array(
1000
                'packageName' => array(
1001
                  'location' => 'path',
1002
                  'type' => 'string',
1003
                  'required' => true,
1004
                ),
1005
                'token' => array(
1006
                  'location' => 'query',
1007
                  'type' => 'string',
1008
                ),
1009
                'startIndex' => array(
1010
                  'location' => 'query',
1011
                  'type' => 'integer',
1012
                ),
1013
                'maxResults' => array(
1014
                  'location' => 'query',
1015
                  'type' => 'integer',
1016
                ),
1017
              ),
1018
            ),'patch' => array(
1019
              'path' => '{packageName}/inappproducts/{sku}',
1020
              'httpMethod' => 'PATCH',
1021
              'parameters' => array(
1022
                'packageName' => array(
1023
                  'location' => 'path',
1024
                  'type' => 'string',
1025
                  'required' => true,
1026
                ),
1027
                'sku' => array(
1028
                  'location' => 'path',
1029
                  'type' => 'string',
1030
                  'required' => true,
1031
                ),
1032
                'autoConvertMissingPrices' => array(
1033
                  'location' => 'query',
1034
                  'type' => 'boolean',
1035
                ),
1036
              ),
1037
            ),'update' => array(
1038
              'path' => '{packageName}/inappproducts/{sku}',
1039
              'httpMethod' => 'PUT',
1040
              'parameters' => array(
1041
                'packageName' => array(
1042
                  'location' => 'path',
1043
                  'type' => 'string',
1044
                  'required' => true,
1045
                ),
1046
                'sku' => array(
1047
                  'location' => 'path',
1048
                  'type' => 'string',
1049
                  'required' => true,
1050
                ),
1051
                'autoConvertMissingPrices' => array(
1052
                  'location' => 'query',
1053
                  'type' => 'boolean',
1054
                ),
1055
              ),
1056
            ),
1057
          )
1058
        )
1059
    );
1060
    $this->purchases_products = new Google_Service_AndroidPublisher_PurchasesProducts_Resource(
1061
        $this,
1062
        $this->serviceName,
1063
        'products',
1064
        array(
1065
          'methods' => array(
1066
            'get' => array(
1067
              'path' => '{packageName}/purchases/products/{productId}/tokens/{token}',
1068
              'httpMethod' => 'GET',
1069
              'parameters' => array(
1070
                'packageName' => array(
1071
                  'location' => 'path',
1072
                  'type' => 'string',
1073
                  'required' => true,
1074
                ),
1075
                'productId' => array(
1076
                  'location' => 'path',
1077
                  'type' => 'string',
1078
                  'required' => true,
1079
                ),
1080
                'token' => array(
1081
                  'location' => 'path',
1082
                  'type' => 'string',
1083
                  'required' => true,
1084
                ),
1085
              ),
1086
            ),
1087
          )
1088
        )
1089
    );
1090
    $this->purchases_subscriptions = new Google_Service_AndroidPublisher_PurchasesSubscriptions_Resource(
1091
        $this,
1092
        $this->serviceName,
1093
        'subscriptions',
1094
        array(
1095
          'methods' => array(
1096
            'cancel' => array(
1097
              'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel',
1098
              'httpMethod' => 'POST',
1099
              'parameters' => array(
1100
                'packageName' => array(
1101
                  'location' => 'path',
1102
                  'type' => 'string',
1103
                  'required' => true,
1104
                ),
1105
                'subscriptionId' => array(
1106
                  'location' => 'path',
1107
                  'type' => 'string',
1108
                  'required' => true,
1109
                ),
1110
                'token' => array(
1111
                  'location' => 'path',
1112
                  'type' => 'string',
1113
                  'required' => true,
1114
                ),
1115
              ),
1116
            ),'defer' => array(
1117
              'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer',
1118
              'httpMethod' => 'POST',
1119
              'parameters' => array(
1120
                'packageName' => array(
1121
                  'location' => 'path',
1122
                  'type' => 'string',
1123
                  'required' => true,
1124
                ),
1125
                'subscriptionId' => array(
1126
                  'location' => 'path',
1127
                  'type' => 'string',
1128
                  'required' => true,
1129
                ),
1130
                'token' => array(
1131
                  'location' => 'path',
1132
                  'type' => 'string',
1133
                  'required' => true,
1134
                ),
1135
              ),
1136
            ),'get' => array(
1137
              'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}',
1138
              'httpMethod' => 'GET',
1139
              'parameters' => array(
1140
                'packageName' => array(
1141
                  'location' => 'path',
1142
                  'type' => 'string',
1143
                  'required' => true,
1144
                ),
1145
                'subscriptionId' => array(
1146
                  'location' => 'path',
1147
                  'type' => 'string',
1148
                  'required' => true,
1149
                ),
1150
                'token' => array(
1151
                  'location' => 'path',
1152
                  'type' => 'string',
1153
                  'required' => true,
1154
                ),
1155
              ),
1156
            ),'refund' => array(
1157
              'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund',
1158
              'httpMethod' => 'POST',
1159
              'parameters' => array(
1160
                'packageName' => array(
1161
                  'location' => 'path',
1162
                  'type' => 'string',
1163
                  'required' => true,
1164
                ),
1165
                'subscriptionId' => array(
1166
                  'location' => 'path',
1167
                  'type' => 'string',
1168
                  'required' => true,
1169
                ),
1170
                'token' => array(
1171
                  'location' => 'path',
1172
                  'type' => 'string',
1173
                  'required' => true,
1174
                ),
1175
              ),
1176
            ),'revoke' => array(
1177
              'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke',
1178
              'httpMethod' => 'POST',
1179
              'parameters' => array(
1180
                'packageName' => array(
1181
                  'location' => 'path',
1182
                  'type' => 'string',
1183
                  'required' => true,
1184
                ),
1185
                'subscriptionId' => array(
1186
                  'location' => 'path',
1187
                  'type' => 'string',
1188
                  'required' => true,
1189
                ),
1190
                'token' => array(
1191
                  'location' => 'path',
1192
                  'type' => 'string',
1193
                  'required' => true,
1194
                ),
1195
              ),
1196
            ),
1197
          )
1198
        )
1199
    );
1200
  }
1201
}
1202
 
1203
 
1204
/**
1205
 * The "edits" collection of methods.
1206
 * Typical usage is:
1207
 *  <code>
1208
 *   $androidpublisherService = new Google_Service_AndroidPublisher(...);
1209
 *   $edits = $androidpublisherService->edits;
1210
 *  </code>
1211
 */
1212
#[AllowDynamicProperties]
1213
class Google_Service_AndroidPublisher_Edits_Resource extends Google_Service_Resource
1214
{
1215
 
1216
  /**
1217
   * Commits/applies the changes made in this edit back to the app. (edits.commit)
1218
   *
1219
   * @param string $packageName Unique identifier for the Android app that is
1220
   * being updated; for example, "com.spiffygame".
1221
   * @param string $editId Unique identifier for this edit.
1222
   * @param array $optParams Optional parameters.
1223
   * @return Google_Service_AndroidPublisher_AppEdit
1224
   */
1225
  public function commit($packageName, $editId, $optParams = array())
1226
  {
1227
    $params = array('packageName' => $packageName, 'editId' => $editId);
1228
    $params = array_merge($params, $optParams);
1229
    return $this->call('commit', array($params), "Google_Service_AndroidPublisher_AppEdit");
1230
  }
1231
 
1232
  /**
1233
   * Deletes an edit for an app. Creating a new edit will automatically delete any
1234
   * of your previous edits so this method need only be called if you want to
1235
   * preemptively abandon an edit. (edits.delete)
1236
   *
1237
   * @param string $packageName Unique identifier for the Android app that is
1238
   * being updated; for example, "com.spiffygame".
1239
   * @param string $editId Unique identifier for this edit.
1240
   * @param array $optParams Optional parameters.
1241
   */
1242
  public function delete($packageName, $editId, $optParams = array())
1243
  {
1244
    $params = array('packageName' => $packageName, 'editId' => $editId);
1245
    $params = array_merge($params, $optParams);
1246
    return $this->call('delete', array($params));
1247
  }
1248
 
1249
  /**
1250
   * Returns information about the edit specified. Calls will fail if the edit is
1251
   * no long active (e.g. has been deleted, superseded or expired). (edits.get)
1252
   *
1253
   * @param string $packageName Unique identifier for the Android app that is
1254
   * being updated; for example, "com.spiffygame".
1255
   * @param string $editId Unique identifier for this edit.
1256
   * @param array $optParams Optional parameters.
1257
   * @return Google_Service_AndroidPublisher_AppEdit
1258
   */
1259
  public function get($packageName, $editId, $optParams = array())
1260
  {
1261
    $params = array('packageName' => $packageName, 'editId' => $editId);
1262
    $params = array_merge($params, $optParams);
1263
    return $this->call('get', array($params), "Google_Service_AndroidPublisher_AppEdit");
1264
  }
1265
 
1266
  /**
1267
   * Creates a new edit for an app, populated with the app's current state.
1268
   * (edits.insert)
1269
   *
1270
   * @param string $packageName Unique identifier for the Android app that is
1271
   * being updated; for example, "com.spiffygame".
1272
   * @param Google_AppEdit $postBody
1273
   * @param array $optParams Optional parameters.
1274
   * @return Google_Service_AndroidPublisher_AppEdit
1275
   */
1276
  public function insert($packageName, Google_Service_AndroidPublisher_AppEdit $postBody, $optParams = array())
1277
  {
1278
    $params = array('packageName' => $packageName, 'postBody' => $postBody);
1279
    $params = array_merge($params, $optParams);
1280
    return $this->call('insert', array($params), "Google_Service_AndroidPublisher_AppEdit");
1281
  }
1282
 
1283
  /**
1284
   * Checks that the edit can be successfully committed. The edit's changes are
1285
   * not applied to the live app. (edits.validate)
1286
   *
1287
   * @param string $packageName Unique identifier for the Android app that is
1288
   * being updated; for example, "com.spiffygame".
1289
   * @param string $editId Unique identifier for this edit.
1290
   * @param array $optParams Optional parameters.
1291
   * @return Google_Service_AndroidPublisher_AppEdit
1292
   */
1293
  public function validate($packageName, $editId, $optParams = array())
1294
  {
1295
    $params = array('packageName' => $packageName, 'editId' => $editId);
1296
    $params = array_merge($params, $optParams);
1297
    return $this->call('validate', array($params), "Google_Service_AndroidPublisher_AppEdit");
1298
  }
1299
}
1300
 
1301
/**
1302
 * The "apklistings" collection of methods.
1303
 * Typical usage is:
1304
 *  <code>
1305
 *   $androidpublisherService = new Google_Service_AndroidPublisher(...);
1306
 *   $apklistings = $androidpublisherService->apklistings;
1307
 *  </code>
1308
 */
1309
#[AllowDynamicProperties]
1310
class Google_Service_AndroidPublisher_EditsApklistings_Resource extends Google_Service_Resource
1311
{
1312
 
1313
  /**
1314
   * Deletes the APK-specific localized listing for a specified APK and language
1315
   * code. (apklistings.delete)
1316
   *
1317
   * @param string $packageName Unique identifier for the Android app that is
1318
   * being updated; for example, "com.spiffygame".
1319
   * @param string $editId Unique identifier for this edit.
1320
   * @param int $apkVersionCode The APK version code whose APK-specific listings
1321
   * should be read or modified.
1322
   * @param string $language The language code (a BCP-47 language tag) of the APK-
1323
   * specific localized listing to read or modify. For example, to select Austrian
1324
   * German, pass "de-AT".
1325
   * @param array $optParams Optional parameters.
1326
   */
1327
  public function delete($packageName, $editId, $apkVersionCode, $language, $optParams = array())
1328
  {
1329
    $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language);
1330
    $params = array_merge($params, $optParams);
1331
    return $this->call('delete', array($params));
1332
  }
1333
 
1334
  /**
1335
   * Deletes all the APK-specific localized listings for a specified APK.
1336
   * (apklistings.deleteall)
1337
   *
1338
   * @param string $packageName Unique identifier for the Android app that is
1339
   * being updated; for example, "com.spiffygame".
1340
   * @param string $editId Unique identifier for this edit.
1341
   * @param int $apkVersionCode The APK version code whose APK-specific listings
1342
   * should be read or modified.
1343
   * @param array $optParams Optional parameters.
1344
   */
1345
  public function deleteall($packageName, $editId, $apkVersionCode, $optParams = array())
1346
  {
1347
    $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode);
1348
    $params = array_merge($params, $optParams);
1349
    return $this->call('deleteall', array($params));
1350
  }
1351
 
1352
  /**
1353
   * Fetches the APK-specific localized listing for a specified APK and language
1354
   * code. (apklistings.get)
1355
   *
1356
   * @param string $packageName Unique identifier for the Android app that is
1357
   * being updated; for example, "com.spiffygame".
1358
   * @param string $editId Unique identifier for this edit.
1359
   * @param int $apkVersionCode The APK version code whose APK-specific listings
1360
   * should be read or modified.
1361
   * @param string $language The language code (a BCP-47 language tag) of the APK-
1362
   * specific localized listing to read or modify. For example, to select Austrian
1363
   * German, pass "de-AT".
1364
   * @param array $optParams Optional parameters.
1365
   * @return Google_Service_AndroidPublisher_ApkListing
1366
   */
1367
  public function get($packageName, $editId, $apkVersionCode, $language, $optParams = array())
1368
  {
1369
    $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language);
1370
    $params = array_merge($params, $optParams);
1371
    return $this->call('get', array($params), "Google_Service_AndroidPublisher_ApkListing");
1372
  }
1373
 
1374
  /**
1375
   * Lists all the APK-specific localized listings for a specified APK.
1376
   * (apklistings.listEditsApklistings)
1377
   *
1378
   * @param string $packageName Unique identifier for the Android app that is
1379
   * being updated; for example, "com.spiffygame".
1380
   * @param string $editId Unique identifier for this edit.
1381
   * @param int $apkVersionCode The APK version code whose APK-specific listings
1382
   * should be read or modified.
1383
   * @param array $optParams Optional parameters.
1384
   * @return Google_Service_AndroidPublisher_ApkListingsListResponse
1385
   */
1386
  public function listEditsApklistings($packageName, $editId, $apkVersionCode, $optParams = array())
1387
  {
1388
    $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode);
1389
    $params = array_merge($params, $optParams);
1390
    return $this->call('list', array($params), "Google_Service_AndroidPublisher_ApkListingsListResponse");
1391
  }
1392
 
1393
  /**
1394
   * Updates or creates the APK-specific localized listing for a specified APK and
1395
   * language code. This method supports patch semantics. (apklistings.patch)
1396
   *
1397
   * @param string $packageName Unique identifier for the Android app that is
1398
   * being updated; for example, "com.spiffygame".
1399
   * @param string $editId Unique identifier for this edit.
1400
   * @param int $apkVersionCode The APK version code whose APK-specific listings
1401
   * should be read or modified.
1402
   * @param string $language The language code (a BCP-47 language tag) of the APK-
1403
   * specific localized listing to read or modify. For example, to select Austrian
1404
   * German, pass "de-AT".
1405
   * @param Google_ApkListing $postBody
1406
   * @param array $optParams Optional parameters.
1407
   * @return Google_Service_AndroidPublisher_ApkListing
1408
   */
1409
  public function patch($packageName, $editId, $apkVersionCode, $language, Google_Service_AndroidPublisher_ApkListing $postBody, $optParams = array())
1410
  {
1411
    $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language, 'postBody' => $postBody);
1412
    $params = array_merge($params, $optParams);
1413
    return $this->call('patch', array($params), "Google_Service_AndroidPublisher_ApkListing");
1414
  }
1415
 
1416
  /**
1417
   * Updates or creates the APK-specific localized listing for a specified APK and
1418
   * language code. (apklistings.update)
1419
   *
1420
   * @param string $packageName Unique identifier for the Android app that is
1421
   * being updated; for example, "com.spiffygame".
1422
   * @param string $editId Unique identifier for this edit.
1423
   * @param int $apkVersionCode The APK version code whose APK-specific listings
1424
   * should be read or modified.
1425
   * @param string $language The language code (a BCP-47 language tag) of the APK-
1426
   * specific localized listing to read or modify. For example, to select Austrian
1427
   * German, pass "de-AT".
1428
   * @param Google_ApkListing $postBody
1429
   * @param array $optParams Optional parameters.
1430
   * @return Google_Service_AndroidPublisher_ApkListing
1431
   */
1432
  public function update($packageName, $editId, $apkVersionCode, $language, Google_Service_AndroidPublisher_ApkListing $postBody, $optParams = array())
1433
  {
1434
    $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language, 'postBody' => $postBody);
1435
    $params = array_merge($params, $optParams);
1436
    return $this->call('update', array($params), "Google_Service_AndroidPublisher_ApkListing");
1437
  }
1438
}
1439
/**
1440
 * The "apks" collection of methods.
1441
 * Typical usage is:
1442
 *  <code>
1443
 *   $androidpublisherService = new Google_Service_AndroidPublisher(...);
1444
 *   $apks = $androidpublisherService->apks;
1445
 *  </code>
1446
 */
1447
#[AllowDynamicProperties]
1448
class Google_Service_AndroidPublisher_EditsApks_Resource extends Google_Service_Resource
1449
{
1450
 
1451
  /**
1452
   * Creates a new APK without uploading the APK itself to Google Play, instead
1453
   * hosting the APK at a specified URL. This function is only available to
1454
   * enterprises using Google Play for Work whose application is configured to
1455
   * restrict distribution to the enterprise domain. (apks.addexternallyhosted)
1456
   *
1457
   * @param string $packageName Unique identifier for the Android app that is
1458
   * being updated; for example, "com.spiffygame".
1459
   * @param string $editId Unique identifier for this edit.
1460
   * @param Google_ApksAddExternallyHostedRequest $postBody
1461
   * @param array $optParams Optional parameters.
1462
   * @return Google_Service_AndroidPublisher_ApksAddExternallyHostedResponse
1463
   */
1464
  public function addexternallyhosted($packageName, $editId, Google_Service_AndroidPublisher_ApksAddExternallyHostedRequest $postBody, $optParams = array())
1465
  {
1466
    $params = array('packageName' => $packageName, 'editId' => $editId, 'postBody' => $postBody);
1467
    $params = array_merge($params, $optParams);
1468
    return $this->call('addexternallyhosted', array($params), "Google_Service_AndroidPublisher_ApksAddExternallyHostedResponse");
1469
  }
1470
 
1471
  /**
1472
   * (apks.listEditsApks)
1473
   *
1474
   * @param string $packageName Unique identifier for the Android app that is
1475
   * being updated; for example, "com.spiffygame".
1476
   * @param string $editId Unique identifier for this edit.
1477
   * @param array $optParams Optional parameters.
1478
   * @return Google_Service_AndroidPublisher_ApksListResponse
1479
   */
1480
  public function listEditsApks($packageName, $editId, $optParams = array())
1481
  {
1482
    $params = array('packageName' => $packageName, 'editId' => $editId);
1483
    $params = array_merge($params, $optParams);
1484
    return $this->call('list', array($params), "Google_Service_AndroidPublisher_ApksListResponse");
1485
  }
1486
 
1487
  /**
1488
   * (apks.upload)
1489
   *
1490
   * @param string $packageName Unique identifier for the Android app that is
1491
   * being updated; for example, "com.spiffygame".
1492
   * @param string $editId Unique identifier for this edit.
1493
   * @param array $optParams Optional parameters.
1494
   * @return Google_Service_AndroidPublisher_Apk
1495
   */
1496
  public function upload($packageName, $editId, $optParams = array())
1497
  {
1498
    $params = array('packageName' => $packageName, 'editId' => $editId);
1499
    $params = array_merge($params, $optParams);
1500
    return $this->call('upload', array($params), "Google_Service_AndroidPublisher_Apk");
1501
  }
1502
}
1503
/**
1504
 * The "details" collection of methods.
1505
 * Typical usage is:
1506
 *  <code>
1507
 *   $androidpublisherService = new Google_Service_AndroidPublisher(...);
1508
 *   $details = $androidpublisherService->details;
1509
 *  </code>
1510
 */
1511
#[AllowDynamicProperties]
1512
class Google_Service_AndroidPublisher_EditsDetails_Resource extends Google_Service_Resource
1513
{
1514
 
1515
  /**
1516
   * Fetches app details for this edit. This includes the default language and
1517
   * developer support contact information. (details.get)
1518
   *
1519
   * @param string $packageName Unique identifier for the Android app that is
1520
   * being updated; for example, "com.spiffygame".
1521
   * @param string $editId Unique identifier for this edit.
1522
   * @param array $optParams Optional parameters.
1523
   * @return Google_Service_AndroidPublisher_AppDetails
1524
   */
1525
  public function get($packageName, $editId, $optParams = array())
1526
  {
1527
    $params = array('packageName' => $packageName, 'editId' => $editId);
1528
    $params = array_merge($params, $optParams);
1529
    return $this->call('get', array($params), "Google_Service_AndroidPublisher_AppDetails");
1530
  }
1531
 
1532
  /**
1533
   * Updates app details for this edit. This method supports patch semantics.
1534
   * (details.patch)
1535
   *
1536
   * @param string $packageName Unique identifier for the Android app that is
1537
   * being updated; for example, "com.spiffygame".
1538
   * @param string $editId Unique identifier for this edit.
1539
   * @param Google_AppDetails $postBody
1540
   * @param array $optParams Optional parameters.
1541
   * @return Google_Service_AndroidPublisher_AppDetails
1542
   */
1543
  public function patch($packageName, $editId, Google_Service_AndroidPublisher_AppDetails $postBody, $optParams = array())
1544
  {
1545
    $params = array('packageName' => $packageName, 'editId' => $editId, 'postBody' => $postBody);
1546
    $params = array_merge($params, $optParams);
1547
    return $this->call('patch', array($params), "Google_Service_AndroidPublisher_AppDetails");
1548
  }
1549
 
1550
  /**
1551
   * Updates app details for this edit. (details.update)
1552
   *
1553
   * @param string $packageName Unique identifier for the Android app that is
1554
   * being updated; for example, "com.spiffygame".
1555
   * @param string $editId Unique identifier for this edit.
1556
   * @param Google_AppDetails $postBody
1557
   * @param array $optParams Optional parameters.
1558
   * @return Google_Service_AndroidPublisher_AppDetails
1559
   */
1560
  public function update($packageName, $editId, Google_Service_AndroidPublisher_AppDetails $postBody, $optParams = array())
1561
  {
1562
    $params = array('packageName' => $packageName, 'editId' => $editId, 'postBody' => $postBody);
1563
    $params = array_merge($params, $optParams);
1564
    return $this->call('update', array($params), "Google_Service_AndroidPublisher_AppDetails");
1565
  }
1566
}
1567
/**
1568
 * The "expansionfiles" collection of methods.
1569
 * Typical usage is:
1570
 *  <code>
1571
 *   $androidpublisherService = new Google_Service_AndroidPublisher(...);
1572
 *   $expansionfiles = $androidpublisherService->expansionfiles;
1573
 *  </code>
1574
 */
1575
#[AllowDynamicProperties]
1576
class Google_Service_AndroidPublisher_EditsExpansionfiles_Resource extends Google_Service_Resource
1577
{
1578
 
1579
  /**
1580
   * Fetches the Expansion File configuration for the APK specified.
1581
   * (expansionfiles.get)
1582
   *
1583
   * @param string $packageName Unique identifier for the Android app that is
1584
   * being updated; for example, "com.spiffygame".
1585
   * @param string $editId Unique identifier for this edit.
1586
   * @param int $apkVersionCode The version code of the APK whose Expansion File
1587
   * configuration is being read or modified.
1588
   * @param string $expansionFileType
1589
   * @param array $optParams Optional parameters.
1590
   * @return Google_Service_AndroidPublisher_ExpansionFile
1591
   */
1592
  public function get($packageName, $editId, $apkVersionCode, $expansionFileType, $optParams = array())
1593
  {
1594
    $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType);
1595
    $params = array_merge($params, $optParams);
1596
    return $this->call('get', array($params), "Google_Service_AndroidPublisher_ExpansionFile");
1597
  }
1598
 
1599
  /**
1600
   * Updates the APK's Expansion File configuration to reference another APK's
1601
   * Expansion Files. To add a new Expansion File use the Upload method. This
1602
   * method supports patch semantics. (expansionfiles.patch)
1603
   *
1604
   * @param string $packageName Unique identifier for the Android app that is
1605
   * being updated; for example, "com.spiffygame".
1606
   * @param string $editId Unique identifier for this edit.
1607
   * @param int $apkVersionCode The version code of the APK whose Expansion File
1608
   * configuration is being read or modified.
1609
   * @param string $expansionFileType
1610
   * @param Google_ExpansionFile $postBody
1611
   * @param array $optParams Optional parameters.
1612
   * @return Google_Service_AndroidPublisher_ExpansionFile
1613
   */
1614
  public function patch($packageName, $editId, $apkVersionCode, $expansionFileType, Google_Service_AndroidPublisher_ExpansionFile $postBody, $optParams = array())
1615
  {
1616
    $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType, 'postBody' => $postBody);
1617
    $params = array_merge($params, $optParams);
1618
    return $this->call('patch', array($params), "Google_Service_AndroidPublisher_ExpansionFile");
1619
  }
1620
 
1621
  /**
1622
   * Updates the APK's Expansion File configuration to reference another APK's
1623
   * Expansion Files. To add a new Expansion File use the Upload method.
1624
   * (expansionfiles.update)
1625
   *
1626
   * @param string $packageName Unique identifier for the Android app that is
1627
   * being updated; for example, "com.spiffygame".
1628
   * @param string $editId Unique identifier for this edit.
1629
   * @param int $apkVersionCode The version code of the APK whose Expansion File
1630
   * configuration is being read or modified.
1631
   * @param string $expansionFileType
1632
   * @param Google_ExpansionFile $postBody
1633
   * @param array $optParams Optional parameters.
1634
   * @return Google_Service_AndroidPublisher_ExpansionFile
1635
   */
1636
  public function update($packageName, $editId, $apkVersionCode, $expansionFileType, Google_Service_AndroidPublisher_ExpansionFile $postBody, $optParams = array())
1637
  {
1638
    $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType, 'postBody' => $postBody);
1639
    $params = array_merge($params, $optParams);
1640
    return $this->call('update', array($params), "Google_Service_AndroidPublisher_ExpansionFile");
1641
  }
1642
 
1643
  /**
1644
   * Uploads and attaches a new Expansion File to the APK specified.
1645
   * (expansionfiles.upload)
1646
   *
1647
   * @param string $packageName Unique identifier for the Android app that is
1648
   * being updated; for example, "com.spiffygame".
1649
   * @param string $editId Unique identifier for this edit.
1650
   * @param int $apkVersionCode The version code of the APK whose Expansion File
1651
   * configuration is being read or modified.
1652
   * @param string $expansionFileType
1653
   * @param array $optParams Optional parameters.
1654
   * @return Google_Service_AndroidPublisher_ExpansionFilesUploadResponse
1655
   */
1656
  public function upload($packageName, $editId, $apkVersionCode, $expansionFileType, $optParams = array())
1657
  {
1658
    $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType);
1659
    $params = array_merge($params, $optParams);
1660
    return $this->call('upload', array($params), "Google_Service_AndroidPublisher_ExpansionFilesUploadResponse");
1661
  }
1662
}
1663
/**
1664
 * The "images" collection of methods.
1665
 * Typical usage is:
1666
 *  <code>
1667
 *   $androidpublisherService = new Google_Service_AndroidPublisher(...);
1668
 *   $images = $androidpublisherService->images;
1669
 *  </code>
1670
 */
1671
#[AllowDynamicProperties]
1672
class Google_Service_AndroidPublisher_EditsImages_Resource extends Google_Service_Resource
1673
{
1674
 
1675
  /**
1676
   * Deletes the image (specified by id) from the edit. (images.delete)
1677
   *
1678
   * @param string $packageName Unique identifier for the Android app that is
1679
   * being updated; for example, "com.spiffygame".
1680
   * @param string $editId Unique identifier for this edit.
1681
   * @param string $language The language code (a BCP-47 language tag) of the
1682
   * localized listing whose images are to read or modified. For example, to
1683
   * select Austrian German, pass "de-AT".
1684
   * @param string $imageType
1685
   * @param string $imageId Unique identifier an image within the set of images
1686
   * attached to this edit.
1687
   * @param array $optParams Optional parameters.
1688
   */
1689
  public function delete($packageName, $editId, $language, $imageType, $imageId, $optParams = array())
1690
  {
1691
    $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType, 'imageId' => $imageId);
1692
    $params = array_merge($params, $optParams);
1693
    return $this->call('delete', array($params));
1694
  }
1695
 
1696
  /**
1697
   * Deletes all images for the specified language and image type.
1698
   * (images.deleteall)
1699
   *
1700
   * @param string $packageName Unique identifier for the Android app that is
1701
   * being updated; for example, "com.spiffygame".
1702
   * @param string $editId Unique identifier for this edit.
1703
   * @param string $language The language code (a BCP-47 language tag) of the
1704
   * localized listing whose images are to read or modified. For example, to
1705
   * select Austrian German, pass "de-AT".
1706
   * @param string $imageType
1707
   * @param array $optParams Optional parameters.
1708
   * @return Google_Service_AndroidPublisher_ImagesDeleteAllResponse
1709
   */
1710
  public function deleteall($packageName, $editId, $language, $imageType, $optParams = array())
1711
  {
1712
    $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType);
1713
    $params = array_merge($params, $optParams);
1714
    return $this->call('deleteall', array($params), "Google_Service_AndroidPublisher_ImagesDeleteAllResponse");
1715
  }
1716
 
1717
  /**
1718
   * Lists all images for the specified language and image type.
1719
   * (images.listEditsImages)
1720
   *
1721
   * @param string $packageName Unique identifier for the Android app that is
1722
   * being updated; for example, "com.spiffygame".
1723
   * @param string $editId Unique identifier for this edit.
1724
   * @param string $language The language code (a BCP-47 language tag) of the
1725
   * localized listing whose images are to read or modified. For example, to
1726
   * select Austrian German, pass "de-AT".
1727
   * @param string $imageType
1728
   * @param array $optParams Optional parameters.
1729
   * @return Google_Service_AndroidPublisher_ImagesListResponse
1730
   */
1731
  public function listEditsImages($packageName, $editId, $language, $imageType, $optParams = array())
1732
  {
1733
    $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType);
1734
    $params = array_merge($params, $optParams);
1735
    return $this->call('list', array($params), "Google_Service_AndroidPublisher_ImagesListResponse");
1736
  }
1737
 
1738
  /**
1739
   * Uploads a new image and adds it to the list of images for the specified
1740
   * language and image type. (images.upload)
1741
   *
1742
   * @param string $packageName Unique identifier for the Android app that is
1743
   * being updated; for example, "com.spiffygame".
1744
   * @param string $editId Unique identifier for this edit.
1745
   * @param string $language The language code (a BCP-47 language tag) of the
1746
   * localized listing whose images are to read or modified. For example, to
1747
   * select Austrian German, pass "de-AT".
1748
   * @param string $imageType
1749
   * @param array $optParams Optional parameters.
1750
   * @return Google_Service_AndroidPublisher_ImagesUploadResponse
1751
   */
1752
  public function upload($packageName, $editId, $language, $imageType, $optParams = array())
1753
  {
1754
    $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType);
1755
    $params = array_merge($params, $optParams);
1756
    return $this->call('upload', array($params), "Google_Service_AndroidPublisher_ImagesUploadResponse");
1757
  }
1758
}
1759
/**
1760
 * The "listings" collection of methods.
1761
 * Typical usage is:
1762
 *  <code>
1763
 *   $androidpublisherService = new Google_Service_AndroidPublisher(...);
1764
 *   $listings = $androidpublisherService->listings;
1765
 *  </code>
1766
 */
1767
#[AllowDynamicProperties]
1768
class Google_Service_AndroidPublisher_EditsListings_Resource extends Google_Service_Resource
1769
{
1770
 
1771
  /**
1772
   * Deletes the specified localized store listing from an edit. (listings.delete)
1773
   *
1774
   * @param string $packageName Unique identifier for the Android app that is
1775
   * being updated; for example, "com.spiffygame".
1776
   * @param string $editId Unique identifier for this edit.
1777
   * @param string $language The language code (a BCP-47 language tag) of the
1778
   * localized listing to read or modify. For example, to select Austrian German,
1779
   * pass "de-AT".
1780
   * @param array $optParams Optional parameters.
1781
   */
1782
  public function delete($packageName, $editId, $language, $optParams = array())
1783
  {
1784
    $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language);
1785
    $params = array_merge($params, $optParams);
1786
    return $this->call('delete', array($params));
1787
  }
1788
 
1789
  /**
1790
   * Deletes all localized listings from an edit. (listings.deleteall)
1791
   *
1792
   * @param string $packageName Unique identifier for the Android app that is
1793
   * being updated; for example, "com.spiffygame".
1794
   * @param string $editId Unique identifier for this edit.
1795
   * @param array $optParams Optional parameters.
1796
   */
1797
  public function deleteall($packageName, $editId, $optParams = array())
1798
  {
1799
    $params = array('packageName' => $packageName, 'editId' => $editId);
1800
    $params = array_merge($params, $optParams);
1801
    return $this->call('deleteall', array($params));
1802
  }
1803
 
1804
  /**
1805
   * Fetches information about a localized store listing. (listings.get)
1806
   *
1807
   * @param string $packageName Unique identifier for the Android app that is
1808
   * being updated; for example, "com.spiffygame".
1809
   * @param string $editId Unique identifier for this edit.
1810
   * @param string $language The language code (a BCP-47 language tag) of the
1811
   * localized listing to read or modify. For example, to select Austrian German,
1812
   * pass "de-AT".
1813
   * @param array $optParams Optional parameters.
1814
   * @return Google_Service_AndroidPublisher_Listing
1815
   */
1816
  public function get($packageName, $editId, $language, $optParams = array())
1817
  {
1818
    $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language);
1819
    $params = array_merge($params, $optParams);
1820
    return $this->call('get', array($params), "Google_Service_AndroidPublisher_Listing");
1821
  }
1822
 
1823
  /**
1824
   * Returns all of the localized store listings attached to this edit.
1825
   * (listings.listEditsListings)
1826
   *
1827
   * @param string $packageName Unique identifier for the Android app that is
1828
   * being updated; for example, "com.spiffygame".
1829
   * @param string $editId Unique identifier for this edit.
1830
   * @param array $optParams Optional parameters.
1831
   * @return Google_Service_AndroidPublisher_ListingsListResponse
1832
   */
1833
  public function listEditsListings($packageName, $editId, $optParams = array())
1834
  {
1835
    $params = array('packageName' => $packageName, 'editId' => $editId);
1836
    $params = array_merge($params, $optParams);
1837
    return $this->call('list', array($params), "Google_Service_AndroidPublisher_ListingsListResponse");
1838
  }
1839
 
1840
  /**
1841
   * Creates or updates a localized store listing. This method supports patch
1842
   * semantics. (listings.patch)
1843
   *
1844
   * @param string $packageName Unique identifier for the Android app that is
1845
   * being updated; for example, "com.spiffygame".
1846
   * @param string $editId Unique identifier for this edit.
1847
   * @param string $language The language code (a BCP-47 language tag) of the
1848
   * localized listing to read or modify. For example, to select Austrian German,
1849
   * pass "de-AT".
1850
   * @param Google_Listing $postBody
1851
   * @param array $optParams Optional parameters.
1852
   * @return Google_Service_AndroidPublisher_Listing
1853
   */
1854
  public function patch($packageName, $editId, $language, Google_Service_AndroidPublisher_Listing $postBody, $optParams = array())
1855
  {
1856
    $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'postBody' => $postBody);
1857
    $params = array_merge($params, $optParams);
1858
    return $this->call('patch', array($params), "Google_Service_AndroidPublisher_Listing");
1859
  }
1860
 
1861
  /**
1862
   * Creates or updates a localized store listing. (listings.update)
1863
   *
1864
   * @param string $packageName Unique identifier for the Android app that is
1865
   * being updated; for example, "com.spiffygame".
1866
   * @param string $editId Unique identifier for this edit.
1867
   * @param string $language The language code (a BCP-47 language tag) of the
1868
   * localized listing to read or modify. For example, to select Austrian German,
1869
   * pass "de-AT".
1870
   * @param Google_Listing $postBody
1871
   * @param array $optParams Optional parameters.
1872
   * @return Google_Service_AndroidPublisher_Listing
1873
   */
1874
  public function update($packageName, $editId, $language, Google_Service_AndroidPublisher_Listing $postBody, $optParams = array())
1875
  {
1876
    $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'postBody' => $postBody);
1877
    $params = array_merge($params, $optParams);
1878
    return $this->call('update', array($params), "Google_Service_AndroidPublisher_Listing");
1879
  }
1880
}
1881
/**
1882
 * The "testers" collection of methods.
1883
 * Typical usage is:
1884
 *  <code>
1885
 *   $androidpublisherService = new Google_Service_AndroidPublisher(...);
1886
 *   $testers = $androidpublisherService->testers;
1887
 *  </code>
1888
 */
1889
#[AllowDynamicProperties]
1890
class Google_Service_AndroidPublisher_EditsTesters_Resource extends Google_Service_Resource
1891
{
1892
 
1893
  /**
1894
   * (testers.get)
1895
   *
1896
   * @param string $packageName Unique identifier for the Android app that is
1897
   * being updated; for example, "com.spiffygame".
1898
   * @param string $editId Unique identifier for this edit.
1899
   * @param string $track
1900
   * @param array $optParams Optional parameters.
1901
   * @return Google_Service_AndroidPublisher_Testers
1902
   */
1903
  public function get($packageName, $editId, $track, $optParams = array())
1904
  {
1905
    $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track);
1906
    $params = array_merge($params, $optParams);
1907
    return $this->call('get', array($params), "Google_Service_AndroidPublisher_Testers");
1908
  }
1909
 
1910
  /**
1911
   * (testers.patch)
1912
   *
1913
   * @param string $packageName Unique identifier for the Android app that is
1914
   * being updated; for example, "com.spiffygame".
1915
   * @param string $editId Unique identifier for this edit.
1916
   * @param string $track
1917
   * @param Google_Testers $postBody
1918
   * @param array $optParams Optional parameters.
1919
   * @return Google_Service_AndroidPublisher_Testers
1920
   */
1921
  public function patch($packageName, $editId, $track, Google_Service_AndroidPublisher_Testers $postBody, $optParams = array())
1922
  {
1923
    $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody);
1924
    $params = array_merge($params, $optParams);
1925
    return $this->call('patch', array($params), "Google_Service_AndroidPublisher_Testers");
1926
  }
1927
 
1928
  /**
1929
   * (testers.update)
1930
   *
1931
   * @param string $packageName Unique identifier for the Android app that is
1932
   * being updated; for example, "com.spiffygame".
1933
   * @param string $editId Unique identifier for this edit.
1934
   * @param string $track
1935
   * @param Google_Testers $postBody
1936
   * @param array $optParams Optional parameters.
1937
   * @return Google_Service_AndroidPublisher_Testers
1938
   */
1939
  public function update($packageName, $editId, $track, Google_Service_AndroidPublisher_Testers $postBody, $optParams = array())
1940
  {
1941
    $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody);
1942
    $params = array_merge($params, $optParams);
1943
    return $this->call('update', array($params), "Google_Service_AndroidPublisher_Testers");
1944
  }
1945
}
1946
/**
1947
 * The "tracks" collection of methods.
1948
 * Typical usage is:
1949
 *  <code>
1950
 *   $androidpublisherService = new Google_Service_AndroidPublisher(...);
1951
 *   $tracks = $androidpublisherService->tracks;
1952
 *  </code>
1953
 */
1954
#[AllowDynamicProperties]
1955
class Google_Service_AndroidPublisher_EditsTracks_Resource extends Google_Service_Resource
1956
{
1957
 
1958
  /**
1959
   * Fetches the track configuration for the specified track type. Includes the
1960
   * APK version codes that are in this track. (tracks.get)
1961
   *
1962
   * @param string $packageName Unique identifier for the Android app that is
1963
   * being updated; for example, "com.spiffygame".
1964
   * @param string $editId Unique identifier for this edit.
1965
   * @param string $track The track type to read or modify.
1966
   * @param array $optParams Optional parameters.
1967
   * @return Google_Service_AndroidPublisher_Track
1968
   */
1969
  public function get($packageName, $editId, $track, $optParams = array())
1970
  {
1971
    $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track);
1972
    $params = array_merge($params, $optParams);
1973
    return $this->call('get', array($params), "Google_Service_AndroidPublisher_Track");
1974
  }
1975
 
1976
  /**
1977
   * Lists all the track configurations for this edit. (tracks.listEditsTracks)
1978
   *
1979
   * @param string $packageName Unique identifier for the Android app that is
1980
   * being updated; for example, "com.spiffygame".
1981
   * @param string $editId Unique identifier for this edit.
1982
   * @param array $optParams Optional parameters.
1983
   * @return Google_Service_AndroidPublisher_TracksListResponse
1984
   */
1985
  public function listEditsTracks($packageName, $editId, $optParams = array())
1986
  {
1987
    $params = array('packageName' => $packageName, 'editId' => $editId);
1988
    $params = array_merge($params, $optParams);
1989
    return $this->call('list', array($params), "Google_Service_AndroidPublisher_TracksListResponse");
1990
  }
1991
 
1992
  /**
1993
   * Updates the track configuration for the specified track type. When halted,
1994
   * the rollout track cannot be updated without adding new APKs, and adding new
1995
   * APKs will cause it to resume. This method supports patch semantics.
1996
   * (tracks.patch)
1997
   *
1998
   * @param string $packageName Unique identifier for the Android app that is
1999
   * being updated; for example, "com.spiffygame".
2000
   * @param string $editId Unique identifier for this edit.
2001
   * @param string $track The track type to read or modify.
2002
   * @param Google_Track $postBody
2003
   * @param array $optParams Optional parameters.
2004
   * @return Google_Service_AndroidPublisher_Track
2005
   */
2006
  public function patch($packageName, $editId, $track, Google_Service_AndroidPublisher_Track $postBody, $optParams = array())
2007
  {
2008
    $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody);
2009
    $params = array_merge($params, $optParams);
2010
    return $this->call('patch', array($params), "Google_Service_AndroidPublisher_Track");
2011
  }
2012
 
2013
  /**
2014
   * Updates the track configuration for the specified track type. When halted,
2015
   * the rollout track cannot be updated without adding new APKs, and adding new
2016
   * APKs will cause it to resume. (tracks.update)
2017
   *
2018
   * @param string $packageName Unique identifier for the Android app that is
2019
   * being updated; for example, "com.spiffygame".
2020
   * @param string $editId Unique identifier for this edit.
2021
   * @param string $track The track type to read or modify.
2022
   * @param Google_Track $postBody
2023
   * @param array $optParams Optional parameters.
2024
   * @return Google_Service_AndroidPublisher_Track
2025
   */
2026
  public function update($packageName, $editId, $track, Google_Service_AndroidPublisher_Track $postBody, $optParams = array())
2027
  {
2028
    $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody);
2029
    $params = array_merge($params, $optParams);
2030
    return $this->call('update', array($params), "Google_Service_AndroidPublisher_Track");
2031
  }
2032
}
2033
 
2034
/**
2035
 * The "entitlements" collection of methods.
2036
 * Typical usage is:
2037
 *  <code>
2038
 *   $androidpublisherService = new Google_Service_AndroidPublisher(...);
2039
 *   $entitlements = $androidpublisherService->entitlements;
2040
 *  </code>
2041
 */
2042
#[AllowDynamicProperties]
2043
class Google_Service_AndroidPublisher_Entitlements_Resource extends Google_Service_Resource
2044
{
2045
 
2046
  /**
2047
   * Lists the user's current inapp item or subscription entitlements
2048
   * (entitlements.listEntitlements)
2049
   *
2050
   * @param string $packageName The package name of the application the inapp
2051
   * product was sold in (for example, 'com.some.thing').
2052
   * @param array $optParams Optional parameters.
2053
   *
2054
   * @opt_param string token
2055
   * @opt_param string startIndex
2056
   * @opt_param string maxResults
2057
   * @opt_param string productId The product id of the inapp product (for example,
2058
   * 'sku1'). This can be used to restrict the result set.
2059
   * @return Google_Service_AndroidPublisher_EntitlementsListResponse
2060
   */
2061
  public function listEntitlements($packageName, $optParams = array())
2062
  {
2063
    $params = array('packageName' => $packageName);
2064
    $params = array_merge($params, $optParams);
2065
    return $this->call('list', array($params), "Google_Service_AndroidPublisher_EntitlementsListResponse");
2066
  }
2067
}
2068
 
2069
/**
2070
 * The "inappproducts" collection of methods.
2071
 * Typical usage is:
2072
 *  <code>
2073
 *   $androidpublisherService = new Google_Service_AndroidPublisher(...);
2074
 *   $inappproducts = $androidpublisherService->inappproducts;
2075
 *  </code>
2076
 */
2077
#[AllowDynamicProperties]
2078
class Google_Service_AndroidPublisher_Inappproducts_Resource extends Google_Service_Resource
2079
{
2080
 
2081
  /**
2082
   * (inappproducts.batch)
2083
   *
2084
   * @param Google_InappproductsBatchRequest $postBody
2085
   * @param array $optParams Optional parameters.
2086
   * @return Google_Service_AndroidPublisher_InappproductsBatchResponse
2087
   */
2088
  public function batch(Google_Service_AndroidPublisher_InappproductsBatchRequest $postBody, $optParams = array())
2089
  {
2090
    $params = array('postBody' => $postBody);
2091
    $params = array_merge($params, $optParams);
2092
    return $this->call('batch', array($params), "Google_Service_AndroidPublisher_InappproductsBatchResponse");
2093
  }
2094
 
2095
  /**
2096
   * Delete an in-app product for an app. (inappproducts.delete)
2097
   *
2098
   * @param string $packageName Unique identifier for the Android app with the in-
2099
   * app product; for example, "com.spiffygame".
2100
   * @param string $sku Unique identifier for the in-app product.
2101
   * @param array $optParams Optional parameters.
2102
   */
2103
  public function delete($packageName, $sku, $optParams = array())
2104
  {
2105
    $params = array('packageName' => $packageName, 'sku' => $sku);
2106
    $params = array_merge($params, $optParams);
2107
    return $this->call('delete', array($params));
2108
  }
2109
 
2110
  /**
2111
   * Returns information about the in-app product specified. (inappproducts.get)
2112
   *
2113
   * @param string $packageName
2114
   * @param string $sku Unique identifier for the in-app product.
2115
   * @param array $optParams Optional parameters.
2116
   * @return Google_Service_AndroidPublisher_InAppProduct
2117
   */
2118
  public function get($packageName, $sku, $optParams = array())
2119
  {
2120
    $params = array('packageName' => $packageName, 'sku' => $sku);
2121
    $params = array_merge($params, $optParams);
2122
    return $this->call('get', array($params), "Google_Service_AndroidPublisher_InAppProduct");
2123
  }
2124
 
2125
  /**
2126
   * Creates a new in-app product for an app. (inappproducts.insert)
2127
   *
2128
   * @param string $packageName Unique identifier for the Android app; for
2129
   * example, "com.spiffygame".
2130
   * @param Google_InAppProduct $postBody
2131
   * @param array $optParams Optional parameters.
2132
   *
2133
   * @opt_param bool autoConvertMissingPrices If true the prices for all regions
2134
   * targeted by the parent app that don't have a price specified for this in-app
2135
   * product will be auto converted to the target currency based on the default
2136
   * price. Defaults to false.
2137
   * @return Google_Service_AndroidPublisher_InAppProduct
2138
   */
2139
  public function insert($packageName, Google_Service_AndroidPublisher_InAppProduct $postBody, $optParams = array())
2140
  {
2141
    $params = array('packageName' => $packageName, 'postBody' => $postBody);
2142
    $params = array_merge($params, $optParams);
2143
    return $this->call('insert', array($params), "Google_Service_AndroidPublisher_InAppProduct");
2144
  }
2145
 
2146
  /**
2147
   * List all the in-app products for an Android app, both subscriptions and
2148
   * managed in-app products.. (inappproducts.listInappproducts)
2149
   *
2150
   * @param string $packageName Unique identifier for the Android app with in-app
2151
   * products; for example, "com.spiffygame".
2152
   * @param array $optParams Optional parameters.
2153
   *
2154
   * @opt_param string token
2155
   * @opt_param string startIndex
2156
   * @opt_param string maxResults
2157
   * @return Google_Service_AndroidPublisher_InappproductsListResponse
2158
   */
2159
  public function listInappproducts($packageName, $optParams = array())
2160
  {
2161
    $params = array('packageName' => $packageName);
2162
    $params = array_merge($params, $optParams);
2163
    return $this->call('list', array($params), "Google_Service_AndroidPublisher_InappproductsListResponse");
2164
  }
2165
 
2166
  /**
2167
   * Updates the details of an in-app product. This method supports patch
2168
   * semantics. (inappproducts.patch)
2169
   *
2170
   * @param string $packageName Unique identifier for the Android app with the in-
2171
   * app product; for example, "com.spiffygame".
2172
   * @param string $sku Unique identifier for the in-app product.
2173
   * @param Google_InAppProduct $postBody
2174
   * @param array $optParams Optional parameters.
2175
   *
2176
   * @opt_param bool autoConvertMissingPrices If true the prices for all regions
2177
   * targeted by the parent app that don't have a price specified for this in-app
2178
   * product will be auto converted to the target currency based on the default
2179
   * price. Defaults to false.
2180
   * @return Google_Service_AndroidPublisher_InAppProduct
2181
   */
2182
  public function patch($packageName, $sku, Google_Service_AndroidPublisher_InAppProduct $postBody, $optParams = array())
2183
  {
2184
    $params = array('packageName' => $packageName, 'sku' => $sku, 'postBody' => $postBody);
2185
    $params = array_merge($params, $optParams);
2186
    return $this->call('patch', array($params), "Google_Service_AndroidPublisher_InAppProduct");
2187
  }
2188
 
2189
  /**
2190
   * Updates the details of an in-app product. (inappproducts.update)
2191
   *
2192
   * @param string $packageName Unique identifier for the Android app with the in-
2193
   * app product; for example, "com.spiffygame".
2194
   * @param string $sku Unique identifier for the in-app product.
2195
   * @param Google_InAppProduct $postBody
2196
   * @param array $optParams Optional parameters.
2197
   *
2198
   * @opt_param bool autoConvertMissingPrices If true the prices for all regions
2199
   * targeted by the parent app that don't have a price specified for this in-app
2200
   * product will be auto converted to the target currency based on the default
2201
   * price. Defaults to false.
2202
   * @return Google_Service_AndroidPublisher_InAppProduct
2203
   */
2204
  public function update($packageName, $sku, Google_Service_AndroidPublisher_InAppProduct $postBody, $optParams = array())
2205
  {
2206
    $params = array('packageName' => $packageName, 'sku' => $sku, 'postBody' => $postBody);
2207
    $params = array_merge($params, $optParams);
2208
    return $this->call('update', array($params), "Google_Service_AndroidPublisher_InAppProduct");
2209
  }
2210
}
2211
 
2212
/**
2213
 * The "purchases" collection of methods.
2214
 * Typical usage is:
2215
 *  <code>
2216
 *   $androidpublisherService = new Google_Service_AndroidPublisher(...);
2217
 *   $purchases = $androidpublisherService->purchases;
2218
 *  </code>
2219
 */
2220
#[AllowDynamicProperties]
2221
class Google_Service_AndroidPublisher_Purchases_Resource extends Google_Service_Resource
2222
{
2223
}
2224
 
2225
/**
2226
 * The "products" collection of methods.
2227
 * Typical usage is:
2228
 *  <code>
2229
 *   $androidpublisherService = new Google_Service_AndroidPublisher(...);
2230
 *   $products = $androidpublisherService->products;
2231
 *  </code>
2232
 */
2233
#[AllowDynamicProperties]
2234
class Google_Service_AndroidPublisher_PurchasesProducts_Resource extends Google_Service_Resource
2235
{
2236
 
2237
  /**
2238
   * Checks the purchase and consumption status of an inapp item. (products.get)
2239
   *
2240
   * @param string $packageName The package name of the application the inapp
2241
   * product was sold in (for example, 'com.some.thing').
2242
   * @param string $productId The inapp product SKU (for example,
2243
   * 'com.some.thing.inapp1').
2244
   * @param string $token The token provided to the user's device when the inapp
2245
   * product was purchased.
2246
   * @param array $optParams Optional parameters.
2247
   * @return Google_Service_AndroidPublisher_ProductPurchase
2248
   */
2249
  public function get($packageName, $productId, $token, $optParams = array())
2250
  {
2251
    $params = array('packageName' => $packageName, 'productId' => $productId, 'token' => $token);
2252
    $params = array_merge($params, $optParams);
2253
    return $this->call('get', array($params), "Google_Service_AndroidPublisher_ProductPurchase");
2254
  }
2255
}
2256
/**
2257
 * The "subscriptions" collection of methods.
2258
 * Typical usage is:
2259
 *  <code>
2260
 *   $androidpublisherService = new Google_Service_AndroidPublisher(...);
2261
 *   $subscriptions = $androidpublisherService->subscriptions;
2262
 *  </code>
2263
 */
2264
#[AllowDynamicProperties]
2265
class Google_Service_AndroidPublisher_PurchasesSubscriptions_Resource extends Google_Service_Resource
2266
{
2267
 
2268
  /**
2269
   * Cancels a user's subscription purchase. The subscription remains valid until
2270
   * its expiration time. (subscriptions.cancel)
2271
   *
2272
   * @param string $packageName The package name of the application for which this
2273
   * subscription was purchased (for example, 'com.some.thing').
2274
   * @param string $subscriptionId The purchased subscription ID (for example,
2275
   * 'monthly001').
2276
   * @param string $token The token provided to the user's device when the
2277
   * subscription was purchased.
2278
   * @param array $optParams Optional parameters.
2279
   */
2280
  public function cancel($packageName, $subscriptionId, $token, $optParams = array())
2281
  {
2282
    $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token);
2283
    $params = array_merge($params, $optParams);
2284
    return $this->call('cancel', array($params));
2285
  }
2286
 
2287
  /**
2288
   * Defers a user's subscription purchase until a specified future expiration
2289
   * time. (subscriptions.defer)
2290
   *
2291
   * @param string $packageName The package name of the application for which this
2292
   * subscription was purchased (for example, 'com.some.thing').
2293
   * @param string $subscriptionId The purchased subscription ID (for example,
2294
   * 'monthly001').
2295
   * @param string $token The token provided to the user's device when the
2296
   * subscription was purchased.
2297
   * @param Google_SubscriptionPurchasesDeferRequest $postBody
2298
   * @param array $optParams Optional parameters.
2299
   * @return Google_Service_AndroidPublisher_SubscriptionPurchasesDeferResponse
2300
   */
2301
  public function defer($packageName, $subscriptionId, $token, Google_Service_AndroidPublisher_SubscriptionPurchasesDeferRequest $postBody, $optParams = array())
2302
  {
2303
    $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token, 'postBody' => $postBody);
2304
    $params = array_merge($params, $optParams);
2305
    return $this->call('defer', array($params), "Google_Service_AndroidPublisher_SubscriptionPurchasesDeferResponse");
2306
  }
2307
 
2308
  /**
2309
   * Checks whether a user's subscription purchase is valid and returns its expiry
2310
   * time. (subscriptions.get)
2311
   *
2312
   * @param string $packageName The package name of the application for which this
2313
   * subscription was purchased (for example, 'com.some.thing').
2314
   * @param string $subscriptionId The purchased subscription ID (for example,
2315
   * 'monthly001').
2316
   * @param string $token The token provided to the user's device when the
2317
   * subscription was purchased.
2318
   * @param array $optParams Optional parameters.
2319
   * @return Google_Service_AndroidPublisher_SubscriptionPurchase
2320
   */
2321
  public function get($packageName, $subscriptionId, $token, $optParams = array())
2322
  {
2323
    $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token);
2324
    $params = array_merge($params, $optParams);
2325
    return $this->call('get', array($params), "Google_Service_AndroidPublisher_SubscriptionPurchase");
2326
  }
2327
 
2328
  /**
2329
   * Refunds a user's subscription purchase, but the subscription remains valid
2330
   * until its expiration time and it will continue to recur.
2331
   * (subscriptions.refund)
2332
   *
2333
   * @param string $packageName The package name of the application for which this
2334
   * subscription was purchased (for example, 'com.some.thing').
2335
   * @param string $subscriptionId The purchased subscription ID (for example,
2336
   * 'monthly001').
2337
   * @param string $token The token provided to the user's device when the
2338
   * subscription was purchased.
2339
   * @param array $optParams Optional parameters.
2340
   */
2341
  public function refund($packageName, $subscriptionId, $token, $optParams = array())
2342
  {
2343
    $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token);
2344
    $params = array_merge($params, $optParams);
2345
    return $this->call('refund', array($params));
2346
  }
2347
 
2348
  /**
2349
   * Refunds and immediately revokes a user's subscription purchase. Access to the
2350
   * subscription will be terminated immediately and it will stop recurring.
2351
   * (subscriptions.revoke)
2352
   *
2353
   * @param string $packageName The package name of the application for which this
2354
   * subscription was purchased (for example, 'com.some.thing').
2355
   * @param string $subscriptionId The purchased subscription ID (for example,
2356
   * 'monthly001').
2357
   * @param string $token The token provided to the user's device when the
2358
   * subscription was purchased.
2359
   * @param array $optParams Optional parameters.
2360
   */
2361
  public function revoke($packageName, $subscriptionId, $token, $optParams = array())
2362
  {
2363
    $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token);
2364
    $params = array_merge($params, $optParams);
2365
    return $this->call('revoke', array($params));
2366
  }
2367
}
2368
 
2369
 
2370
 
2371
 
2372
#[AllowDynamicProperties]
2373
class Google_Service_AndroidPublisher_Apk extends Google_Model
2374
{
2375
  protected $internal_gapi_mappings = array(
2376
  );
2377
  protected $binaryType = 'Google_Service_AndroidPublisher_ApkBinary';
2378
  protected $binaryDataType = '';
2379
  public $versionCode;
2380
 
2381
 
2382
  public function setBinary(Google_Service_AndroidPublisher_ApkBinary $binary)
2383
  {
2384
    $this->binary = $binary;
2385
  }
2386
  public function getBinary()
2387
  {
2388
    return $this->binary;
2389
  }
2390
  public function setVersionCode($versionCode)
2391
  {
2392
    $this->versionCode = $versionCode;
2393
  }
2394
  public function getVersionCode()
2395
  {
2396
    return $this->versionCode;
2397
  }
2398
}
2399
 
2400
#[AllowDynamicProperties]
2401
class Google_Service_AndroidPublisher_ApkBinary extends Google_Model
2402
{
2403
  protected $internal_gapi_mappings = array(
2404
  );
2405
  public $sha1;
2406
 
2407
 
2408
  public function setSha1($sha1)
2409
  {
2410
    $this->sha1 = $sha1;
2411
  }
2412
  public function getSha1()
2413
  {
2414
    return $this->sha1;
2415
  }
2416
}
2417
 
2418
#[AllowDynamicProperties]
2419
class Google_Service_AndroidPublisher_ApkListing extends Google_Model
2420
{
2421
  protected $internal_gapi_mappings = array(
2422
  );
2423
  public $language;
2424
  public $recentChanges;
2425
 
2426
 
2427
  public function setLanguage($language)
2428
  {
2429
    $this->language = $language;
2430
  }
2431
  public function getLanguage()
2432
  {
2433
    return $this->language;
2434
  }
2435
  public function setRecentChanges($recentChanges)
2436
  {
2437
    $this->recentChanges = $recentChanges;
2438
  }
2439
  public function getRecentChanges()
2440
  {
2441
    return $this->recentChanges;
2442
  }
2443
}
2444
 
2445
#[AllowDynamicProperties]
2446
class Google_Service_AndroidPublisher_ApkListingsListResponse extends Google_Collection
2447
{
2448
  protected $collection_key = 'listings';
2449
  protected $internal_gapi_mappings = array(
2450
  );
2451
  public $kind;
2452
  protected $listingsType = 'Google_Service_AndroidPublisher_ApkListing';
2453
  protected $listingsDataType = 'array';
2454
 
2455
 
2456
  public function setKind($kind)
2457
  {
2458
    $this->kind = $kind;
2459
  }
2460
  public function getKind()
2461
  {
2462
    return $this->kind;
2463
  }
2464
  public function setListings($listings)
2465
  {
2466
    $this->listings = $listings;
2467
  }
2468
  public function getListings()
2469
  {
2470
    return $this->listings;
2471
  }
2472
}
2473
 
2474
#[AllowDynamicProperties]
2475
class Google_Service_AndroidPublisher_ApksAddExternallyHostedRequest extends Google_Model
2476
{
2477
  protected $internal_gapi_mappings = array(
2478
  );
2479
  protected $externallyHostedApkType = 'Google_Service_AndroidPublisher_ExternallyHostedApk';
2480
  protected $externallyHostedApkDataType = '';
2481
 
2482
 
2483
  public function setExternallyHostedApk(Google_Service_AndroidPublisher_ExternallyHostedApk $externallyHostedApk)
2484
  {
2485
    $this->externallyHostedApk = $externallyHostedApk;
2486
  }
2487
  public function getExternallyHostedApk()
2488
  {
2489
    return $this->externallyHostedApk;
2490
  }
2491
}
2492
 
2493
#[AllowDynamicProperties]
2494
class Google_Service_AndroidPublisher_ApksAddExternallyHostedResponse extends Google_Model
2495
{
2496
  protected $internal_gapi_mappings = array(
2497
  );
2498
  protected $externallyHostedApkType = 'Google_Service_AndroidPublisher_ExternallyHostedApk';
2499
  protected $externallyHostedApkDataType = '';
2500
 
2501
 
2502
  public function setExternallyHostedApk(Google_Service_AndroidPublisher_ExternallyHostedApk $externallyHostedApk)
2503
  {
2504
    $this->externallyHostedApk = $externallyHostedApk;
2505
  }
2506
  public function getExternallyHostedApk()
2507
  {
2508
    return $this->externallyHostedApk;
2509
  }
2510
}
2511
 
2512
#[AllowDynamicProperties]
2513
class Google_Service_AndroidPublisher_ApksListResponse extends Google_Collection
2514
{
2515
  protected $collection_key = 'apks';
2516
  protected $internal_gapi_mappings = array(
2517
  );
2518
  protected $apksType = 'Google_Service_AndroidPublisher_Apk';
2519
  protected $apksDataType = 'array';
2520
  public $kind;
2521
 
2522
 
2523
  public function setApks($apks)
2524
  {
2525
    $this->apks = $apks;
2526
  }
2527
  public function getApks()
2528
  {
2529
    return $this->apks;
2530
  }
2531
  public function setKind($kind)
2532
  {
2533
    $this->kind = $kind;
2534
  }
2535
  public function getKind()
2536
  {
2537
    return $this->kind;
2538
  }
2539
}
2540
 
2541
#[AllowDynamicProperties]
2542
class Google_Service_AndroidPublisher_AppDetails extends Google_Model
2543
{
2544
  protected $internal_gapi_mappings = array(
2545
  );
2546
  public $contactEmail;
2547
  public $contactPhone;
2548
  public $contactWebsite;
2549
  public $defaultLanguage;
2550
 
2551
 
2552
  public function setContactEmail($contactEmail)
2553
  {
2554
    $this->contactEmail = $contactEmail;
2555
  }
2556
  public function getContactEmail()
2557
  {
2558
    return $this->contactEmail;
2559
  }
2560
  public function setContactPhone($contactPhone)
2561
  {
2562
    $this->contactPhone = $contactPhone;
2563
  }
2564
  public function getContactPhone()
2565
  {
2566
    return $this->contactPhone;
2567
  }
2568
  public function setContactWebsite($contactWebsite)
2569
  {
2570
    $this->contactWebsite = $contactWebsite;
2571
  }
2572
  public function getContactWebsite()
2573
  {
2574
    return $this->contactWebsite;
2575
  }
2576
  public function setDefaultLanguage($defaultLanguage)
2577
  {
2578
    $this->defaultLanguage = $defaultLanguage;
2579
  }
2580
  public function getDefaultLanguage()
2581
  {
2582
    return $this->defaultLanguage;
2583
  }
2584
}
2585
 
2586
#[AllowDynamicProperties]
2587
class Google_Service_AndroidPublisher_AppEdit extends Google_Model
2588
{
2589
  protected $internal_gapi_mappings = array(
2590
  );
2591
  public $expiryTimeSeconds;
2592
  public $id;
2593
 
2594
 
2595
  public function setExpiryTimeSeconds($expiryTimeSeconds)
2596
  {
2597
    $this->expiryTimeSeconds = $expiryTimeSeconds;
2598
  }
2599
  public function getExpiryTimeSeconds()
2600
  {
2601
    return $this->expiryTimeSeconds;
2602
  }
2603
  public function setId($id)
2604
  {
2605
    $this->id = $id;
2606
  }
2607
  public function getId()
2608
  {
2609
    return $this->id;
2610
  }
2611
}
2612
 
2613
#[AllowDynamicProperties]
2614
class Google_Service_AndroidPublisher_Entitlement extends Google_Model
2615
{
2616
  protected $internal_gapi_mappings = array(
2617
  );
2618
  public $kind;
2619
  public $productId;
2620
  public $productType;
2621
  public $token;
2622
 
2623
 
2624
  public function setKind($kind)
2625
  {
2626
    $this->kind = $kind;
2627
  }
2628
  public function getKind()
2629
  {
2630
    return $this->kind;
2631
  }
2632
  public function setProductId($productId)
2633
  {
2634
    $this->productId = $productId;
2635
  }
2636
  public function getProductId()
2637
  {
2638
    return $this->productId;
2639
  }
2640
  public function setProductType($productType)
2641
  {
2642
    $this->productType = $productType;
2643
  }
2644
  public function getProductType()
2645
  {
2646
    return $this->productType;
2647
  }
2648
  public function setToken($token)
2649
  {
2650
    $this->token = $token;
2651
  }
2652
  public function getToken()
2653
  {
2654
    return $this->token;
2655
  }
2656
}
2657
 
2658
#[AllowDynamicProperties]
2659
class Google_Service_AndroidPublisher_EntitlementsListResponse extends Google_Collection
2660
{
2661
  protected $collection_key = 'resources';
2662
  protected $internal_gapi_mappings = array(
2663
  );
2664
  protected $pageInfoType = 'Google_Service_AndroidPublisher_PageInfo';
2665
  protected $pageInfoDataType = '';
2666
  protected $resourcesType = 'Google_Service_AndroidPublisher_Entitlement';
2667
  protected $resourcesDataType = 'array';
2668
  protected $tokenPaginationType = 'Google_Service_AndroidPublisher_TokenPagination';
2669
  protected $tokenPaginationDataType = '';
2670
 
2671
 
2672
  public function setPageInfo(Google_Service_AndroidPublisher_PageInfo $pageInfo)
2673
  {
2674
    $this->pageInfo = $pageInfo;
2675
  }
2676
  public function getPageInfo()
2677
  {
2678
    return $this->pageInfo;
2679
  }
2680
  public function setResources($resources)
2681
  {
2682
    $this->resources = $resources;
2683
  }
2684
  public function getResources()
2685
  {
2686
    return $this->resources;
2687
  }
2688
  public function setTokenPagination(Google_Service_AndroidPublisher_TokenPagination $tokenPagination)
2689
  {
2690
    $this->tokenPagination = $tokenPagination;
2691
  }
2692
  public function getTokenPagination()
2693
  {
2694
    return $this->tokenPagination;
2695
  }
2696
}
2697
 
2698
#[AllowDynamicProperties]
2699
class Google_Service_AndroidPublisher_ExpansionFile extends Google_Model
2700
{
2701
  protected $internal_gapi_mappings = array(
2702
  );
2703
  public $fileSize;
2704
  public $referencesVersion;
2705
 
2706
 
2707
  public function setFileSize($fileSize)
2708
  {
2709
    $this->fileSize = $fileSize;
2710
  }
2711
  public function getFileSize()
2712
  {
2713
    return $this->fileSize;
2714
  }
2715
  public function setReferencesVersion($referencesVersion)
2716
  {
2717
    $this->referencesVersion = $referencesVersion;
2718
  }
2719
  public function getReferencesVersion()
2720
  {
2721
    return $this->referencesVersion;
2722
  }
2723
}
2724
 
2725
#[AllowDynamicProperties]
2726
class Google_Service_AndroidPublisher_ExpansionFilesUploadResponse extends Google_Model
2727
{
2728
  protected $internal_gapi_mappings = array(
2729
  );
2730
  protected $expansionFileType = 'Google_Service_AndroidPublisher_ExpansionFile';
2731
  protected $expansionFileDataType = '';
2732
 
2733
 
2734
  public function setExpansionFile(Google_Service_AndroidPublisher_ExpansionFile $expansionFile)
2735
  {
2736
    $this->expansionFile = $expansionFile;
2737
  }
2738
  public function getExpansionFile()
2739
  {
2740
    return $this->expansionFile;
2741
  }
2742
}
2743
 
2744
#[AllowDynamicProperties]
2745
class Google_Service_AndroidPublisher_ExternallyHostedApk extends Google_Collection
2746
{
2747
  protected $collection_key = 'usesPermissions';
2748
  protected $internal_gapi_mappings = array(
2749
  );
2750
  public $applicationLabel;
2751
  public $certificateBase64s;
2752
  public $externallyHostedUrl;
2753
  public $fileSha1Base64;
2754
  public $fileSha256Base64;
2755
  public $fileSize;
2756
  public $iconBase64;
2757
  public $maximumSdk;
2758
  public $minimumSdk;
2759
  public $nativeCodes;
2760
  public $packageName;
2761
  public $usesFeatures;
2762
  protected $usesPermissionsType = 'Google_Service_AndroidPublisher_ExternallyHostedApkUsesPermission';
2763
  protected $usesPermissionsDataType = 'array';
2764
  public $versionCode;
2765
  public $versionName;
2766
 
2767
 
2768
  public function setApplicationLabel($applicationLabel)
2769
  {
2770
    $this->applicationLabel = $applicationLabel;
2771
  }
2772
  public function getApplicationLabel()
2773
  {
2774
    return $this->applicationLabel;
2775
  }
2776
  public function setCertificateBase64s($certificateBase64s)
2777
  {
2778
    $this->certificateBase64s = $certificateBase64s;
2779
  }
2780
  public function getCertificateBase64s()
2781
  {
2782
    return $this->certificateBase64s;
2783
  }
2784
  public function setExternallyHostedUrl($externallyHostedUrl)
2785
  {
2786
    $this->externallyHostedUrl = $externallyHostedUrl;
2787
  }
2788
  public function getExternallyHostedUrl()
2789
  {
2790
    return $this->externallyHostedUrl;
2791
  }
2792
  public function setFileSha1Base64($fileSha1Base64)
2793
  {
2794
    $this->fileSha1Base64 = $fileSha1Base64;
2795
  }
2796
  public function getFileSha1Base64()
2797
  {
2798
    return $this->fileSha1Base64;
2799
  }
2800
  public function setFileSha256Base64($fileSha256Base64)
2801
  {
2802
    $this->fileSha256Base64 = $fileSha256Base64;
2803
  }
2804
  public function getFileSha256Base64()
2805
  {
2806
    return $this->fileSha256Base64;
2807
  }
2808
  public function setFileSize($fileSize)
2809
  {
2810
    $this->fileSize = $fileSize;
2811
  }
2812
  public function getFileSize()
2813
  {
2814
    return $this->fileSize;
2815
  }
2816
  public function setIconBase64($iconBase64)
2817
  {
2818
    $this->iconBase64 = $iconBase64;
2819
  }
2820
  public function getIconBase64()
2821
  {
2822
    return $this->iconBase64;
2823
  }
2824
  public function setMaximumSdk($maximumSdk)
2825
  {
2826
    $this->maximumSdk = $maximumSdk;
2827
  }
2828
  public function getMaximumSdk()
2829
  {
2830
    return $this->maximumSdk;
2831
  }
2832
  public function setMinimumSdk($minimumSdk)
2833
  {
2834
    $this->minimumSdk = $minimumSdk;
2835
  }
2836
  public function getMinimumSdk()
2837
  {
2838
    return $this->minimumSdk;
2839
  }
2840
  public function setNativeCodes($nativeCodes)
2841
  {
2842
    $this->nativeCodes = $nativeCodes;
2843
  }
2844
  public function getNativeCodes()
2845
  {
2846
    return $this->nativeCodes;
2847
  }
2848
  public function setPackageName($packageName)
2849
  {
2850
    $this->packageName = $packageName;
2851
  }
2852
  public function getPackageName()
2853
  {
2854
    return $this->packageName;
2855
  }
2856
  public function setUsesFeatures($usesFeatures)
2857
  {
2858
    $this->usesFeatures = $usesFeatures;
2859
  }
2860
  public function getUsesFeatures()
2861
  {
2862
    return $this->usesFeatures;
2863
  }
2864
  public function setUsesPermissions($usesPermissions)
2865
  {
2866
    $this->usesPermissions = $usesPermissions;
2867
  }
2868
  public function getUsesPermissions()
2869
  {
2870
    return $this->usesPermissions;
2871
  }
2872
  public function setVersionCode($versionCode)
2873
  {
2874
    $this->versionCode = $versionCode;
2875
  }
2876
  public function getVersionCode()
2877
  {
2878
    return $this->versionCode;
2879
  }
2880
  public function setVersionName($versionName)
2881
  {
2882
    $this->versionName = $versionName;
2883
  }
2884
  public function getVersionName()
2885
  {
2886
    return $this->versionName;
2887
  }
2888
}
2889
 
2890
#[AllowDynamicProperties]
2891
class Google_Service_AndroidPublisher_ExternallyHostedApkUsesPermission extends Google_Model
2892
{
2893
  protected $internal_gapi_mappings = array(
2894
  );
2895
  public $maxSdkVersion;
2896
  public $name;
2897
 
2898
 
2899
  public function setMaxSdkVersion($maxSdkVersion)
2900
  {
2901
    $this->maxSdkVersion = $maxSdkVersion;
2902
  }
2903
  public function getMaxSdkVersion()
2904
  {
2905
    return $this->maxSdkVersion;
2906
  }
2907
  public function setName($name)
2908
  {
2909
    $this->name = $name;
2910
  }
2911
  public function getName()
2912
  {
2913
    return $this->name;
2914
  }
2915
}
2916
 
2917
#[AllowDynamicProperties]
2918
class Google_Service_AndroidPublisher_Image extends Google_Model
2919
{
2920
  protected $internal_gapi_mappings = array(
2921
  );
2922
  public $id;
2923
  public $sha1;
2924
  public $url;
2925
 
2926
 
2927
  public function setId($id)
2928
  {
2929
    $this->id = $id;
2930
  }
2931
  public function getId()
2932
  {
2933
    return $this->id;
2934
  }
2935
  public function setSha1($sha1)
2936
  {
2937
    $this->sha1 = $sha1;
2938
  }
2939
  public function getSha1()
2940
  {
2941
    return $this->sha1;
2942
  }
2943
  public function setUrl($url)
2944
  {
2945
    $this->url = $url;
2946
  }
2947
  public function getUrl()
2948
  {
2949
    return $this->url;
2950
  }
2951
}
2952
 
2953
#[AllowDynamicProperties]
2954
class Google_Service_AndroidPublisher_ImagesDeleteAllResponse extends Google_Collection
2955
{
2956
  protected $collection_key = 'deleted';
2957
  protected $internal_gapi_mappings = array(
2958
  );
2959
  protected $deletedType = 'Google_Service_AndroidPublisher_Image';
2960
  protected $deletedDataType = 'array';
2961
 
2962
 
2963
  public function setDeleted($deleted)
2964
  {
2965
    $this->deleted = $deleted;
2966
  }
2967
  public function getDeleted()
2968
  {
2969
    return $this->deleted;
2970
  }
2971
}
2972
 
2973
#[AllowDynamicProperties]
2974
class Google_Service_AndroidPublisher_ImagesListResponse extends Google_Collection
2975
{
2976
  protected $collection_key = 'images';
2977
  protected $internal_gapi_mappings = array(
2978
  );
2979
  protected $imagesType = 'Google_Service_AndroidPublisher_Image';
2980
  protected $imagesDataType = 'array';
2981
 
2982
 
2983
  public function setImages($images)
2984
  {
2985
    $this->images = $images;
2986
  }
2987
  public function getImages()
2988
  {
2989
    return $this->images;
2990
  }
2991
}
2992
 
2993
#[AllowDynamicProperties]
2994
class Google_Service_AndroidPublisher_ImagesUploadResponse extends Google_Model
2995
{
2996
  protected $internal_gapi_mappings = array(
2997
  );
2998
  protected $imageType = 'Google_Service_AndroidPublisher_Image';
2999
  protected $imageDataType = '';
3000
 
3001
 
3002
  public function setImage(Google_Service_AndroidPublisher_Image $image)
3003
  {
3004
    $this->image = $image;
3005
  }
3006
  public function getImage()
3007
  {
3008
    return $this->image;
3009
  }
3010
}
3011
 
3012
#[AllowDynamicProperties]
3013
class Google_Service_AndroidPublisher_InAppProduct extends Google_Model
3014
{
3015
  protected $internal_gapi_mappings = array(
3016
  );
3017
  public $defaultLanguage;
3018
  protected $defaultPriceType = 'Google_Service_AndroidPublisher_Price';
3019
  protected $defaultPriceDataType = '';
3020
  protected $listingsType = 'Google_Service_AndroidPublisher_InAppProductListing';
3021
  protected $listingsDataType = 'map';
3022
  public $packageName;
3023
  protected $pricesType = 'Google_Service_AndroidPublisher_Price';
3024
  protected $pricesDataType = 'map';
3025
  public $purchaseType;
3026
  protected $seasonType = 'Google_Service_AndroidPublisher_Season';
3027
  protected $seasonDataType = '';
3028
  public $sku;
3029
  public $status;
3030
  public $subscriptionPeriod;
3031
  public $trialPeriod;
3032
 
3033
 
3034
  public function setDefaultLanguage($defaultLanguage)
3035
  {
3036
    $this->defaultLanguage = $defaultLanguage;
3037
  }
3038
  public function getDefaultLanguage()
3039
  {
3040
    return $this->defaultLanguage;
3041
  }
3042
  public function setDefaultPrice(Google_Service_AndroidPublisher_Price $defaultPrice)
3043
  {
3044
    $this->defaultPrice = $defaultPrice;
3045
  }
3046
  public function getDefaultPrice()
3047
  {
3048
    return $this->defaultPrice;
3049
  }
3050
  public function setListings($listings)
3051
  {
3052
    $this->listings = $listings;
3053
  }
3054
  public function getListings()
3055
  {
3056
    return $this->listings;
3057
  }
3058
  public function setPackageName($packageName)
3059
  {
3060
    $this->packageName = $packageName;
3061
  }
3062
  public function getPackageName()
3063
  {
3064
    return $this->packageName;
3065
  }
3066
  public function setPrices($prices)
3067
  {
3068
    $this->prices = $prices;
3069
  }
3070
  public function getPrices()
3071
  {
3072
    return $this->prices;
3073
  }
3074
  public function setPurchaseType($purchaseType)
3075
  {
3076
    $this->purchaseType = $purchaseType;
3077
  }
3078
  public function getPurchaseType()
3079
  {
3080
    return $this->purchaseType;
3081
  }
3082
  public function setSeason(Google_Service_AndroidPublisher_Season $season)
3083
  {
3084
    $this->season = $season;
3085
  }
3086
  public function getSeason()
3087
  {
3088
    return $this->season;
3089
  }
3090
  public function setSku($sku)
3091
  {
3092
    $this->sku = $sku;
3093
  }
3094
  public function getSku()
3095
  {
3096
    return $this->sku;
3097
  }
3098
  public function setStatus($status)
3099
  {
3100
    $this->status = $status;
3101
  }
3102
  public function getStatus()
3103
  {
3104
    return $this->status;
3105
  }
3106
  public function setSubscriptionPeriod($subscriptionPeriod)
3107
  {
3108
    $this->subscriptionPeriod = $subscriptionPeriod;
3109
  }
3110
  public function getSubscriptionPeriod()
3111
  {
3112
    return $this->subscriptionPeriod;
3113
  }
3114
  public function setTrialPeriod($trialPeriod)
3115
  {
3116
    $this->trialPeriod = $trialPeriod;
3117
  }
3118
  public function getTrialPeriod()
3119
  {
3120
    return $this->trialPeriod;
3121
  }
3122
}
3123
 
3124
#[AllowDynamicProperties]
3125
class Google_Service_AndroidPublisher_InAppProductListing extends Google_Model
3126
{
3127
  protected $internal_gapi_mappings = array(
3128
  );
3129
  public $description;
3130
  public $title;
3131
 
3132
 
3133
  public function setDescription($description)
3134
  {
3135
    $this->description = $description;
3136
  }
3137
  public function getDescription()
3138
  {
3139
    return $this->description;
3140
  }
3141
  public function setTitle($title)
3142
  {
3143
    $this->title = $title;
3144
  }
3145
  public function getTitle()
3146
  {
3147
    return $this->title;
3148
  }
3149
}
3150
 
3151
#[AllowDynamicProperties]
3152
class Google_Service_AndroidPublisher_InAppProductListings extends Google_Model
3153
{
3154
}
3155
 
3156
#[AllowDynamicProperties]
3157
class Google_Service_AndroidPublisher_InAppProductPrices extends Google_Model
3158
{
3159
}
3160
 
3161
#[AllowDynamicProperties]
3162
class Google_Service_AndroidPublisher_InappproductsBatchRequest extends Google_Collection
3163
{
3164
  protected $collection_key = 'entrys';
3165
  protected $internal_gapi_mappings = array(
3166
  );
3167
  protected $entrysType = 'Google_Service_AndroidPublisher_InappproductsBatchRequestEntry';
3168
  protected $entrysDataType = 'array';
3169
 
3170
 
3171
  public function setEntrys($entrys)
3172
  {
3173
    $this->entrys = $entrys;
3174
  }
3175
  public function getEntrys()
3176
  {
3177
    return $this->entrys;
3178
  }
3179
}
3180
 
3181
#[AllowDynamicProperties]
3182
class Google_Service_AndroidPublisher_InappproductsBatchRequestEntry extends Google_Model
3183
{
3184
  protected $internal_gapi_mappings = array(
3185
  );
3186
  public $batchId;
3187
  protected $inappproductsinsertrequestType = 'Google_Service_AndroidPublisher_InappproductsInsertRequest';
3188
  protected $inappproductsinsertrequestDataType = '';
3189
  protected $inappproductsupdaterequestType = 'Google_Service_AndroidPublisher_InappproductsUpdateRequest';
3190
  protected $inappproductsupdaterequestDataType = '';
3191
  public $methodName;
3192
 
3193
 
3194
  public function setBatchId($batchId)
3195
  {
3196
    $this->batchId = $batchId;
3197
  }
3198
  public function getBatchId()
3199
  {
3200
    return $this->batchId;
3201
  }
3202
  public function setInappproductsinsertrequest(Google_Service_AndroidPublisher_InappproductsInsertRequest $inappproductsinsertrequest)
3203
  {
3204
    $this->inappproductsinsertrequest = $inappproductsinsertrequest;
3205
  }
3206
  public function getInappproductsinsertrequest()
3207
  {
3208
    return $this->inappproductsinsertrequest;
3209
  }
3210
  public function setInappproductsupdaterequest(Google_Service_AndroidPublisher_InappproductsUpdateRequest $inappproductsupdaterequest)
3211
  {
3212
    $this->inappproductsupdaterequest = $inappproductsupdaterequest;
3213
  }
3214
  public function getInappproductsupdaterequest()
3215
  {
3216
    return $this->inappproductsupdaterequest;
3217
  }
3218
  public function setMethodName($methodName)
3219
  {
3220
    $this->methodName = $methodName;
3221
  }
3222
  public function getMethodName()
3223
  {
3224
    return $this->methodName;
3225
  }
3226
}
3227
 
3228
#[AllowDynamicProperties]
3229
class Google_Service_AndroidPublisher_InappproductsBatchResponse extends Google_Collection
3230
{
3231
  protected $collection_key = 'entrys';
3232
  protected $internal_gapi_mappings = array(
3233
  );
3234
  protected $entrysType = 'Google_Service_AndroidPublisher_InappproductsBatchResponseEntry';
3235
  protected $entrysDataType = 'array';
3236
  public $kind;
3237
 
3238
 
3239
  public function setEntrys($entrys)
3240
  {
3241
    $this->entrys = $entrys;
3242
  }
3243
  public function getEntrys()
3244
  {
3245
    return $this->entrys;
3246
  }
3247
  public function setKind($kind)
3248
  {
3249
    $this->kind = $kind;
3250
  }
3251
  public function getKind()
3252
  {
3253
    return $this->kind;
3254
  }
3255
}
3256
 
3257
#[AllowDynamicProperties]
3258
class Google_Service_AndroidPublisher_InappproductsBatchResponseEntry extends Google_Model
3259
{
3260
  protected $internal_gapi_mappings = array(
3261
  );
3262
  public $batchId;
3263
  protected $inappproductsinsertresponseType = 'Google_Service_AndroidPublisher_InappproductsInsertResponse';
3264
  protected $inappproductsinsertresponseDataType = '';
3265
  protected $inappproductsupdateresponseType = 'Google_Service_AndroidPublisher_InappproductsUpdateResponse';
3266
  protected $inappproductsupdateresponseDataType = '';
3267
 
3268
 
3269
  public function setBatchId($batchId)
3270
  {
3271
    $this->batchId = $batchId;
3272
  }
3273
  public function getBatchId()
3274
  {
3275
    return $this->batchId;
3276
  }
3277
  public function setInappproductsinsertresponse(Google_Service_AndroidPublisher_InappproductsInsertResponse $inappproductsinsertresponse)
3278
  {
3279
    $this->inappproductsinsertresponse = $inappproductsinsertresponse;
3280
  }
3281
  public function getInappproductsinsertresponse()
3282
  {
3283
    return $this->inappproductsinsertresponse;
3284
  }
3285
  public function setInappproductsupdateresponse(Google_Service_AndroidPublisher_InappproductsUpdateResponse $inappproductsupdateresponse)
3286
  {
3287
    $this->inappproductsupdateresponse = $inappproductsupdateresponse;
3288
  }
3289
  public function getInappproductsupdateresponse()
3290
  {
3291
    return $this->inappproductsupdateresponse;
3292
  }
3293
}
3294
 
3295
#[AllowDynamicProperties]
3296
class Google_Service_AndroidPublisher_InappproductsInsertRequest extends Google_Model
3297
{
3298
  protected $internal_gapi_mappings = array(
3299
  );
3300
  protected $inappproductType = 'Google_Service_AndroidPublisher_InAppProduct';
3301
  protected $inappproductDataType = '';
3302
 
3303
 
3304
  public function setInappproduct(Google_Service_AndroidPublisher_InAppProduct $inappproduct)
3305
  {
3306
    $this->inappproduct = $inappproduct;
3307
  }
3308
  public function getInappproduct()
3309
  {
3310
    return $this->inappproduct;
3311
  }
3312
}
3313
 
3314
#[AllowDynamicProperties]
3315
class Google_Service_AndroidPublisher_InappproductsInsertResponse extends Google_Model
3316
{
3317
  protected $internal_gapi_mappings = array(
3318
  );
3319
  protected $inappproductType = 'Google_Service_AndroidPublisher_InAppProduct';
3320
  protected $inappproductDataType = '';
3321
 
3322
 
3323
  public function setInappproduct(Google_Service_AndroidPublisher_InAppProduct $inappproduct)
3324
  {
3325
    $this->inappproduct = $inappproduct;
3326
  }
3327
  public function getInappproduct()
3328
  {
3329
    return $this->inappproduct;
3330
  }
3331
}
3332
 
3333
#[AllowDynamicProperties]
3334
class Google_Service_AndroidPublisher_InappproductsListResponse extends Google_Collection
3335
{
3336
  protected $collection_key = 'inappproduct';
3337
  protected $internal_gapi_mappings = array(
3338
  );
3339
  protected $inappproductType = 'Google_Service_AndroidPublisher_InAppProduct';
3340
  protected $inappproductDataType = 'array';
3341
  public $kind;
3342
  protected $pageInfoType = 'Google_Service_AndroidPublisher_PageInfo';
3343
  protected $pageInfoDataType = '';
3344
  protected $tokenPaginationType = 'Google_Service_AndroidPublisher_TokenPagination';
3345
  protected $tokenPaginationDataType = '';
3346
 
3347
 
3348
  public function setInappproduct($inappproduct)
3349
  {
3350
    $this->inappproduct = $inappproduct;
3351
  }
3352
  public function getInappproduct()
3353
  {
3354
    return $this->inappproduct;
3355
  }
3356
  public function setKind($kind)
3357
  {
3358
    $this->kind = $kind;
3359
  }
3360
  public function getKind()
3361
  {
3362
    return $this->kind;
3363
  }
3364
  public function setPageInfo(Google_Service_AndroidPublisher_PageInfo $pageInfo)
3365
  {
3366
    $this->pageInfo = $pageInfo;
3367
  }
3368
  public function getPageInfo()
3369
  {
3370
    return $this->pageInfo;
3371
  }
3372
  public function setTokenPagination(Google_Service_AndroidPublisher_TokenPagination $tokenPagination)
3373
  {
3374
    $this->tokenPagination = $tokenPagination;
3375
  }
3376
  public function getTokenPagination()
3377
  {
3378
    return $this->tokenPagination;
3379
  }
3380
}
3381
 
3382
#[AllowDynamicProperties]
3383
class Google_Service_AndroidPublisher_InappproductsUpdateRequest extends Google_Model
3384
{
3385
  protected $internal_gapi_mappings = array(
3386
  );
3387
  protected $inappproductType = 'Google_Service_AndroidPublisher_InAppProduct';
3388
  protected $inappproductDataType = '';
3389
 
3390
 
3391
  public function setInappproduct(Google_Service_AndroidPublisher_InAppProduct $inappproduct)
3392
  {
3393
    $this->inappproduct = $inappproduct;
3394
  }
3395
  public function getInappproduct()
3396
  {
3397
    return $this->inappproduct;
3398
  }
3399
}
3400
 
3401
#[AllowDynamicProperties]
3402
class Google_Service_AndroidPublisher_InappproductsUpdateResponse extends Google_Model
3403
{
3404
  protected $internal_gapi_mappings = array(
3405
  );
3406
  protected $inappproductType = 'Google_Service_AndroidPublisher_InAppProduct';
3407
  protected $inappproductDataType = '';
3408
 
3409
 
3410
  public function setInappproduct(Google_Service_AndroidPublisher_InAppProduct $inappproduct)
3411
  {
3412
    $this->inappproduct = $inappproduct;
3413
  }
3414
  public function getInappproduct()
3415
  {
3416
    return $this->inappproduct;
3417
  }
3418
}
3419
 
3420
#[AllowDynamicProperties]
3421
class Google_Service_AndroidPublisher_Listing extends Google_Model
3422
{
3423
  protected $internal_gapi_mappings = array(
3424
  );
3425
  public $fullDescription;
3426
  public $language;
3427
  public $shortDescription;
3428
  public $title;
3429
  public $video;
3430
 
3431
 
3432
  public function setFullDescription($fullDescription)
3433
  {
3434
    $this->fullDescription = $fullDescription;
3435
  }
3436
  public function getFullDescription()
3437
  {
3438
    return $this->fullDescription;
3439
  }
3440
  public function setLanguage($language)
3441
  {
3442
    $this->language = $language;
3443
  }
3444
  public function getLanguage()
3445
  {
3446
    return $this->language;
3447
  }
3448
  public function setShortDescription($shortDescription)
3449
  {
3450
    $this->shortDescription = $shortDescription;
3451
  }
3452
  public function getShortDescription()
3453
  {
3454
    return $this->shortDescription;
3455
  }
3456
  public function setTitle($title)
3457
  {
3458
    $this->title = $title;
3459
  }
3460
  public function getTitle()
3461
  {
3462
    return $this->title;
3463
  }
3464
  public function setVideo($video)
3465
  {
3466
    $this->video = $video;
3467
  }
3468
  public function getVideo()
3469
  {
3470
    return $this->video;
3471
  }
3472
}
3473
 
3474
#[AllowDynamicProperties]
3475
class Google_Service_AndroidPublisher_ListingsListResponse extends Google_Collection
3476
{
3477
  protected $collection_key = 'listings';
3478
  protected $internal_gapi_mappings = array(
3479
  );
3480
  public $kind;
3481
  protected $listingsType = 'Google_Service_AndroidPublisher_Listing';
3482
  protected $listingsDataType = 'array';
3483
 
3484
 
3485
  public function setKind($kind)
3486
  {
3487
    $this->kind = $kind;
3488
  }
3489
  public function getKind()
3490
  {
3491
    return $this->kind;
3492
  }
3493
  public function setListings($listings)
3494
  {
3495
    $this->listings = $listings;
3496
  }
3497
  public function getListings()
3498
  {
3499
    return $this->listings;
3500
  }
3501
}
3502
 
3503
#[AllowDynamicProperties]
3504
class Google_Service_AndroidPublisher_MonthDay extends Google_Model
3505
{
3506
  protected $internal_gapi_mappings = array(
3507
  );
3508
  public $day;
3509
  public $month;
3510
 
3511
 
3512
  public function setDay($day)
3513
  {
3514
    $this->day = $day;
3515
  }
3516
  public function getDay()
3517
  {
3518
    return $this->day;
3519
  }
3520
  public function setMonth($month)
3521
  {
3522
    $this->month = $month;
3523
  }
3524
  public function getMonth()
3525
  {
3526
    return $this->month;
3527
  }
3528
}
3529
 
3530
#[AllowDynamicProperties]
3531
class Google_Service_AndroidPublisher_PageInfo extends Google_Model
3532
{
3533
  protected $internal_gapi_mappings = array(
3534
  );
3535
  public $resultPerPage;
3536
  public $startIndex;
3537
  public $totalResults;
3538
 
3539
 
3540
  public function setResultPerPage($resultPerPage)
3541
  {
3542
    $this->resultPerPage = $resultPerPage;
3543
  }
3544
  public function getResultPerPage()
3545
  {
3546
    return $this->resultPerPage;
3547
  }
3548
  public function setStartIndex($startIndex)
3549
  {
3550
    $this->startIndex = $startIndex;
3551
  }
3552
  public function getStartIndex()
3553
  {
3554
    return $this->startIndex;
3555
  }
3556
  public function setTotalResults($totalResults)
3557
  {
3558
    $this->totalResults = $totalResults;
3559
  }
3560
  public function getTotalResults()
3561
  {
3562
    return $this->totalResults;
3563
  }
3564
}
3565
 
3566
#[AllowDynamicProperties]
3567
class Google_Service_AndroidPublisher_Price extends Google_Model
3568
{
3569
  protected $internal_gapi_mappings = array(
3570
  );
3571
  public $currency;
3572
  public $priceMicros;
3573
 
3574
 
3575
  public function setCurrency($currency)
3576
  {
3577
    $this->currency = $currency;
3578
  }
3579
  public function getCurrency()
3580
  {
3581
    return $this->currency;
3582
  }
3583
  public function setPriceMicros($priceMicros)
3584
  {
3585
    $this->priceMicros = $priceMicros;
3586
  }
3587
  public function getPriceMicros()
3588
  {
3589
    return $this->priceMicros;
3590
  }
3591
}
3592
 
3593
#[AllowDynamicProperties]
3594
class Google_Service_AndroidPublisher_ProductPurchase extends Google_Model
3595
{
3596
  protected $internal_gapi_mappings = array(
3597
  );
3598
  public $consumptionState;
3599
  public $developerPayload;
3600
  public $kind;
3601
  public $purchaseState;
3602
  public $purchaseTimeMillis;
3603
 
3604
 
3605
  public function setConsumptionState($consumptionState)
3606
  {
3607
    $this->consumptionState = $consumptionState;
3608
  }
3609
  public function getConsumptionState()
3610
  {
3611
    return $this->consumptionState;
3612
  }
3613
  public function setDeveloperPayload($developerPayload)
3614
  {
3615
    $this->developerPayload = $developerPayload;
3616
  }
3617
  public function getDeveloperPayload()
3618
  {
3619
    return $this->developerPayload;
3620
  }
3621
  public function setKind($kind)
3622
  {
3623
    $this->kind = $kind;
3624
  }
3625
  public function getKind()
3626
  {
3627
    return $this->kind;
3628
  }
3629
  public function setPurchaseState($purchaseState)
3630
  {
3631
    $this->purchaseState = $purchaseState;
3632
  }
3633
  public function getPurchaseState()
3634
  {
3635
    return $this->purchaseState;
3636
  }
3637
  public function setPurchaseTimeMillis($purchaseTimeMillis)
3638
  {
3639
    $this->purchaseTimeMillis = $purchaseTimeMillis;
3640
  }
3641
  public function getPurchaseTimeMillis()
3642
  {
3643
    return $this->purchaseTimeMillis;
3644
  }
3645
}
3646
 
3647
#[AllowDynamicProperties]
3648
class Google_Service_AndroidPublisher_Season extends Google_Model
3649
{
3650
  protected $internal_gapi_mappings = array(
3651
  );
3652
  protected $endType = 'Google_Service_AndroidPublisher_MonthDay';
3653
  protected $endDataType = '';
3654
  protected $startType = 'Google_Service_AndroidPublisher_MonthDay';
3655
  protected $startDataType = '';
3656
 
3657
 
3658
  public function setEnd(Google_Service_AndroidPublisher_MonthDay $end)
3659
  {
3660
    $this->end = $end;
3661
  }
3662
  public function getEnd()
3663
  {
3664
    return $this->end;
3665
  }
3666
  public function setStart(Google_Service_AndroidPublisher_MonthDay $start)
3667
  {
3668
    $this->start = $start;
3669
  }
3670
  public function getStart()
3671
  {
3672
    return $this->start;
3673
  }
3674
}
3675
 
3676
#[AllowDynamicProperties]
3677
class Google_Service_AndroidPublisher_SubscriptionDeferralInfo extends Google_Model
3678
{
3679
  protected $internal_gapi_mappings = array(
3680
  );
3681
  public $desiredExpiryTimeMillis;
3682
  public $expectedExpiryTimeMillis;
3683
 
3684
 
3685
  public function setDesiredExpiryTimeMillis($desiredExpiryTimeMillis)
3686
  {
3687
    $this->desiredExpiryTimeMillis = $desiredExpiryTimeMillis;
3688
  }
3689
  public function getDesiredExpiryTimeMillis()
3690
  {
3691
    return $this->desiredExpiryTimeMillis;
3692
  }
3693
  public function setExpectedExpiryTimeMillis($expectedExpiryTimeMillis)
3694
  {
3695
    $this->expectedExpiryTimeMillis = $expectedExpiryTimeMillis;
3696
  }
3697
  public function getExpectedExpiryTimeMillis()
3698
  {
3699
    return $this->expectedExpiryTimeMillis;
3700
  }
3701
}
3702
 
3703
#[AllowDynamicProperties]
3704
class Google_Service_AndroidPublisher_SubscriptionPurchase extends Google_Model
3705
{
3706
  protected $internal_gapi_mappings = array(
3707
  );
3708
  public $autoRenewing;
3709
  public $expiryTimeMillis;
3710
  public $kind;
3711
  public $startTimeMillis;
3712
 
3713
 
3714
  public function setAutoRenewing($autoRenewing)
3715
  {
3716
    $this->autoRenewing = $autoRenewing;
3717
  }
3718
  public function getAutoRenewing()
3719
  {
3720
    return $this->autoRenewing;
3721
  }
3722
  public function setExpiryTimeMillis($expiryTimeMillis)
3723
  {
3724
    $this->expiryTimeMillis = $expiryTimeMillis;
3725
  }
3726
  public function getExpiryTimeMillis()
3727
  {
3728
    return $this->expiryTimeMillis;
3729
  }
3730
  public function setKind($kind)
3731
  {
3732
    $this->kind = $kind;
3733
  }
3734
  public function getKind()
3735
  {
3736
    return $this->kind;
3737
  }
3738
  public function setStartTimeMillis($startTimeMillis)
3739
  {
3740
    $this->startTimeMillis = $startTimeMillis;
3741
  }
3742
  public function getStartTimeMillis()
3743
  {
3744
    return $this->startTimeMillis;
3745
  }
3746
}
3747
 
3748
#[AllowDynamicProperties]
3749
class Google_Service_AndroidPublisher_SubscriptionPurchasesDeferRequest extends Google_Model
3750
{
3751
  protected $internal_gapi_mappings = array(
3752
  );
3753
  protected $deferralInfoType = 'Google_Service_AndroidPublisher_SubscriptionDeferralInfo';
3754
  protected $deferralInfoDataType = '';
3755
 
3756
 
3757
  public function setDeferralInfo(Google_Service_AndroidPublisher_SubscriptionDeferralInfo $deferralInfo)
3758
  {
3759
    $this->deferralInfo = $deferralInfo;
3760
  }
3761
  public function getDeferralInfo()
3762
  {
3763
    return $this->deferralInfo;
3764
  }
3765
}
3766
 
3767
#[AllowDynamicProperties]
3768
class Google_Service_AndroidPublisher_SubscriptionPurchasesDeferResponse extends Google_Model
3769
{
3770
  protected $internal_gapi_mappings = array(
3771
  );
3772
  public $newExpiryTimeMillis;
3773
 
3774
 
3775
  public function setNewExpiryTimeMillis($newExpiryTimeMillis)
3776
  {
3777
    $this->newExpiryTimeMillis = $newExpiryTimeMillis;
3778
  }
3779
  public function getNewExpiryTimeMillis()
3780
  {
3781
    return $this->newExpiryTimeMillis;
3782
  }
3783
}
3784
 
3785
#[AllowDynamicProperties]
3786
class Google_Service_AndroidPublisher_Testers extends Google_Collection
3787
{
3788
  protected $collection_key = 'googlePlusCommunities';
3789
  protected $internal_gapi_mappings = array(
3790
  );
3791
  public $googleGroups;
3792
  public $googlePlusCommunities;
3793
 
3794
 
3795
  public function setGoogleGroups($googleGroups)
3796
  {
3797
    $this->googleGroups = $googleGroups;
3798
  }
3799
  public function getGoogleGroups()
3800
  {
3801
    return $this->googleGroups;
3802
  }
3803
  public function setGooglePlusCommunities($googlePlusCommunities)
3804
  {
3805
    $this->googlePlusCommunities = $googlePlusCommunities;
3806
  }
3807
  public function getGooglePlusCommunities()
3808
  {
3809
    return $this->googlePlusCommunities;
3810
  }
3811
}
3812
 
3813
#[AllowDynamicProperties]
3814
class Google_Service_AndroidPublisher_TokenPagination extends Google_Model
3815
{
3816
  protected $internal_gapi_mappings = array(
3817
  );
3818
  public $nextPageToken;
3819
  public $previousPageToken;
3820
 
3821
 
3822
  public function setNextPageToken($nextPageToken)
3823
  {
3824
    $this->nextPageToken = $nextPageToken;
3825
  }
3826
  public function getNextPageToken()
3827
  {
3828
    return $this->nextPageToken;
3829
  }
3830
  public function setPreviousPageToken($previousPageToken)
3831
  {
3832
    $this->previousPageToken = $previousPageToken;
3833
  }
3834
  public function getPreviousPageToken()
3835
  {
3836
    return $this->previousPageToken;
3837
  }
3838
}
3839
 
3840
#[AllowDynamicProperties]
3841
class Google_Service_AndroidPublisher_Track extends Google_Collection
3842
{
3843
  protected $collection_key = 'versionCodes';
3844
  protected $internal_gapi_mappings = array(
3845
  );
3846
  public $track;
3847
  public $userFraction;
3848
  public $versionCodes;
3849
 
3850
 
3851
  public function setTrack($track)
3852
  {
3853
    $this->track = $track;
3854
  }
3855
  public function getTrack()
3856
  {
3857
    return $this->track;
3858
  }
3859
  public function setUserFraction($userFraction)
3860
  {
3861
    $this->userFraction = $userFraction;
3862
  }
3863
  public function getUserFraction()
3864
  {
3865
    return $this->userFraction;
3866
  }
3867
  public function setVersionCodes($versionCodes)
3868
  {
3869
    $this->versionCodes = $versionCodes;
3870
  }
3871
  public function getVersionCodes()
3872
  {
3873
    return $this->versionCodes;
3874
  }
3875
}
3876
 
3877
#[AllowDynamicProperties]
3878
class Google_Service_AndroidPublisher_TracksListResponse extends Google_Collection
3879
{
3880
  protected $collection_key = 'tracks';
3881
  protected $internal_gapi_mappings = array(
3882
  );
3883
  public $kind;
3884
  protected $tracksType = 'Google_Service_AndroidPublisher_Track';
3885
  protected $tracksDataType = 'array';
3886
 
3887
 
3888
  public function setKind($kind)
3889
  {
3890
    $this->kind = $kind;
3891
  }
3892
  public function getKind()
3893
  {
3894
    return $this->kind;
3895
  }
3896
  public function setTracks($tracks)
3897
  {
3898
    $this->tracks = $tracks;
3899
  }
3900
  public function getTracks()
3901
  {
3902
    return $this->tracks;
3903
  }
3904
}