google-apis-androidpublisher_v3 0.74.0 → 0.76.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ef4b2e82ecc6e0aedd392ec12410331fc8b7258e4128f68afad96abb7411e8a2
4
- data.tar.gz: 5fe164cc74e05cf38a530d6605be25267d8aa300921911e0276b4e47958caffb
3
+ metadata.gz: ef63cbc44236060b0485b7c91c8f888ac7cfa2f686a0b4d5ca0b46af90af3d7e
4
+ data.tar.gz: 389b9279935f3933735c0340ed5cd1ad4ea08b37041867ad6268e1fc05300919
5
5
  SHA512:
6
- metadata.gz: 59c0f3ff69539a2d621e284f9a26485552bc4d6844ba732ff954520b984016e40810052747640c081a103e5727a720611ccf26f1933d0d38234763d9fefba43a
7
- data.tar.gz: fef6653825d9cf0073276f64c09122ab4709a41db3249d4afd0d00be0a164a86b3c0526c4dacc751b45c314bc38d67208bcf7773027ac2e35a5a5e9cc7ccdc70
6
+ metadata.gz: 8a53ab4e5ef493787be9afe3c8372d126aefc752aef1bf6f431779b44696f4211e358471b78812a8c9e3c1a62a73b1f7586211ce0077f687f71a014916ba8e0d
7
+ data.tar.gz: 76985c0b1bcfbc164a950b36eab54732191549ee31ac9ef79ef9029a17e6b684eeabf03d732caff969c95f6b645e117e1ef79efe0ce2cbfb0a357e6d6c432bbe
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-androidpublisher_v3
2
2
 
3
+ ### v0.76.0 (2025-01-05)
4
+
5
+ * Regenerated from discovery document revision 20250102
6
+
7
+ ### v0.75.0 (2024-12-02)
8
+
9
+ * Regenerated from discovery document revision 20241125
10
+
3
11
  ### v0.74.0 (2024-10-20)
4
12
 
5
13
  * Regenerated from discovery document revision 20241016
@@ -731,8 +731,9 @@ module Google
731
731
  include Google::Apis::Core::Hashable
732
732
 
733
733
  # Optional. Account hold period of the subscription, specified in ISO 8601
734
- # format. Acceptable values must be in DAYS and in the range P0D (zero days) to
735
- # P30D (30 days). If not specified, the default value is P30D (30 days).
734
+ # format. Acceptable values must be in days and between P0D and P60D. If not
735
+ # specified, the default value is P30D. The sum of gracePeriodDuration and
736
+ # accountHoldDuration must be between P30D and P60D days, inclusive.
736
737
  # Corresponds to the JSON property `accountHoldDuration`
737
738
  # @return [String]
738
739
  attr_accessor :account_hold_duration
@@ -745,9 +746,10 @@ module Google
745
746
  attr_accessor :billing_period_duration
746
747
 
747
748
  # Grace period of the subscription, specified in ISO 8601 format. Acceptable
748
- # values are P0D (zero days), P3D (3 days), P7D (7 days), P14D (14 days), and
749
- # P30D (30 days). If not specified, a default value will be used based on the
750
- # recurring period duration.
749
+ # values must be in days and between P0D and the lesser of 30D and base plan
750
+ # billing period. If not specified, a default value will be used based on the
751
+ # billing period. The sum of gracePeriodDuration and accountHoldDuration must be
752
+ # between P30D and P60D days, inclusive.
751
753
  # Corresponds to the JSON property `gracePeriodDuration`
752
754
  # @return [String]
753
755
  attr_accessor :grace_period_duration
@@ -820,6 +822,11 @@ module Google
820
822
  # @return [Google::Apis::AndroidpublisherV3::SubscriptionItemPriceChangeDetails]
821
823
  attr_accessor :price_change_details
822
824
 
825
+ # Represents an amount of money with its currency type.
826
+ # Corresponds to the JSON property `recurringPrice`
827
+ # @return [Google::Apis::AndroidpublisherV3::Money]
828
+ attr_accessor :recurring_price
829
+
823
830
  def initialize(**args)
824
831
  update!(**args)
825
832
  end
@@ -829,6 +836,7 @@ module Google
829
836
  @auto_renew_enabled = args[:auto_renew_enabled] if args.key?(:auto_renew_enabled)
830
837
  @installment_details = args[:installment_details] if args.key?(:installment_details)
831
838
  @price_change_details = args[:price_change_details] if args.key?(:price_change_details)
839
+ @recurring_price = args[:recurring_price] if args.key?(:recurring_price)
832
840
  end
833
841
  end
834
842
 
@@ -3259,9 +3267,10 @@ module Google
3259
3267
  class InstallmentsBasePlanType
3260
3268
  include Google::Apis::Core::Hashable
3261
3269
 
3262
- # Optional. Account hold period of the subscription, specified exclusively in
3263
- # days and in ISO 8601 format. Acceptable values are P0D (zero days) to P30D (
3264
- # 30days). If not specified, the default value is P30D (30 days).
3270
+ # Optional. Account hold period of the subscription, specified in ISO 8601
3271
+ # format. Acceptable values must be in days and between P0D and P60D. If not
3272
+ # specified, the default value is P30D. The sum of gracePeriodDuration and
3273
+ # accountHoldDuration must be between P30D and P60D days, inclusive.
3265
3274
  # Corresponds to the JSON property `accountHoldDuration`
3266
3275
  # @return [String]
3267
3276
  attr_accessor :account_hold_duration
@@ -3280,9 +3289,10 @@ module Google
3280
3289
  attr_accessor :committed_payments_count
3281
3290
 
3282
3291
  # Grace period of the subscription, specified in ISO 8601 format. Acceptable
3283
- # values are P0D (zero days), P3D (3 days), P7D (7 days), P14D (14 days), and
3284
- # P30D (30 days). If not specified, a default value will be used based on the
3285
- # recurring period duration.
3292
+ # values must be in days and between P0D and the lesser of 30D and base plan
3293
+ # billing period. If not specified, a default value will be used based on the
3294
+ # billing period. The sum of gracePeriodDuration and accountHoldDuration must be
3295
+ # between P30D and P60D days, inclusive.
3286
3296
  # Corresponds to the JSON property `gracePeriodDuration`
3287
3297
  # @return [String]
3288
3298
  attr_accessor :grace_period_duration
@@ -3936,7 +3946,7 @@ module Google
3936
3946
  end
3937
3947
  end
3938
3948
 
3939
- # Represents a custom tag specified for base plans and subscription offers.
3949
+ # Represents a custom tag specified for a product offer.
3940
3950
  class OfferTag
3941
3951
  include Google::Apis::Core::Hashable
3942
3952
 
@@ -3956,6 +3966,19 @@ module Google
3956
3966
  end
3957
3967
  end
3958
3968
 
3969
+ # A single use promotion code.
3970
+ class OneTimeCode
3971
+ include Google::Apis::Core::Hashable
3972
+
3973
+ def initialize(**args)
3974
+ update!(**args)
3975
+ end
3976
+
3977
+ # Update properties of this object
3978
+ def update!(**args)
3979
+ end
3980
+ end
3981
+
3959
3982
  # Represents a one-time transaction.
3960
3983
  class OneTimeExternalTransaction
3961
3984
  include Google::Apis::Core::Hashable
@@ -5241,6 +5264,31 @@ module Google
5241
5264
  end
5242
5265
  end
5243
5266
 
5267
+ # The promotion applied on this item when purchased.
5268
+ class SignupPromotion
5269
+ include Google::Apis::Core::Hashable
5270
+
5271
+ # A single use promotion code.
5272
+ # Corresponds to the JSON property `oneTimeCode`
5273
+ # @return [Google::Apis::AndroidpublisherV3::OneTimeCode]
5274
+ attr_accessor :one_time_code
5275
+
5276
+ # A multiple use, predefined promotion code.
5277
+ # Corresponds to the JSON property `vanityCode`
5278
+ # @return [Google::Apis::AndroidpublisherV3::VanityCode]
5279
+ attr_accessor :vanity_code
5280
+
5281
+ def initialize(**args)
5282
+ update!(**args)
5283
+ end
5284
+
5285
+ # Update properties of this object
5286
+ def update!(**args)
5287
+ @one_time_code = args[:one_time_code] if args.key?(:one_time_code)
5288
+ @vanity_code = args[:vanity_code] if args.key?(:vanity_code)
5289
+ end
5290
+ end
5291
+
5244
5292
  # Holds data specific to Split APKs.
5245
5293
  class SplitApkMetadata
5246
5294
  include Google::Apis::Core::Hashable
@@ -6027,6 +6075,11 @@ module Google
6027
6075
  # @return [String]
6028
6076
  attr_accessor :product_id
6029
6077
 
6078
+ # The promotion applied on this item when purchased.
6079
+ # Corresponds to the JSON property `signupPromotion`
6080
+ # @return [Google::Apis::AndroidpublisherV3::SignupPromotion]
6081
+ attr_accessor :signup_promotion
6082
+
6030
6083
  def initialize(**args)
6031
6084
  update!(**args)
6032
6085
  end
@@ -6039,6 +6092,7 @@ module Google
6039
6092
  @offer_details = args[:offer_details] if args.key?(:offer_details)
6040
6093
  @prepaid_plan = args[:prepaid_plan] if args.key?(:prepaid_plan)
6041
6094
  @product_id = args[:product_id] if args.key?(:product_id)
6095
+ @signup_promotion = args[:signup_promotion] if args.key?(:signup_promotion)
6042
6096
  end
6043
6097
  end
6044
6098
 
@@ -7324,6 +7378,25 @@ module Google
7324
7378
  end
7325
7379
  end
7326
7380
 
7381
+ # A multiple use, predefined promotion code.
7382
+ class VanityCode
7383
+ include Google::Apis::Core::Hashable
7384
+
7385
+ # The promotion code.
7386
+ # Corresponds to the JSON property `promotionCode`
7387
+ # @return [String]
7388
+ attr_accessor :promotion_code
7389
+
7390
+ def initialize(**args)
7391
+ update!(**args)
7392
+ end
7393
+
7394
+ # Update properties of this object
7395
+ def update!(**args)
7396
+ @promotion_code = args[:promotion_code] if args.key?(:promotion_code)
7397
+ end
7398
+ end
7399
+
7327
7400
  # APK that is suitable for inclusion in a system image. The resource of
7328
7401
  # SystemApksService.
7329
7402
  class Variant
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AndroidpublisherV3
18
18
  # Version of the google-apis-androidpublisher_v3 gem
19
- GEM_VERSION = "0.74.0"
19
+ GEM_VERSION = "0.76.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241016"
25
+ REVISION = "20250102"
26
26
  end
27
27
  end
28
28
  end
@@ -790,6 +790,12 @@ module Google
790
790
  include Google::Apis::Core::JsonObjectSupport
791
791
  end
792
792
 
793
+ class OneTimeCode
794
+ class Representation < Google::Apis::Core::JsonRepresentation; end
795
+
796
+ include Google::Apis::Core::JsonObjectSupport
797
+ end
798
+
793
799
  class OneTimeExternalTransaction
794
800
  class Representation < Google::Apis::Core::JsonRepresentation; end
795
801
 
@@ -1072,6 +1078,12 @@ module Google
1072
1078
  include Google::Apis::Core::JsonObjectSupport
1073
1079
  end
1074
1080
 
1081
+ class SignupPromotion
1082
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1083
+
1084
+ include Google::Apis::Core::JsonObjectSupport
1085
+ end
1086
+
1075
1087
  class SplitApkMetadata
1076
1088
  class Representation < Google::Apis::Core::JsonRepresentation; end
1077
1089
 
@@ -1396,6 +1408,12 @@ module Google
1396
1408
  include Google::Apis::Core::JsonObjectSupport
1397
1409
  end
1398
1410
 
1411
+ class VanityCode
1412
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1413
+
1414
+ include Google::Apis::Core::JsonObjectSupport
1415
+ end
1416
+
1399
1417
  class Variant
1400
1418
  class Representation < Google::Apis::Core::JsonRepresentation; end
1401
1419
 
@@ -1675,6 +1693,8 @@ module Google
1675
1693
 
1676
1694
  property :price_change_details, as: 'priceChangeDetails', class: Google::Apis::AndroidpublisherV3::SubscriptionItemPriceChangeDetails, decorator: Google::Apis::AndroidpublisherV3::SubscriptionItemPriceChangeDetails::Representation
1677
1695
 
1696
+ property :recurring_price, as: 'recurringPrice', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
1697
+
1678
1698
  end
1679
1699
  end
1680
1700
 
@@ -2652,6 +2672,12 @@ module Google
2652
2672
  end
2653
2673
  end
2654
2674
 
2675
+ class OneTimeCode
2676
+ # @private
2677
+ class Representation < Google::Apis::Core::JsonRepresentation
2678
+ end
2679
+ end
2680
+
2655
2681
  class OneTimeExternalTransaction
2656
2682
  # @private
2657
2683
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3055,6 +3081,16 @@ module Google
3055
3081
  end
3056
3082
  end
3057
3083
 
3084
+ class SignupPromotion
3085
+ # @private
3086
+ class Representation < Google::Apis::Core::JsonRepresentation
3087
+ property :one_time_code, as: 'oneTimeCode', class: Google::Apis::AndroidpublisherV3::OneTimeCode, decorator: Google::Apis::AndroidpublisherV3::OneTimeCode::Representation
3088
+
3089
+ property :vanity_code, as: 'vanityCode', class: Google::Apis::AndroidpublisherV3::VanityCode, decorator: Google::Apis::AndroidpublisherV3::VanityCode::Representation
3090
+
3091
+ end
3092
+ end
3093
+
3058
3094
  class SplitApkMetadata
3059
3095
  # @private
3060
3096
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3249,6 +3285,8 @@ module Google
3249
3285
  property :prepaid_plan, as: 'prepaidPlan', class: Google::Apis::AndroidpublisherV3::PrepaidPlan, decorator: Google::Apis::AndroidpublisherV3::PrepaidPlan::Representation
3250
3286
 
3251
3287
  property :product_id, as: 'productId'
3288
+ property :signup_promotion, as: 'signupPromotion', class: Google::Apis::AndroidpublisherV3::SignupPromotion, decorator: Google::Apis::AndroidpublisherV3::SignupPromotion::Representation
3289
+
3252
3290
  end
3253
3291
  end
3254
3292
 
@@ -3637,6 +3675,13 @@ module Google
3637
3675
  end
3638
3676
  end
3639
3677
 
3678
+ class VanityCode
3679
+ # @private
3680
+ class Representation < Google::Apis::Core::JsonRepresentation
3681
+ property :promotion_code, as: 'promotionCode'
3682
+ end
3683
+ end
3684
+
3640
3685
  class Variant
3641
3686
  # @private
3642
3687
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-androidpublisher_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.74.0
4
+ version: 0.76.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-27 00:00:00.000000000 Z
11
+ date: 2025-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidpublisher_v3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.74.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.76.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidpublisher_v3
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.21
78
+ rubygems_version: 3.5.23
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Google Play Android Developer API V3