google-apis-androidpublisher_v3 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,28 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ module Google
16
+ module Apis
17
+ module AndroidpublisherV3
18
+ # Version of the google-apis-androidpublisher_v3 gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.1.1"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20201125"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,988 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module AndroidpublisherV3
24
+
25
+ class Apk
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class ApkBinary
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class ApksAddExternallyHostedRequest
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class ApksAddExternallyHostedResponse
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class ApksListResponse
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class AppDetails
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class AppEdit
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class Bundle
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class BundlesListResponse
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class Comment
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class CountryTargeting
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class DeobfuscationFile
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class DeobfuscationFilesUploadResponse
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class DeveloperComment
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class DeviceMetadata
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class DeviceSpec
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class ExpansionFile
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class ExpansionFilesUploadResponse
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class ExternallyHostedApk
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class Image
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class ImagesDeleteAllResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class ImagesListResponse
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class ImagesUploadResponse
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class InAppProduct
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class InAppProductListing
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class InappproductsListResponse
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class InternalAppSharingArtifact
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class IntroductoryPriceInfo
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class Listing
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class ListingsListResponse
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class LocalizedText
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class PageInfo
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class Price
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class ProductPurchase
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class ProductPurchasesAcknowledgeRequest
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class Review
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class ReviewReplyResult
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class ReviewsListResponse
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class ReviewsReplyRequest
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class ReviewsReplyResponse
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class SubscriptionCancelSurveyResult
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class SubscriptionDeferralInfo
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class SubscriptionPriceChange
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class SubscriptionPurchase
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class SubscriptionPurchasesAcknowledgeRequest
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class SubscriptionPurchasesDeferRequest
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class SubscriptionPurchasesDeferResponse
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class SystemApksListResponse
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class Testers
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class Timestamp
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class TokenPagination
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class Track
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class TrackRelease
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class TracksListResponse
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class UserComment
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class UsesPermission
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class Variant
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class VoidedPurchase
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class VoidedPurchasesListResponse
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class Apk
380
+ # @private
381
+ class Representation < Google::Apis::Core::JsonRepresentation
382
+ property :binary, as: 'binary', class: Google::Apis::AndroidpublisherV3::ApkBinary, decorator: Google::Apis::AndroidpublisherV3::ApkBinary::Representation
383
+
384
+ property :version_code, as: 'versionCode'
385
+ end
386
+ end
387
+
388
+ class ApkBinary
389
+ # @private
390
+ class Representation < Google::Apis::Core::JsonRepresentation
391
+ property :sha1, as: 'sha1'
392
+ property :sha256, as: 'sha256'
393
+ end
394
+ end
395
+
396
+ class ApksAddExternallyHostedRequest
397
+ # @private
398
+ class Representation < Google::Apis::Core::JsonRepresentation
399
+ property :externally_hosted_apk, as: 'externallyHostedApk', class: Google::Apis::AndroidpublisherV3::ExternallyHostedApk, decorator: Google::Apis::AndroidpublisherV3::ExternallyHostedApk::Representation
400
+
401
+ end
402
+ end
403
+
404
+ class ApksAddExternallyHostedResponse
405
+ # @private
406
+ class Representation < Google::Apis::Core::JsonRepresentation
407
+ property :externally_hosted_apk, as: 'externallyHostedApk', class: Google::Apis::AndroidpublisherV3::ExternallyHostedApk, decorator: Google::Apis::AndroidpublisherV3::ExternallyHostedApk::Representation
408
+
409
+ end
410
+ end
411
+
412
+ class ApksListResponse
413
+ # @private
414
+ class Representation < Google::Apis::Core::JsonRepresentation
415
+ collection :apks, as: 'apks', class: Google::Apis::AndroidpublisherV3::Apk, decorator: Google::Apis::AndroidpublisherV3::Apk::Representation
416
+
417
+ property :kind, as: 'kind'
418
+ end
419
+ end
420
+
421
+ class AppDetails
422
+ # @private
423
+ class Representation < Google::Apis::Core::JsonRepresentation
424
+ property :contact_email, as: 'contactEmail'
425
+ property :contact_phone, as: 'contactPhone'
426
+ property :contact_website, as: 'contactWebsite'
427
+ property :default_language, as: 'defaultLanguage'
428
+ end
429
+ end
430
+
431
+ class AppEdit
432
+ # @private
433
+ class Representation < Google::Apis::Core::JsonRepresentation
434
+ property :expiry_time_seconds, as: 'expiryTimeSeconds'
435
+ property :id, as: 'id'
436
+ end
437
+ end
438
+
439
+ class Bundle
440
+ # @private
441
+ class Representation < Google::Apis::Core::JsonRepresentation
442
+ property :sha1, as: 'sha1'
443
+ property :sha256, as: 'sha256'
444
+ property :version_code, as: 'versionCode'
445
+ end
446
+ end
447
+
448
+ class BundlesListResponse
449
+ # @private
450
+ class Representation < Google::Apis::Core::JsonRepresentation
451
+ collection :bundles, as: 'bundles', class: Google::Apis::AndroidpublisherV3::Bundle, decorator: Google::Apis::AndroidpublisherV3::Bundle::Representation
452
+
453
+ property :kind, as: 'kind'
454
+ end
455
+ end
456
+
457
+ class Comment
458
+ # @private
459
+ class Representation < Google::Apis::Core::JsonRepresentation
460
+ property :developer_comment, as: 'developerComment', class: Google::Apis::AndroidpublisherV3::DeveloperComment, decorator: Google::Apis::AndroidpublisherV3::DeveloperComment::Representation
461
+
462
+ property :user_comment, as: 'userComment', class: Google::Apis::AndroidpublisherV3::UserComment, decorator: Google::Apis::AndroidpublisherV3::UserComment::Representation
463
+
464
+ end
465
+ end
466
+
467
+ class CountryTargeting
468
+ # @private
469
+ class Representation < Google::Apis::Core::JsonRepresentation
470
+ collection :countries, as: 'countries'
471
+ property :include_rest_of_world, as: 'includeRestOfWorld'
472
+ end
473
+ end
474
+
475
+ class DeobfuscationFile
476
+ # @private
477
+ class Representation < Google::Apis::Core::JsonRepresentation
478
+ property :symbol_type, as: 'symbolType'
479
+ end
480
+ end
481
+
482
+ class DeobfuscationFilesUploadResponse
483
+ # @private
484
+ class Representation < Google::Apis::Core::JsonRepresentation
485
+ property :deobfuscation_file, as: 'deobfuscationFile', class: Google::Apis::AndroidpublisherV3::DeobfuscationFile, decorator: Google::Apis::AndroidpublisherV3::DeobfuscationFile::Representation
486
+
487
+ end
488
+ end
489
+
490
+ class DeveloperComment
491
+ # @private
492
+ class Representation < Google::Apis::Core::JsonRepresentation
493
+ property :last_modified, as: 'lastModified', class: Google::Apis::AndroidpublisherV3::Timestamp, decorator: Google::Apis::AndroidpublisherV3::Timestamp::Representation
494
+
495
+ property :text, as: 'text'
496
+ end
497
+ end
498
+
499
+ class DeviceMetadata
500
+ # @private
501
+ class Representation < Google::Apis::Core::JsonRepresentation
502
+ property :cpu_make, as: 'cpuMake'
503
+ property :cpu_model, as: 'cpuModel'
504
+ property :device_class, as: 'deviceClass'
505
+ property :gl_es_version, as: 'glEsVersion'
506
+ property :manufacturer, as: 'manufacturer'
507
+ property :native_platform, as: 'nativePlatform'
508
+ property :product_name, as: 'productName'
509
+ property :ram_mb, as: 'ramMb'
510
+ property :screen_density_dpi, as: 'screenDensityDpi'
511
+ property :screen_height_px, as: 'screenHeightPx'
512
+ property :screen_width_px, as: 'screenWidthPx'
513
+ end
514
+ end
515
+
516
+ class DeviceSpec
517
+ # @private
518
+ class Representation < Google::Apis::Core::JsonRepresentation
519
+ property :screen_density, as: 'screenDensity'
520
+ collection :supported_abis, as: 'supportedAbis'
521
+ collection :supported_locales, as: 'supportedLocales'
522
+ end
523
+ end
524
+
525
+ class ExpansionFile
526
+ # @private
527
+ class Representation < Google::Apis::Core::JsonRepresentation
528
+ property :file_size, :numeric_string => true, as: 'fileSize'
529
+ property :references_version, as: 'referencesVersion'
530
+ end
531
+ end
532
+
533
+ class ExpansionFilesUploadResponse
534
+ # @private
535
+ class Representation < Google::Apis::Core::JsonRepresentation
536
+ property :expansion_file, as: 'expansionFile', class: Google::Apis::AndroidpublisherV3::ExpansionFile, decorator: Google::Apis::AndroidpublisherV3::ExpansionFile::Representation
537
+
538
+ end
539
+ end
540
+
541
+ class ExternallyHostedApk
542
+ # @private
543
+ class Representation < Google::Apis::Core::JsonRepresentation
544
+ property :application_label, as: 'applicationLabel'
545
+ collection :certificate_base64s, as: 'certificateBase64s'
546
+ property :externally_hosted_url, as: 'externallyHostedUrl'
547
+ property :file_sha1_base64, as: 'fileSha1Base64'
548
+ property :file_sha256_base64, as: 'fileSha256Base64'
549
+ property :file_size, :numeric_string => true, as: 'fileSize'
550
+ property :icon_base64, as: 'iconBase64'
551
+ property :maximum_sdk, as: 'maximumSdk'
552
+ property :minimum_sdk, as: 'minimumSdk'
553
+ collection :native_codes, as: 'nativeCodes'
554
+ property :package_name, as: 'packageName'
555
+ collection :uses_features, as: 'usesFeatures'
556
+ collection :uses_permissions, as: 'usesPermissions', class: Google::Apis::AndroidpublisherV3::UsesPermission, decorator: Google::Apis::AndroidpublisherV3::UsesPermission::Representation
557
+
558
+ property :version_code, as: 'versionCode'
559
+ property :version_name, as: 'versionName'
560
+ end
561
+ end
562
+
563
+ class Image
564
+ # @private
565
+ class Representation < Google::Apis::Core::JsonRepresentation
566
+ property :id, as: 'id'
567
+ property :sha1, as: 'sha1'
568
+ property :sha256, as: 'sha256'
569
+ property :url, as: 'url'
570
+ end
571
+ end
572
+
573
+ class ImagesDeleteAllResponse
574
+ # @private
575
+ class Representation < Google::Apis::Core::JsonRepresentation
576
+ collection :deleted, as: 'deleted', class: Google::Apis::AndroidpublisherV3::Image, decorator: Google::Apis::AndroidpublisherV3::Image::Representation
577
+
578
+ end
579
+ end
580
+
581
+ class ImagesListResponse
582
+ # @private
583
+ class Representation < Google::Apis::Core::JsonRepresentation
584
+ collection :images, as: 'images', class: Google::Apis::AndroidpublisherV3::Image, decorator: Google::Apis::AndroidpublisherV3::Image::Representation
585
+
586
+ end
587
+ end
588
+
589
+ class ImagesUploadResponse
590
+ # @private
591
+ class Representation < Google::Apis::Core::JsonRepresentation
592
+ property :image, as: 'image', class: Google::Apis::AndroidpublisherV3::Image, decorator: Google::Apis::AndroidpublisherV3::Image::Representation
593
+
594
+ end
595
+ end
596
+
597
+ class InAppProduct
598
+ # @private
599
+ class Representation < Google::Apis::Core::JsonRepresentation
600
+ property :default_language, as: 'defaultLanguage'
601
+ property :default_price, as: 'defaultPrice', class: Google::Apis::AndroidpublisherV3::Price, decorator: Google::Apis::AndroidpublisherV3::Price::Representation
602
+
603
+ property :grace_period, as: 'gracePeriod'
604
+ hash :listings, as: 'listings', class: Google::Apis::AndroidpublisherV3::InAppProductListing, decorator: Google::Apis::AndroidpublisherV3::InAppProductListing::Representation
605
+
606
+ property :package_name, as: 'packageName'
607
+ hash :prices, as: 'prices', class: Google::Apis::AndroidpublisherV3::Price, decorator: Google::Apis::AndroidpublisherV3::Price::Representation
608
+
609
+ property :purchase_type, as: 'purchaseType'
610
+ property :sku, as: 'sku'
611
+ property :status, as: 'status'
612
+ property :subscription_period, as: 'subscriptionPeriod'
613
+ property :trial_period, as: 'trialPeriod'
614
+ end
615
+ end
616
+
617
+ class InAppProductListing
618
+ # @private
619
+ class Representation < Google::Apis::Core::JsonRepresentation
620
+ collection :benefits, as: 'benefits'
621
+ property :description, as: 'description'
622
+ property :title, as: 'title'
623
+ end
624
+ end
625
+
626
+ class InappproductsListResponse
627
+ # @private
628
+ class Representation < Google::Apis::Core::JsonRepresentation
629
+ collection :inappproduct, as: 'inappproduct', class: Google::Apis::AndroidpublisherV3::InAppProduct, decorator: Google::Apis::AndroidpublisherV3::InAppProduct::Representation
630
+
631
+ property :kind, as: 'kind'
632
+ property :page_info, as: 'pageInfo', class: Google::Apis::AndroidpublisherV3::PageInfo, decorator: Google::Apis::AndroidpublisherV3::PageInfo::Representation
633
+
634
+ property :token_pagination, as: 'tokenPagination', class: Google::Apis::AndroidpublisherV3::TokenPagination, decorator: Google::Apis::AndroidpublisherV3::TokenPagination::Representation
635
+
636
+ end
637
+ end
638
+
639
+ class InternalAppSharingArtifact
640
+ # @private
641
+ class Representation < Google::Apis::Core::JsonRepresentation
642
+ property :certificate_fingerprint, as: 'certificateFingerprint'
643
+ property :download_url, as: 'downloadUrl'
644
+ property :sha256, as: 'sha256'
645
+ end
646
+ end
647
+
648
+ class IntroductoryPriceInfo
649
+ # @private
650
+ class Representation < Google::Apis::Core::JsonRepresentation
651
+ property :introductory_price_amount_micros, :numeric_string => true, as: 'introductoryPriceAmountMicros'
652
+ property :introductory_price_currency_code, as: 'introductoryPriceCurrencyCode'
653
+ property :introductory_price_cycles, as: 'introductoryPriceCycles'
654
+ property :introductory_price_period, as: 'introductoryPricePeriod'
655
+ end
656
+ end
657
+
658
+ class Listing
659
+ # @private
660
+ class Representation < Google::Apis::Core::JsonRepresentation
661
+ property :full_description, as: 'fullDescription'
662
+ property :language, as: 'language'
663
+ property :short_description, as: 'shortDescription'
664
+ property :title, as: 'title'
665
+ property :video, as: 'video'
666
+ end
667
+ end
668
+
669
+ class ListingsListResponse
670
+ # @private
671
+ class Representation < Google::Apis::Core::JsonRepresentation
672
+ property :kind, as: 'kind'
673
+ collection :listings, as: 'listings', class: Google::Apis::AndroidpublisherV3::Listing, decorator: Google::Apis::AndroidpublisherV3::Listing::Representation
674
+
675
+ end
676
+ end
677
+
678
+ class LocalizedText
679
+ # @private
680
+ class Representation < Google::Apis::Core::JsonRepresentation
681
+ property :language, as: 'language'
682
+ property :text, as: 'text'
683
+ end
684
+ end
685
+
686
+ class PageInfo
687
+ # @private
688
+ class Representation < Google::Apis::Core::JsonRepresentation
689
+ property :result_per_page, as: 'resultPerPage'
690
+ property :start_index, as: 'startIndex'
691
+ property :total_results, as: 'totalResults'
692
+ end
693
+ end
694
+
695
+ class Price
696
+ # @private
697
+ class Representation < Google::Apis::Core::JsonRepresentation
698
+ property :currency, as: 'currency'
699
+ property :price_micros, as: 'priceMicros'
700
+ end
701
+ end
702
+
703
+ class ProductPurchase
704
+ # @private
705
+ class Representation < Google::Apis::Core::JsonRepresentation
706
+ property :acknowledgement_state, as: 'acknowledgementState'
707
+ property :consumption_state, as: 'consumptionState'
708
+ property :developer_payload, as: 'developerPayload'
709
+ property :kind, as: 'kind'
710
+ property :obfuscated_external_account_id, as: 'obfuscatedExternalAccountId'
711
+ property :obfuscated_external_profile_id, as: 'obfuscatedExternalProfileId'
712
+ property :order_id, as: 'orderId'
713
+ property :product_id, as: 'productId'
714
+ property :purchase_state, as: 'purchaseState'
715
+ property :purchase_time_millis, :numeric_string => true, as: 'purchaseTimeMillis'
716
+ property :purchase_token, as: 'purchaseToken'
717
+ property :purchase_type, as: 'purchaseType'
718
+ property :quantity, as: 'quantity'
719
+ property :region_code, as: 'regionCode'
720
+ end
721
+ end
722
+
723
+ class ProductPurchasesAcknowledgeRequest
724
+ # @private
725
+ class Representation < Google::Apis::Core::JsonRepresentation
726
+ property :developer_payload, as: 'developerPayload'
727
+ end
728
+ end
729
+
730
+ class Review
731
+ # @private
732
+ class Representation < Google::Apis::Core::JsonRepresentation
733
+ property :author_name, as: 'authorName'
734
+ collection :comments, as: 'comments', class: Google::Apis::AndroidpublisherV3::Comment, decorator: Google::Apis::AndroidpublisherV3::Comment::Representation
735
+
736
+ property :review_id, as: 'reviewId'
737
+ end
738
+ end
739
+
740
+ class ReviewReplyResult
741
+ # @private
742
+ class Representation < Google::Apis::Core::JsonRepresentation
743
+ property :last_edited, as: 'lastEdited', class: Google::Apis::AndroidpublisherV3::Timestamp, decorator: Google::Apis::AndroidpublisherV3::Timestamp::Representation
744
+
745
+ property :reply_text, as: 'replyText'
746
+ end
747
+ end
748
+
749
+ class ReviewsListResponse
750
+ # @private
751
+ class Representation < Google::Apis::Core::JsonRepresentation
752
+ property :page_info, as: 'pageInfo', class: Google::Apis::AndroidpublisherV3::PageInfo, decorator: Google::Apis::AndroidpublisherV3::PageInfo::Representation
753
+
754
+ collection :reviews, as: 'reviews', class: Google::Apis::AndroidpublisherV3::Review, decorator: Google::Apis::AndroidpublisherV3::Review::Representation
755
+
756
+ property :token_pagination, as: 'tokenPagination', class: Google::Apis::AndroidpublisherV3::TokenPagination, decorator: Google::Apis::AndroidpublisherV3::TokenPagination::Representation
757
+
758
+ end
759
+ end
760
+
761
+ class ReviewsReplyRequest
762
+ # @private
763
+ class Representation < Google::Apis::Core::JsonRepresentation
764
+ property :reply_text, as: 'replyText'
765
+ end
766
+ end
767
+
768
+ class ReviewsReplyResponse
769
+ # @private
770
+ class Representation < Google::Apis::Core::JsonRepresentation
771
+ property :result, as: 'result', class: Google::Apis::AndroidpublisherV3::ReviewReplyResult, decorator: Google::Apis::AndroidpublisherV3::ReviewReplyResult::Representation
772
+
773
+ end
774
+ end
775
+
776
+ class SubscriptionCancelSurveyResult
777
+ # @private
778
+ class Representation < Google::Apis::Core::JsonRepresentation
779
+ property :cancel_survey_reason, as: 'cancelSurveyReason'
780
+ property :user_input_cancel_reason, as: 'userInputCancelReason'
781
+ end
782
+ end
783
+
784
+ class SubscriptionDeferralInfo
785
+ # @private
786
+ class Representation < Google::Apis::Core::JsonRepresentation
787
+ property :desired_expiry_time_millis, :numeric_string => true, as: 'desiredExpiryTimeMillis'
788
+ property :expected_expiry_time_millis, :numeric_string => true, as: 'expectedExpiryTimeMillis'
789
+ end
790
+ end
791
+
792
+ class SubscriptionPriceChange
793
+ # @private
794
+ class Representation < Google::Apis::Core::JsonRepresentation
795
+ property :new_price, as: 'newPrice', class: Google::Apis::AndroidpublisherV3::Price, decorator: Google::Apis::AndroidpublisherV3::Price::Representation
796
+
797
+ property :state, as: 'state'
798
+ end
799
+ end
800
+
801
+ class SubscriptionPurchase
802
+ # @private
803
+ class Representation < Google::Apis::Core::JsonRepresentation
804
+ property :acknowledgement_state, as: 'acknowledgementState'
805
+ property :auto_renewing, as: 'autoRenewing'
806
+ property :auto_resume_time_millis, :numeric_string => true, as: 'autoResumeTimeMillis'
807
+ property :cancel_reason, as: 'cancelReason'
808
+ property :cancel_survey_result, as: 'cancelSurveyResult', class: Google::Apis::AndroidpublisherV3::SubscriptionCancelSurveyResult, decorator: Google::Apis::AndroidpublisherV3::SubscriptionCancelSurveyResult::Representation
809
+
810
+ property :country_code, as: 'countryCode'
811
+ property :developer_payload, as: 'developerPayload'
812
+ property :email_address, as: 'emailAddress'
813
+ property :expiry_time_millis, :numeric_string => true, as: 'expiryTimeMillis'
814
+ property :external_account_id, as: 'externalAccountId'
815
+ property :family_name, as: 'familyName'
816
+ property :given_name, as: 'givenName'
817
+ property :introductory_price_info, as: 'introductoryPriceInfo', class: Google::Apis::AndroidpublisherV3::IntroductoryPriceInfo, decorator: Google::Apis::AndroidpublisherV3::IntroductoryPriceInfo::Representation
818
+
819
+ property :kind, as: 'kind'
820
+ property :linked_purchase_token, as: 'linkedPurchaseToken'
821
+ property :obfuscated_external_account_id, as: 'obfuscatedExternalAccountId'
822
+ property :obfuscated_external_profile_id, as: 'obfuscatedExternalProfileId'
823
+ property :order_id, as: 'orderId'
824
+ property :payment_state, as: 'paymentState'
825
+ property :price_amount_micros, :numeric_string => true, as: 'priceAmountMicros'
826
+ property :price_change, as: 'priceChange', class: Google::Apis::AndroidpublisherV3::SubscriptionPriceChange, decorator: Google::Apis::AndroidpublisherV3::SubscriptionPriceChange::Representation
827
+
828
+ property :price_currency_code, as: 'priceCurrencyCode'
829
+ property :profile_id, as: 'profileId'
830
+ property :profile_name, as: 'profileName'
831
+ property :promotion_code, as: 'promotionCode'
832
+ property :promotion_type, as: 'promotionType'
833
+ property :purchase_type, as: 'purchaseType'
834
+ property :start_time_millis, :numeric_string => true, as: 'startTimeMillis'
835
+ property :user_cancellation_time_millis, :numeric_string => true, as: 'userCancellationTimeMillis'
836
+ end
837
+ end
838
+
839
+ class SubscriptionPurchasesAcknowledgeRequest
840
+ # @private
841
+ class Representation < Google::Apis::Core::JsonRepresentation
842
+ property :developer_payload, as: 'developerPayload'
843
+ end
844
+ end
845
+
846
+ class SubscriptionPurchasesDeferRequest
847
+ # @private
848
+ class Representation < Google::Apis::Core::JsonRepresentation
849
+ property :deferral_info, as: 'deferralInfo', class: Google::Apis::AndroidpublisherV3::SubscriptionDeferralInfo, decorator: Google::Apis::AndroidpublisherV3::SubscriptionDeferralInfo::Representation
850
+
851
+ end
852
+ end
853
+
854
+ class SubscriptionPurchasesDeferResponse
855
+ # @private
856
+ class Representation < Google::Apis::Core::JsonRepresentation
857
+ property :new_expiry_time_millis, :numeric_string => true, as: 'newExpiryTimeMillis'
858
+ end
859
+ end
860
+
861
+ class SystemApksListResponse
862
+ # @private
863
+ class Representation < Google::Apis::Core::JsonRepresentation
864
+ collection :variants, as: 'variants', class: Google::Apis::AndroidpublisherV3::Variant, decorator: Google::Apis::AndroidpublisherV3::Variant::Representation
865
+
866
+ end
867
+ end
868
+
869
+ class Testers
870
+ # @private
871
+ class Representation < Google::Apis::Core::JsonRepresentation
872
+ collection :google_groups, as: 'googleGroups'
873
+ end
874
+ end
875
+
876
+ class Timestamp
877
+ # @private
878
+ class Representation < Google::Apis::Core::JsonRepresentation
879
+ property :nanos, as: 'nanos'
880
+ property :seconds, :numeric_string => true, as: 'seconds'
881
+ end
882
+ end
883
+
884
+ class TokenPagination
885
+ # @private
886
+ class Representation < Google::Apis::Core::JsonRepresentation
887
+ property :next_page_token, as: 'nextPageToken'
888
+ property :previous_page_token, as: 'previousPageToken'
889
+ end
890
+ end
891
+
892
+ class Track
893
+ # @private
894
+ class Representation < Google::Apis::Core::JsonRepresentation
895
+ collection :releases, as: 'releases', class: Google::Apis::AndroidpublisherV3::TrackRelease, decorator: Google::Apis::AndroidpublisherV3::TrackRelease::Representation
896
+
897
+ property :track, as: 'track'
898
+ end
899
+ end
900
+
901
+ class TrackRelease
902
+ # @private
903
+ class Representation < Google::Apis::Core::JsonRepresentation
904
+ property :country_targeting, as: 'countryTargeting', class: Google::Apis::AndroidpublisherV3::CountryTargeting, decorator: Google::Apis::AndroidpublisherV3::CountryTargeting::Representation
905
+
906
+ property :in_app_update_priority, as: 'inAppUpdatePriority'
907
+ property :name, as: 'name'
908
+ collection :release_notes, as: 'releaseNotes', class: Google::Apis::AndroidpublisherV3::LocalizedText, decorator: Google::Apis::AndroidpublisherV3::LocalizedText::Representation
909
+
910
+ property :status, as: 'status'
911
+ property :user_fraction, as: 'userFraction'
912
+ collection :version_codes, as: 'versionCodes'
913
+ end
914
+ end
915
+
916
+ class TracksListResponse
917
+ # @private
918
+ class Representation < Google::Apis::Core::JsonRepresentation
919
+ property :kind, as: 'kind'
920
+ collection :tracks, as: 'tracks', class: Google::Apis::AndroidpublisherV3::Track, decorator: Google::Apis::AndroidpublisherV3::Track::Representation
921
+
922
+ end
923
+ end
924
+
925
+ class UserComment
926
+ # @private
927
+ class Representation < Google::Apis::Core::JsonRepresentation
928
+ property :android_os_version, as: 'androidOsVersion'
929
+ property :app_version_code, as: 'appVersionCode'
930
+ property :app_version_name, as: 'appVersionName'
931
+ property :device, as: 'device'
932
+ property :device_metadata, as: 'deviceMetadata', class: Google::Apis::AndroidpublisherV3::DeviceMetadata, decorator: Google::Apis::AndroidpublisherV3::DeviceMetadata::Representation
933
+
934
+ property :last_modified, as: 'lastModified', class: Google::Apis::AndroidpublisherV3::Timestamp, decorator: Google::Apis::AndroidpublisherV3::Timestamp::Representation
935
+
936
+ property :original_text, as: 'originalText'
937
+ property :reviewer_language, as: 'reviewerLanguage'
938
+ property :star_rating, as: 'starRating'
939
+ property :text, as: 'text'
940
+ property :thumbs_down_count, as: 'thumbsDownCount'
941
+ property :thumbs_up_count, as: 'thumbsUpCount'
942
+ end
943
+ end
944
+
945
+ class UsesPermission
946
+ # @private
947
+ class Representation < Google::Apis::Core::JsonRepresentation
948
+ property :max_sdk_version, as: 'maxSdkVersion'
949
+ property :name, as: 'name'
950
+ end
951
+ end
952
+
953
+ class Variant
954
+ # @private
955
+ class Representation < Google::Apis::Core::JsonRepresentation
956
+ property :device_spec, as: 'deviceSpec', class: Google::Apis::AndroidpublisherV3::DeviceSpec, decorator: Google::Apis::AndroidpublisherV3::DeviceSpec::Representation
957
+
958
+ property :variant_id, as: 'variantId'
959
+ end
960
+ end
961
+
962
+ class VoidedPurchase
963
+ # @private
964
+ class Representation < Google::Apis::Core::JsonRepresentation
965
+ property :kind, as: 'kind'
966
+ property :order_id, as: 'orderId'
967
+ property :purchase_time_millis, :numeric_string => true, as: 'purchaseTimeMillis'
968
+ property :purchase_token, as: 'purchaseToken'
969
+ property :voided_reason, as: 'voidedReason'
970
+ property :voided_source, as: 'voidedSource'
971
+ property :voided_time_millis, :numeric_string => true, as: 'voidedTimeMillis'
972
+ end
973
+ end
974
+
975
+ class VoidedPurchasesListResponse
976
+ # @private
977
+ class Representation < Google::Apis::Core::JsonRepresentation
978
+ property :page_info, as: 'pageInfo', class: Google::Apis::AndroidpublisherV3::PageInfo, decorator: Google::Apis::AndroidpublisherV3::PageInfo::Representation
979
+
980
+ property :token_pagination, as: 'tokenPagination', class: Google::Apis::AndroidpublisherV3::TokenPagination, decorator: Google::Apis::AndroidpublisherV3::TokenPagination::Representation
981
+
982
+ collection :voided_purchases, as: 'voidedPurchases', class: Google::Apis::AndroidpublisherV3::VoidedPurchase, decorator: Google::Apis::AndroidpublisherV3::VoidedPurchase::Representation
983
+
984
+ end
985
+ end
986
+ end
987
+ end
988
+ end