google-apis-androidpublisher_v3 0.20.0 → 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,6 +22,24 @@ module Google
22
22
  module Apis
23
23
  module AndroidpublisherV3
24
24
 
25
+ class AcquisitionTargetingRule
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class ActivateBasePlanRequest
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class ActivateSubscriptionOfferRequest
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
25
43
  class Apk
26
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
45
 
@@ -64,6 +82,30 @@ module Google
64
82
  include Google::Apis::Core::JsonObjectSupport
65
83
  end
66
84
 
85
+ class ArchiveSubscriptionRequest
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class AutoRenewingBasePlanType
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class AutoRenewingPlan
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class BasePlan
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
67
109
  class Bundle
68
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
111
 
@@ -76,6 +118,18 @@ module Google
76
118
  include Google::Apis::Core::JsonObjectSupport
77
119
  end
78
120
 
121
+ class CancelSurveyResult
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class CanceledStateContext
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
79
133
  class Comment
80
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
135
 
@@ -112,6 +166,18 @@ module Google
112
166
  include Google::Apis::Core::JsonObjectSupport
113
167
  end
114
168
 
169
+ class DeactivateBasePlanRequest
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class DeactivateSubscriptionOfferRequest
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
115
181
  class DeobfuscationFile
116
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
183
 
@@ -130,6 +196,12 @@ module Google
130
196
  include Google::Apis::Core::JsonObjectSupport
131
197
  end
132
198
 
199
+ class DeveloperInitiatedCancellation
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
133
205
  class DeviceGroup
134
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
207
 
@@ -196,6 +268,12 @@ module Google
196
268
  include Google::Apis::Core::JsonObjectSupport
197
269
  end
198
270
 
271
+ class ExternalAccountIdentifiers
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
199
277
  class ExternallyHostedApk
200
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
279
 
@@ -304,6 +382,18 @@ module Google
304
382
  include Google::Apis::Core::JsonObjectSupport
305
383
  end
306
384
 
385
+ class ListSubscriptionOffersResponse
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
391
+ class ListSubscriptionsResponse
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
307
397
  class ListUsersResponse
308
398
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
399
 
@@ -334,18 +424,78 @@ module Google
334
424
  include Google::Apis::Core::JsonObjectSupport
335
425
  end
336
426
 
427
+ class MigrateBasePlanPricesRequest
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
433
+ class MigrateBasePlanPricesResponse
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
337
439
  class Money
338
440
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
441
 
340
442
  include Google::Apis::Core::JsonObjectSupport
341
443
  end
342
444
 
445
+ class OfferTag
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
451
+ class OtherRegionsBasePlanConfig
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
457
+ class OtherRegionsSubscriptionOfferConfig
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
463
+ class OtherRegionsSubscriptionOfferPhaseConfig
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
469
+ class OtherRegionsSubscriptionOfferPhasePrices
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
343
475
  class PageInfo
344
476
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
477
 
346
478
  include Google::Apis::Core::JsonObjectSupport
347
479
  end
348
480
 
481
+ class PausedStateContext
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
487
+ class PrepaidBasePlanType
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
493
+ class PrepaidPlan
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
349
499
  class Price
350
500
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
501
 
@@ -364,12 +514,48 @@ module Google
364
514
  include Google::Apis::Core::JsonObjectSupport
365
515
  end
366
516
 
517
+ class RegionalBasePlanConfig
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
523
+ class RegionalPriceMigrationConfig
524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
525
+
526
+ include Google::Apis::Core::JsonObjectSupport
527
+ end
528
+
529
+ class RegionalSubscriptionOfferConfig
530
+ class Representation < Google::Apis::Core::JsonRepresentation; end
531
+
532
+ include Google::Apis::Core::JsonObjectSupport
533
+ end
534
+
535
+ class RegionalSubscriptionOfferPhaseConfig
536
+ class Representation < Google::Apis::Core::JsonRepresentation; end
537
+
538
+ include Google::Apis::Core::JsonObjectSupport
539
+ end
540
+
367
541
  class RegionalTaxRateInfo
368
542
  class Representation < Google::Apis::Core::JsonRepresentation; end
369
543
 
370
544
  include Google::Apis::Core::JsonObjectSupport
371
545
  end
372
546
 
547
+ class RegionsVersion
548
+ class Representation < Google::Apis::Core::JsonRepresentation; end
549
+
550
+ include Google::Apis::Core::JsonObjectSupport
551
+ end
552
+
553
+ class ReplacementCancellation
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
373
559
  class Review
374
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
375
561
 
@@ -400,6 +586,18 @@ module Google
400
586
  include Google::Apis::Core::JsonObjectSupport
401
587
  end
402
588
 
589
+ class SubscribeWithGoogleInfo
590
+ class Representation < Google::Apis::Core::JsonRepresentation; end
591
+
592
+ include Google::Apis::Core::JsonObjectSupport
593
+ end
594
+
595
+ class Subscription
596
+ class Representation < Google::Apis::Core::JsonRepresentation; end
597
+
598
+ include Google::Apis::Core::JsonObjectSupport
599
+ end
600
+
403
601
  class SubscriptionCancelSurveyResult
404
602
  class Representation < Google::Apis::Core::JsonRepresentation; end
405
603
 
@@ -412,6 +610,30 @@ module Google
412
610
  include Google::Apis::Core::JsonObjectSupport
413
611
  end
414
612
 
613
+ class SubscriptionListing
614
+ class Representation < Google::Apis::Core::JsonRepresentation; end
615
+
616
+ include Google::Apis::Core::JsonObjectSupport
617
+ end
618
+
619
+ class SubscriptionOffer
620
+ class Representation < Google::Apis::Core::JsonRepresentation; end
621
+
622
+ include Google::Apis::Core::JsonObjectSupport
623
+ end
624
+
625
+ class SubscriptionOfferPhase
626
+ class Representation < Google::Apis::Core::JsonRepresentation; end
627
+
628
+ include Google::Apis::Core::JsonObjectSupport
629
+ end
630
+
631
+ class SubscriptionOfferTargeting
632
+ class Representation < Google::Apis::Core::JsonRepresentation; end
633
+
634
+ include Google::Apis::Core::JsonObjectSupport
635
+ end
636
+
415
637
  class SubscriptionPriceChange
416
638
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
639
 
@@ -424,6 +646,18 @@ module Google
424
646
  include Google::Apis::Core::JsonObjectSupport
425
647
  end
426
648
 
649
+ class SubscriptionPurchaseLineItem
650
+ class Representation < Google::Apis::Core::JsonRepresentation; end
651
+
652
+ include Google::Apis::Core::JsonObjectSupport
653
+ end
654
+
655
+ class SubscriptionPurchaseV2
656
+ class Representation < Google::Apis::Core::JsonRepresentation; end
657
+
658
+ include Google::Apis::Core::JsonObjectSupport
659
+ end
660
+
427
661
  class SubscriptionPurchasesAcknowledgeRequest
428
662
  class Representation < Google::Apis::Core::JsonRepresentation; end
429
663
 
@@ -460,6 +694,24 @@ module Google
460
694
  include Google::Apis::Core::JsonObjectSupport
461
695
  end
462
696
 
697
+ class SystemInitiatedCancellation
698
+ class Representation < Google::Apis::Core::JsonRepresentation; end
699
+
700
+ include Google::Apis::Core::JsonObjectSupport
701
+ end
702
+
703
+ class TargetingRuleScope
704
+ class Representation < Google::Apis::Core::JsonRepresentation; end
705
+
706
+ include Google::Apis::Core::JsonObjectSupport
707
+ end
708
+
709
+ class TestPurchase
710
+ class Representation < Google::Apis::Core::JsonRepresentation; end
711
+
712
+ include Google::Apis::Core::JsonObjectSupport
713
+ end
714
+
463
715
  class Testers
464
716
  class Representation < Google::Apis::Core::JsonRepresentation; end
465
717
 
@@ -508,6 +760,12 @@ module Google
508
760
  include Google::Apis::Core::JsonObjectSupport
509
761
  end
510
762
 
763
+ class UpgradeTargetingRule
764
+ class Representation < Google::Apis::Core::JsonRepresentation; end
765
+
766
+ include Google::Apis::Core::JsonObjectSupport
767
+ end
768
+
511
769
  class User
512
770
  class Representation < Google::Apis::Core::JsonRepresentation; end
513
771
 
@@ -520,6 +778,12 @@ module Google
520
778
  include Google::Apis::Core::JsonObjectSupport
521
779
  end
522
780
 
781
+ class UserInitiatedCancellation
782
+ class Representation < Google::Apis::Core::JsonRepresentation; end
783
+
784
+ include Google::Apis::Core::JsonObjectSupport
785
+ end
786
+
523
787
  class UsesPermission
524
788
  class Representation < Google::Apis::Core::JsonRepresentation; end
525
789
 
@@ -544,6 +808,26 @@ module Google
544
808
  include Google::Apis::Core::JsonObjectSupport
545
809
  end
546
810
 
811
+ class AcquisitionTargetingRule
812
+ # @private
813
+ class Representation < Google::Apis::Core::JsonRepresentation
814
+ property :scope, as: 'scope', class: Google::Apis::AndroidpublisherV3::TargetingRuleScope, decorator: Google::Apis::AndroidpublisherV3::TargetingRuleScope::Representation
815
+
816
+ end
817
+ end
818
+
819
+ class ActivateBasePlanRequest
820
+ # @private
821
+ class Representation < Google::Apis::Core::JsonRepresentation
822
+ end
823
+ end
824
+
825
+ class ActivateSubscriptionOfferRequest
826
+ # @private
827
+ class Representation < Google::Apis::Core::JsonRepresentation
828
+ end
829
+ end
830
+
547
831
  class Apk
548
832
  # @private
549
833
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -604,21 +888,85 @@ module Google
604
888
  end
605
889
  end
606
890
 
607
- class Bundle
891
+ class ArchiveSubscriptionRequest
892
+ # @private
893
+ class Representation < Google::Apis::Core::JsonRepresentation
894
+ end
895
+ end
896
+
897
+ class AutoRenewingBasePlanType
898
+ # @private
899
+ class Representation < Google::Apis::Core::JsonRepresentation
900
+ property :billing_period_duration, as: 'billingPeriodDuration'
901
+ property :grace_period_duration, as: 'gracePeriodDuration'
902
+ property :legacy_compatible, as: 'legacyCompatible'
903
+ property :proration_mode, as: 'prorationMode'
904
+ property :resubscribe_state, as: 'resubscribeState'
905
+ end
906
+ end
907
+
908
+ class AutoRenewingPlan
909
+ # @private
910
+ class Representation < Google::Apis::Core::JsonRepresentation
911
+ property :auto_renew_enabled, as: 'autoRenewEnabled'
912
+ end
913
+ end
914
+
915
+ class BasePlan
916
+ # @private
917
+ class Representation < Google::Apis::Core::JsonRepresentation
918
+ property :auto_renewing_base_plan_type, as: 'autoRenewingBasePlanType', class: Google::Apis::AndroidpublisherV3::AutoRenewingBasePlanType, decorator: Google::Apis::AndroidpublisherV3::AutoRenewingBasePlanType::Representation
919
+
920
+ property :base_plan_id, as: 'basePlanId'
921
+ collection :offer_tags, as: 'offerTags', class: Google::Apis::AndroidpublisherV3::OfferTag, decorator: Google::Apis::AndroidpublisherV3::OfferTag::Representation
922
+
923
+ property :other_regions_config, as: 'otherRegionsConfig', class: Google::Apis::AndroidpublisherV3::OtherRegionsBasePlanConfig, decorator: Google::Apis::AndroidpublisherV3::OtherRegionsBasePlanConfig::Representation
924
+
925
+ property :prepaid_base_plan_type, as: 'prepaidBasePlanType', class: Google::Apis::AndroidpublisherV3::PrepaidBasePlanType, decorator: Google::Apis::AndroidpublisherV3::PrepaidBasePlanType::Representation
926
+
927
+ collection :regional_configs, as: 'regionalConfigs', class: Google::Apis::AndroidpublisherV3::RegionalBasePlanConfig, decorator: Google::Apis::AndroidpublisherV3::RegionalBasePlanConfig::Representation
928
+
929
+ property :state, as: 'state'
930
+ end
931
+ end
932
+
933
+ class Bundle
934
+ # @private
935
+ class Representation < Google::Apis::Core::JsonRepresentation
936
+ property :sha1, as: 'sha1'
937
+ property :sha256, as: 'sha256'
938
+ property :version_code, as: 'versionCode'
939
+ end
940
+ end
941
+
942
+ class BundlesListResponse
943
+ # @private
944
+ class Representation < Google::Apis::Core::JsonRepresentation
945
+ collection :bundles, as: 'bundles', class: Google::Apis::AndroidpublisherV3::Bundle, decorator: Google::Apis::AndroidpublisherV3::Bundle::Representation
946
+
947
+ property :kind, as: 'kind'
948
+ end
949
+ end
950
+
951
+ class CancelSurveyResult
608
952
  # @private
609
953
  class Representation < Google::Apis::Core::JsonRepresentation
610
- property :sha1, as: 'sha1'
611
- property :sha256, as: 'sha256'
612
- property :version_code, as: 'versionCode'
954
+ property :reason, as: 'reason'
955
+ property :reason_user_input, as: 'reasonUserInput'
613
956
  end
614
957
  end
615
958
 
616
- class BundlesListResponse
959
+ class CanceledStateContext
617
960
  # @private
618
961
  class Representation < Google::Apis::Core::JsonRepresentation
619
- collection :bundles, as: 'bundles', class: Google::Apis::AndroidpublisherV3::Bundle, decorator: Google::Apis::AndroidpublisherV3::Bundle::Representation
962
+ property :developer_initiated_cancellation, as: 'developerInitiatedCancellation', class: Google::Apis::AndroidpublisherV3::DeveloperInitiatedCancellation, decorator: Google::Apis::AndroidpublisherV3::DeveloperInitiatedCancellation::Representation
963
+
964
+ property :replacement_cancellation, as: 'replacementCancellation', class: Google::Apis::AndroidpublisherV3::ReplacementCancellation, decorator: Google::Apis::AndroidpublisherV3::ReplacementCancellation::Representation
965
+
966
+ property :system_initiated_cancellation, as: 'systemInitiatedCancellation', class: Google::Apis::AndroidpublisherV3::SystemInitiatedCancellation, decorator: Google::Apis::AndroidpublisherV3::SystemInitiatedCancellation::Representation
967
+
968
+ property :user_initiated_cancellation, as: 'userInitiatedCancellation', class: Google::Apis::AndroidpublisherV3::UserInitiatedCancellation, decorator: Google::Apis::AndroidpublisherV3::UserInitiatedCancellation::Representation
620
969
 
621
- property :kind, as: 'kind'
622
970
  end
623
971
  end
624
972
 
@@ -679,6 +1027,18 @@ module Google
679
1027
  end
680
1028
  end
681
1029
 
1030
+ class DeactivateBasePlanRequest
1031
+ # @private
1032
+ class Representation < Google::Apis::Core::JsonRepresentation
1033
+ end
1034
+ end
1035
+
1036
+ class DeactivateSubscriptionOfferRequest
1037
+ # @private
1038
+ class Representation < Google::Apis::Core::JsonRepresentation
1039
+ end
1040
+ end
1041
+
682
1042
  class DeobfuscationFile
683
1043
  # @private
684
1044
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -703,6 +1063,12 @@ module Google
703
1063
  end
704
1064
  end
705
1065
 
1066
+ class DeveloperInitiatedCancellation
1067
+ # @private
1068
+ class Representation < Google::Apis::Core::JsonRepresentation
1069
+ end
1070
+ end
1071
+
706
1072
  class DeviceGroup
707
1073
  # @private
708
1074
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -813,6 +1179,15 @@ module Google
813
1179
  end
814
1180
  end
815
1181
 
1182
+ class ExternalAccountIdentifiers
1183
+ # @private
1184
+ class Representation < Google::Apis::Core::JsonRepresentation
1185
+ property :external_account_id, as: 'externalAccountId'
1186
+ property :obfuscated_external_account_id, as: 'obfuscatedExternalAccountId'
1187
+ property :obfuscated_external_profile_id, as: 'obfuscatedExternalProfileId'
1188
+ end
1189
+ end
1190
+
816
1191
  class ExternallyHostedApk
817
1192
  # @private
818
1193
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1010,6 +1385,24 @@ module Google
1010
1385
  end
1011
1386
  end
1012
1387
 
1388
+ class ListSubscriptionOffersResponse
1389
+ # @private
1390
+ class Representation < Google::Apis::Core::JsonRepresentation
1391
+ property :next_page_token, as: 'nextPageToken'
1392
+ collection :subscription_offers, as: 'subscriptionOffers', class: Google::Apis::AndroidpublisherV3::SubscriptionOffer, decorator: Google::Apis::AndroidpublisherV3::SubscriptionOffer::Representation
1393
+
1394
+ end
1395
+ end
1396
+
1397
+ class ListSubscriptionsResponse
1398
+ # @private
1399
+ class Representation < Google::Apis::Core::JsonRepresentation
1400
+ property :next_page_token, as: 'nextPageToken'
1401
+ collection :subscriptions, as: 'subscriptions', class: Google::Apis::AndroidpublisherV3::Subscription, decorator: Google::Apis::AndroidpublisherV3::Subscription::Representation
1402
+
1403
+ end
1404
+ end
1405
+
1013
1406
  class ListUsersResponse
1014
1407
  # @private
1015
1408
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1056,6 +1449,22 @@ module Google
1056
1449
  end
1057
1450
  end
1058
1451
 
1452
+ class MigrateBasePlanPricesRequest
1453
+ # @private
1454
+ class Representation < Google::Apis::Core::JsonRepresentation
1455
+ collection :regional_price_migrations, as: 'regionalPriceMigrations', class: Google::Apis::AndroidpublisherV3::RegionalPriceMigrationConfig, decorator: Google::Apis::AndroidpublisherV3::RegionalPriceMigrationConfig::Representation
1456
+
1457
+ property :regions_version, as: 'regionsVersion', class: Google::Apis::AndroidpublisherV3::RegionsVersion, decorator: Google::Apis::AndroidpublisherV3::RegionsVersion::Representation
1458
+
1459
+ end
1460
+ end
1461
+
1462
+ class MigrateBasePlanPricesResponse
1463
+ # @private
1464
+ class Representation < Google::Apis::Core::JsonRepresentation
1465
+ end
1466
+ end
1467
+
1059
1468
  class Money
1060
1469
  # @private
1061
1470
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1065,6 +1474,52 @@ module Google
1065
1474
  end
1066
1475
  end
1067
1476
 
1477
+ class OfferTag
1478
+ # @private
1479
+ class Representation < Google::Apis::Core::JsonRepresentation
1480
+ property :tag, as: 'tag'
1481
+ end
1482
+ end
1483
+
1484
+ class OtherRegionsBasePlanConfig
1485
+ # @private
1486
+ class Representation < Google::Apis::Core::JsonRepresentation
1487
+ property :eur_price, as: 'eurPrice', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
1488
+
1489
+ property :new_subscriber_availability, as: 'newSubscriberAvailability'
1490
+ property :usd_price, as: 'usdPrice', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
1491
+
1492
+ end
1493
+ end
1494
+
1495
+ class OtherRegionsSubscriptionOfferConfig
1496
+ # @private
1497
+ class Representation < Google::Apis::Core::JsonRepresentation
1498
+ property :other_regions_new_subscriber_availability, as: 'otherRegionsNewSubscriberAvailability'
1499
+ end
1500
+ end
1501
+
1502
+ class OtherRegionsSubscriptionOfferPhaseConfig
1503
+ # @private
1504
+ class Representation < Google::Apis::Core::JsonRepresentation
1505
+ property :absolute_discounts, as: 'absoluteDiscounts', class: Google::Apis::AndroidpublisherV3::OtherRegionsSubscriptionOfferPhasePrices, decorator: Google::Apis::AndroidpublisherV3::OtherRegionsSubscriptionOfferPhasePrices::Representation
1506
+
1507
+ property :other_regions_prices, as: 'otherRegionsPrices', class: Google::Apis::AndroidpublisherV3::OtherRegionsSubscriptionOfferPhasePrices, decorator: Google::Apis::AndroidpublisherV3::OtherRegionsSubscriptionOfferPhasePrices::Representation
1508
+
1509
+ property :relative_discount, as: 'relativeDiscount'
1510
+ end
1511
+ end
1512
+
1513
+ class OtherRegionsSubscriptionOfferPhasePrices
1514
+ # @private
1515
+ class Representation < Google::Apis::Core::JsonRepresentation
1516
+ property :eur_price, as: 'eurPrice', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
1517
+
1518
+ property :usd_price, as: 'usdPrice', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
1519
+
1520
+ end
1521
+ end
1522
+
1068
1523
  class PageInfo
1069
1524
  # @private
1070
1525
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1074,6 +1529,28 @@ module Google
1074
1529
  end
1075
1530
  end
1076
1531
 
1532
+ class PausedStateContext
1533
+ # @private
1534
+ class Representation < Google::Apis::Core::JsonRepresentation
1535
+ property :auto_resume_time, as: 'autoResumeTime'
1536
+ end
1537
+ end
1538
+
1539
+ class PrepaidBasePlanType
1540
+ # @private
1541
+ class Representation < Google::Apis::Core::JsonRepresentation
1542
+ property :billing_period_duration, as: 'billingPeriodDuration'
1543
+ property :time_extension, as: 'timeExtension'
1544
+ end
1545
+ end
1546
+
1547
+ class PrepaidPlan
1548
+ # @private
1549
+ class Representation < Google::Apis::Core::JsonRepresentation
1550
+ property :allow_extend_after_time, as: 'allowExtendAfterTime'
1551
+ end
1552
+ end
1553
+
1077
1554
  class Price
1078
1555
  # @private
1079
1556
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1109,6 +1586,44 @@ module Google
1109
1586
  end
1110
1587
  end
1111
1588
 
1589
+ class RegionalBasePlanConfig
1590
+ # @private
1591
+ class Representation < Google::Apis::Core::JsonRepresentation
1592
+ property :new_subscriber_availability, as: 'newSubscriberAvailability'
1593
+ property :price, as: 'price', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
1594
+
1595
+ property :region_code, as: 'regionCode'
1596
+ end
1597
+ end
1598
+
1599
+ class RegionalPriceMigrationConfig
1600
+ # @private
1601
+ class Representation < Google::Apis::Core::JsonRepresentation
1602
+ property :oldest_allowed_price_version_time, as: 'oldestAllowedPriceVersionTime'
1603
+ property :region_code, as: 'regionCode'
1604
+ end
1605
+ end
1606
+
1607
+ class RegionalSubscriptionOfferConfig
1608
+ # @private
1609
+ class Representation < Google::Apis::Core::JsonRepresentation
1610
+ property :new_subscriber_availability, as: 'newSubscriberAvailability'
1611
+ property :region_code, as: 'regionCode'
1612
+ end
1613
+ end
1614
+
1615
+ class RegionalSubscriptionOfferPhaseConfig
1616
+ # @private
1617
+ class Representation < Google::Apis::Core::JsonRepresentation
1618
+ property :absolute_discount, as: 'absoluteDiscount', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
1619
+
1620
+ property :price, as: 'price', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
1621
+
1622
+ property :region_code, as: 'regionCode'
1623
+ property :relative_discount, as: 'relativeDiscount'
1624
+ end
1625
+ end
1626
+
1112
1627
  class RegionalTaxRateInfo
1113
1628
  # @private
1114
1629
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1117,6 +1632,19 @@ module Google
1117
1632
  end
1118
1633
  end
1119
1634
 
1635
+ class RegionsVersion
1636
+ # @private
1637
+ class Representation < Google::Apis::Core::JsonRepresentation
1638
+ property :version, as: 'version'
1639
+ end
1640
+ end
1641
+
1642
+ class ReplacementCancellation
1643
+ # @private
1644
+ class Representation < Google::Apis::Core::JsonRepresentation
1645
+ end
1646
+ end
1647
+
1120
1648
  class Review
1121
1649
  # @private
1122
1650
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1163,6 +1691,32 @@ module Google
1163
1691
  end
1164
1692
  end
1165
1693
 
1694
+ class SubscribeWithGoogleInfo
1695
+ # @private
1696
+ class Representation < Google::Apis::Core::JsonRepresentation
1697
+ property :email_address, as: 'emailAddress'
1698
+ property :family_name, as: 'familyName'
1699
+ property :given_name, as: 'givenName'
1700
+ property :profile_id, as: 'profileId'
1701
+ property :profile_name, as: 'profileName'
1702
+ end
1703
+ end
1704
+
1705
+ class Subscription
1706
+ # @private
1707
+ class Representation < Google::Apis::Core::JsonRepresentation
1708
+ property :archived, as: 'archived'
1709
+ collection :base_plans, as: 'basePlans', class: Google::Apis::AndroidpublisherV3::BasePlan, decorator: Google::Apis::AndroidpublisherV3::BasePlan::Representation
1710
+
1711
+ collection :listings, as: 'listings', class: Google::Apis::AndroidpublisherV3::SubscriptionListing, decorator: Google::Apis::AndroidpublisherV3::SubscriptionListing::Representation
1712
+
1713
+ property :package_name, as: 'packageName'
1714
+ property :product_id, as: 'productId'
1715
+ property :tax_and_compliance_settings, as: 'taxAndComplianceSettings', class: Google::Apis::AndroidpublisherV3::SubscriptionTaxAndComplianceSettings, decorator: Google::Apis::AndroidpublisherV3::SubscriptionTaxAndComplianceSettings::Representation
1716
+
1717
+ end
1718
+ end
1719
+
1166
1720
  class SubscriptionCancelSurveyResult
1167
1721
  # @private
1168
1722
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1179,6 +1733,59 @@ module Google
1179
1733
  end
1180
1734
  end
1181
1735
 
1736
+ class SubscriptionListing
1737
+ # @private
1738
+ class Representation < Google::Apis::Core::JsonRepresentation
1739
+ collection :benefits, as: 'benefits'
1740
+ property :description, as: 'description'
1741
+ property :language_code, as: 'languageCode'
1742
+ property :title, as: 'title'
1743
+ end
1744
+ end
1745
+
1746
+ class SubscriptionOffer
1747
+ # @private
1748
+ class Representation < Google::Apis::Core::JsonRepresentation
1749
+ property :base_plan_id, as: 'basePlanId'
1750
+ property :offer_id, as: 'offerId'
1751
+ collection :offer_tags, as: 'offerTags', class: Google::Apis::AndroidpublisherV3::OfferTag, decorator: Google::Apis::AndroidpublisherV3::OfferTag::Representation
1752
+
1753
+ property :other_regions_config, as: 'otherRegionsConfig', class: Google::Apis::AndroidpublisherV3::OtherRegionsSubscriptionOfferConfig, decorator: Google::Apis::AndroidpublisherV3::OtherRegionsSubscriptionOfferConfig::Representation
1754
+
1755
+ property :package_name, as: 'packageName'
1756
+ collection :phases, as: 'phases', class: Google::Apis::AndroidpublisherV3::SubscriptionOfferPhase, decorator: Google::Apis::AndroidpublisherV3::SubscriptionOfferPhase::Representation
1757
+
1758
+ property :product_id, as: 'productId'
1759
+ collection :regional_configs, as: 'regionalConfigs', class: Google::Apis::AndroidpublisherV3::RegionalSubscriptionOfferConfig, decorator: Google::Apis::AndroidpublisherV3::RegionalSubscriptionOfferConfig::Representation
1760
+
1761
+ property :state, as: 'state'
1762
+ property :targeting, as: 'targeting', class: Google::Apis::AndroidpublisherV3::SubscriptionOfferTargeting, decorator: Google::Apis::AndroidpublisherV3::SubscriptionOfferTargeting::Representation
1763
+
1764
+ end
1765
+ end
1766
+
1767
+ class SubscriptionOfferPhase
1768
+ # @private
1769
+ class Representation < Google::Apis::Core::JsonRepresentation
1770
+ property :duration, as: 'duration'
1771
+ property :other_regions_config, as: 'otherRegionsConfig', class: Google::Apis::AndroidpublisherV3::OtherRegionsSubscriptionOfferPhaseConfig, decorator: Google::Apis::AndroidpublisherV3::OtherRegionsSubscriptionOfferPhaseConfig::Representation
1772
+
1773
+ property :recurrence_count, as: 'recurrenceCount'
1774
+ collection :regional_configs, as: 'regionalConfigs', class: Google::Apis::AndroidpublisherV3::RegionalSubscriptionOfferPhaseConfig, decorator: Google::Apis::AndroidpublisherV3::RegionalSubscriptionOfferPhaseConfig::Representation
1775
+
1776
+ end
1777
+ end
1778
+
1779
+ class SubscriptionOfferTargeting
1780
+ # @private
1781
+ class Representation < Google::Apis::Core::JsonRepresentation
1782
+ property :acquisition_rule, as: 'acquisitionRule', class: Google::Apis::AndroidpublisherV3::AcquisitionTargetingRule, decorator: Google::Apis::AndroidpublisherV3::AcquisitionTargetingRule::Representation
1783
+
1784
+ property :upgrade_rule, as: 'upgradeRule', class: Google::Apis::AndroidpublisherV3::UpgradeTargetingRule, decorator: Google::Apis::AndroidpublisherV3::UpgradeTargetingRule::Representation
1785
+
1786
+ end
1787
+ end
1788
+
1182
1789
  class SubscriptionPriceChange
1183
1790
  # @private
1184
1791
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1226,6 +1833,43 @@ module Google
1226
1833
  end
1227
1834
  end
1228
1835
 
1836
+ class SubscriptionPurchaseLineItem
1837
+ # @private
1838
+ class Representation < Google::Apis::Core::JsonRepresentation
1839
+ property :auto_renewing_plan, as: 'autoRenewingPlan', class: Google::Apis::AndroidpublisherV3::AutoRenewingPlan, decorator: Google::Apis::AndroidpublisherV3::AutoRenewingPlan::Representation
1840
+
1841
+ property :expiry_time, as: 'expiryTime'
1842
+ property :prepaid_plan, as: 'prepaidPlan', class: Google::Apis::AndroidpublisherV3::PrepaidPlan, decorator: Google::Apis::AndroidpublisherV3::PrepaidPlan::Representation
1843
+
1844
+ property :product_id, as: 'productId'
1845
+ end
1846
+ end
1847
+
1848
+ class SubscriptionPurchaseV2
1849
+ # @private
1850
+ class Representation < Google::Apis::Core::JsonRepresentation
1851
+ property :acknowledgement_state, as: 'acknowledgementState'
1852
+ property :canceled_state_context, as: 'canceledStateContext', class: Google::Apis::AndroidpublisherV3::CanceledStateContext, decorator: Google::Apis::AndroidpublisherV3::CanceledStateContext::Representation
1853
+
1854
+ property :external_account_identifiers, as: 'externalAccountIdentifiers', class: Google::Apis::AndroidpublisherV3::ExternalAccountIdentifiers, decorator: Google::Apis::AndroidpublisherV3::ExternalAccountIdentifiers::Representation
1855
+
1856
+ property :kind, as: 'kind'
1857
+ property :latest_order_id, as: 'latestOrderId'
1858
+ collection :line_items, as: 'lineItems', class: Google::Apis::AndroidpublisherV3::SubscriptionPurchaseLineItem, decorator: Google::Apis::AndroidpublisherV3::SubscriptionPurchaseLineItem::Representation
1859
+
1860
+ property :linked_purchase_token, as: 'linkedPurchaseToken'
1861
+ property :paused_state_context, as: 'pausedStateContext', class: Google::Apis::AndroidpublisherV3::PausedStateContext, decorator: Google::Apis::AndroidpublisherV3::PausedStateContext::Representation
1862
+
1863
+ property :region_code, as: 'regionCode'
1864
+ property :start_time, as: 'startTime'
1865
+ property :subscribe_with_google_info, as: 'subscribeWithGoogleInfo', class: Google::Apis::AndroidpublisherV3::SubscribeWithGoogleInfo, decorator: Google::Apis::AndroidpublisherV3::SubscribeWithGoogleInfo::Representation
1866
+
1867
+ property :subscription_state, as: 'subscriptionState'
1868
+ property :test_purchase, as: 'testPurchase', class: Google::Apis::AndroidpublisherV3::TestPurchase, decorator: Google::Apis::AndroidpublisherV3::TestPurchase::Representation
1869
+
1870
+ end
1871
+ end
1872
+
1229
1873
  class SubscriptionPurchasesAcknowledgeRequest
1230
1874
  # @private
1231
1875
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1272,6 +1916,25 @@ module Google
1272
1916
  end
1273
1917
  end
1274
1918
 
1919
+ class SystemInitiatedCancellation
1920
+ # @private
1921
+ class Representation < Google::Apis::Core::JsonRepresentation
1922
+ end
1923
+ end
1924
+
1925
+ class TargetingRuleScope
1926
+ # @private
1927
+ class Representation < Google::Apis::Core::JsonRepresentation
1928
+ property :specific_subscription_in_app, as: 'specificSubscriptionInApp'
1929
+ end
1930
+ end
1931
+
1932
+ class TestPurchase
1933
+ # @private
1934
+ class Representation < Google::Apis::Core::JsonRepresentation
1935
+ end
1936
+ end
1937
+
1275
1938
  class Testers
1276
1939
  # @private
1277
1940
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1345,6 +2008,16 @@ module Google
1345
2008
  end
1346
2009
  end
1347
2010
 
2011
+ class UpgradeTargetingRule
2012
+ # @private
2013
+ class Representation < Google::Apis::Core::JsonRepresentation
2014
+ property :billing_period_duration, as: 'billingPeriodDuration'
2015
+ property :once_per_user, as: 'oncePerUser'
2016
+ property :scope, as: 'scope', class: Google::Apis::AndroidpublisherV3::TargetingRuleScope, decorator: Google::Apis::AndroidpublisherV3::TargetingRuleScope::Representation
2017
+
2018
+ end
2019
+ end
2020
+
1348
2021
  class User
1349
2022
  # @private
1350
2023
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1379,6 +2052,15 @@ module Google
1379
2052
  end
1380
2053
  end
1381
2054
 
2055
+ class UserInitiatedCancellation
2056
+ # @private
2057
+ class Representation < Google::Apis::Core::JsonRepresentation
2058
+ property :cancel_survey_result, as: 'cancelSurveyResult', class: Google::Apis::AndroidpublisherV3::CancelSurveyResult, decorator: Google::Apis::AndroidpublisherV3::CancelSurveyResult::Representation
2059
+
2060
+ property :cancel_time, as: 'cancelTime'
2061
+ end
2062
+ end
2063
+
1382
2064
  class UsesPermission
1383
2065
  # @private
1384
2066
  class Representation < Google::Apis::Core::JsonRepresentation