google-apis-androidpublisher_v3 0.62.0 → 0.64.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fdd6e13ca629ffee48d4e182936ca1a063486618dbee8874202759e699a47097
4
- data.tar.gz: 270a3b4a91bfbe81a8684b3a08f2f8a36c1d9a2585debdaf0eeacd71de55647f
3
+ metadata.gz: 121ec823cd34244bcfdc90251e1a793edc8ca22187ec2aae5883e14b7945ab1b
4
+ data.tar.gz: 4f4205a7e5a478c712613450742454388e8828db8b8be1d1ae92534063037ed0
5
5
  SHA512:
6
- metadata.gz: dd3ee6e015c160d06e989a92ed7af46513810ccb0d7b27aeb25db2423238523efa39a0c0ec1ec0f07f50cd3aa7ffa04439ac39c95e935e78f3ebbef406e58f95
7
- data.tar.gz: 666979b03487f637d93be07ef0b5cc176a7350cb4e9e02afe845df0de51e06dc894f1778783625038170cffc4a4ca0248880ab42053cd6115b21425ddf889ccb
6
+ metadata.gz: ca65e71f4a4d47c27b77837c06c8c5242302295ee7af4a1fd2dac2f856deae66ba923d42b3710cc4da180066045726d91797e8664edc78af30f2afc33d3c4e8c
7
+ data.tar.gz: 87d1f0a7cc494e5db103c92c19f7cdee322af7bed3874f89f27f99b9a525701f4ae544b76c8c92c5959891afe0af63206106114420ea448984c521623800a133
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-androidpublisher_v3
2
2
 
3
+ ### v0.64.0 (2024-05-19)
4
+
5
+ * Regenerated from discovery document revision 20240516
6
+ * Regenerated using generator version 0.15.0
7
+
8
+ ### v0.63.0 (2024-05-12)
9
+
10
+ * Regenerated from discovery document revision 20240509
11
+
3
12
  ### v0.62.0 (2024-04-21)
4
13
 
5
14
  * Regenerated from discovery document revision 20240418
@@ -809,6 +809,11 @@ module Google
809
809
  attr_accessor :auto_renew_enabled
810
810
  alias_method :auto_renew_enabled?, :auto_renew_enabled
811
811
 
812
+ # Information to a installment plan.
813
+ # Corresponds to the JSON property `installmentDetails`
814
+ # @return [Google::Apis::AndroidpublisherV3::InstallmentPlan]
815
+ attr_accessor :installment_details
816
+
812
817
  # Price change related information of a subscription item.
813
818
  # Corresponds to the JSON property `priceChangeDetails`
814
819
  # @return [Google::Apis::AndroidpublisherV3::SubscriptionItemPriceChangeDetails]
@@ -821,6 +826,7 @@ module Google
821
826
  # Update properties of this object
822
827
  def update!(**args)
823
828
  @auto_renew_enabled = args[:auto_renew_enabled] if args.key?(:auto_renew_enabled)
829
+ @installment_details = args[:installment_details] if args.key?(:installment_details)
824
830
  @price_change_details = args[:price_change_details] if args.key?(:price_change_details)
825
831
  end
826
832
  end
@@ -843,6 +849,12 @@ module Google
843
849
  # @return [String]
844
850
  attr_accessor :base_plan_id
845
851
 
852
+ # Represents an installments base plan where a user commits to a specified
853
+ # number of payments.
854
+ # Corresponds to the JSON property `installmentsBasePlanType`
855
+ # @return [Google::Apis::AndroidpublisherV3::InstallmentsBasePlanType]
856
+ attr_accessor :installments_base_plan_type
857
+
846
858
  # List of up to 20 custom tags specified for this base plan, and returned to the
847
859
  # app through the billing library. Subscription offers for this base plan will
848
860
  # also receive these offer tags in the billing library.
@@ -882,6 +894,7 @@ module Google
882
894
  def update!(**args)
883
895
  @auto_renewing_base_plan_type = args[:auto_renewing_base_plan_type] if args.key?(:auto_renewing_base_plan_type)
884
896
  @base_plan_id = args[:base_plan_id] if args.key?(:base_plan_id)
897
+ @installments_base_plan_type = args[:installments_base_plan_type] if args.key?(:installments_base_plan_type)
885
898
  @offer_tags = args[:offer_tags] if args.key?(:offer_tags)
886
899
  @other_regions_config = args[:other_regions_config] if args.key?(:other_regions_config)
887
900
  @prepaid_base_plan_type = args[:prepaid_base_plan_type] if args.key?(:prepaid_base_plan_type)
@@ -1256,7 +1269,8 @@ module Google
1256
1269
  end
1257
1270
  end
1258
1271
 
1259
- # Information specific to a subscription in canceled state.
1272
+ # Information specific to a subscription in the SUBSCRIPTION_STATE_CANCELED or
1273
+ # SUBSCRIPTION_STATE_EXPIRED state.
1260
1274
  class CanceledStateContext
1261
1275
  include Google::Apis::Core::Hashable
1262
1276
 
@@ -3178,6 +3192,114 @@ module Google
3178
3192
  end
3179
3193
  end
3180
3194
 
3195
+ # Information to a installment plan.
3196
+ class InstallmentPlan
3197
+ include Google::Apis::Core::Hashable
3198
+
3199
+ # Total number of payments the user is initially committed for.
3200
+ # Corresponds to the JSON property `initialCommittedPaymentsCount`
3201
+ # @return [Fixnum]
3202
+ attr_accessor :initial_committed_payments_count
3203
+
3204
+ # This is an indicator of whether there is a pending cancellation on the virtual
3205
+ # installment plan. The cancellation will happen only after the user finished
3206
+ # all committed payments.
3207
+ # Corresponds to the JSON property `pendingCancellation`
3208
+ # @return [Google::Apis::AndroidpublisherV3::PendingCancellation]
3209
+ attr_accessor :pending_cancellation
3210
+
3211
+ # Total number of committed payments remaining to be paid for in this renewal
3212
+ # cycle.
3213
+ # Corresponds to the JSON property `remainingCommittedPaymentsCount`
3214
+ # @return [Fixnum]
3215
+ attr_accessor :remaining_committed_payments_count
3216
+
3217
+ # Total number of payments the user will be committed for after each commitment
3218
+ # period. Empty means the installment plan will fall back to a normal auto-renew
3219
+ # subscription after initial commitment.
3220
+ # Corresponds to the JSON property `subsequentCommittedPaymentsCount`
3221
+ # @return [Fixnum]
3222
+ attr_accessor :subsequent_committed_payments_count
3223
+
3224
+ def initialize(**args)
3225
+ update!(**args)
3226
+ end
3227
+
3228
+ # Update properties of this object
3229
+ def update!(**args)
3230
+ @initial_committed_payments_count = args[:initial_committed_payments_count] if args.key?(:initial_committed_payments_count)
3231
+ @pending_cancellation = args[:pending_cancellation] if args.key?(:pending_cancellation)
3232
+ @remaining_committed_payments_count = args[:remaining_committed_payments_count] if args.key?(:remaining_committed_payments_count)
3233
+ @subsequent_committed_payments_count = args[:subsequent_committed_payments_count] if args.key?(:subsequent_committed_payments_count)
3234
+ end
3235
+ end
3236
+
3237
+ # Represents an installments base plan where a user commits to a specified
3238
+ # number of payments.
3239
+ class InstallmentsBasePlanType
3240
+ include Google::Apis::Core::Hashable
3241
+
3242
+ # Optional. Account hold period of the subscription, specified exclusively in
3243
+ # days and in ISO 8601 format. Acceptable values are P0D (zero days) to P30D (
3244
+ # 30days). If not specified, the default value is P30D (30 days).
3245
+ # Corresponds to the JSON property `accountHoldDuration`
3246
+ # @return [String]
3247
+ attr_accessor :account_hold_duration
3248
+
3249
+ # Required. Subscription period, specified in ISO 8601 format. For a list of
3250
+ # acceptable billing periods, refer to the help center.
3251
+ # Corresponds to the JSON property `billingPeriodDuration`
3252
+ # @return [String]
3253
+ attr_accessor :billing_period_duration
3254
+
3255
+ # Required. The number of payments the user is committed to.
3256
+ # Corresponds to the JSON property `committedPaymentsCount`
3257
+ # @return [Fixnum]
3258
+ attr_accessor :committed_payments_count
3259
+
3260
+ # Grace period of the subscription, specified in ISO 8601 format. Acceptable
3261
+ # values are P0D (zero days), P3D (3 days), P7D (7 days), P14D (14 days), and
3262
+ # P30D (30 days). If not specified, a default value will be used based on the
3263
+ # recurring period duration.
3264
+ # Corresponds to the JSON property `gracePeriodDuration`
3265
+ # @return [String]
3266
+ attr_accessor :grace_period_duration
3267
+
3268
+ # The proration mode for the base plan determines what happens when a user
3269
+ # switches to this plan from another base plan. If unspecified, defaults to
3270
+ # CHARGE_ON_NEXT_BILLING_DATE.
3271
+ # Corresponds to the JSON property `prorationMode`
3272
+ # @return [String]
3273
+ attr_accessor :proration_mode
3274
+
3275
+ # Required. Installments base plan renewal type. Determines the behavior at the
3276
+ # end of the initial commitment.
3277
+ # Corresponds to the JSON property `renewalType`
3278
+ # @return [String]
3279
+ attr_accessor :renewal_type
3280
+
3281
+ # Whether users should be able to resubscribe to this base plan in Google Play
3282
+ # surfaces. Defaults to RESUBSCRIBE_STATE_ACTIVE if not specified.
3283
+ # Corresponds to the JSON property `resubscribeState`
3284
+ # @return [String]
3285
+ attr_accessor :resubscribe_state
3286
+
3287
+ def initialize(**args)
3288
+ update!(**args)
3289
+ end
3290
+
3291
+ # Update properties of this object
3292
+ def update!(**args)
3293
+ @account_hold_duration = args[:account_hold_duration] if args.key?(:account_hold_duration)
3294
+ @billing_period_duration = args[:billing_period_duration] if args.key?(:billing_period_duration)
3295
+ @committed_payments_count = args[:committed_payments_count] if args.key?(:committed_payments_count)
3296
+ @grace_period_duration = args[:grace_period_duration] if args.key?(:grace_period_duration)
3297
+ @proration_mode = args[:proration_mode] if args.key?(:proration_mode)
3298
+ @renewal_type = args[:renewal_type] if args.key?(:renewal_type)
3299
+ @resubscribe_state = args[:resubscribe_state] if args.key?(:resubscribe_state)
3300
+ end
3301
+ end
3302
+
3181
3303
  # An artifact resource which gets created when uploading an APK or Android App
3182
3304
  # Bundle through internal app sharing.
3183
3305
  class InternalAppSharingArtifact
@@ -4067,6 +4189,21 @@ module Google
4067
4189
  end
4068
4190
  end
4069
4191
 
4192
+ # This is an indicator of whether there is a pending cancellation on the virtual
4193
+ # installment plan. The cancellation will happen only after the user finished
4194
+ # all committed payments.
4195
+ class PendingCancellation
4196
+ include Google::Apis::Core::Hashable
4197
+
4198
+ def initialize(**args)
4199
+ update!(**args)
4200
+ end
4201
+
4202
+ # Update properties of this object
4203
+ def update!(**args)
4204
+ end
4205
+ end
4206
+
4070
4207
  # Represents a base plan that does not automatically renew at the end of the
4071
4208
  # base plan, and must be manually renewed by the user.
4072
4209
  class PrepaidBasePlanType
@@ -4706,6 +4843,28 @@ module Google
4706
4843
  end
4707
4844
  end
4708
4845
 
4846
+ # Countries where the purchase of this product is restricted to payment methods
4847
+ # registered in the same country. If empty, no payment location restrictions are
4848
+ # imposed.
4849
+ class RestrictedPaymentCountries
4850
+ include Google::Apis::Core::Hashable
4851
+
4852
+ # Required. Region codes to impose payment restrictions on, as defined by ISO
4853
+ # 3166-2, e.g. "US".
4854
+ # Corresponds to the JSON property `regionCodes`
4855
+ # @return [Array<String>]
4856
+ attr_accessor :region_codes
4857
+
4858
+ def initialize(**args)
4859
+ update!(**args)
4860
+ end
4861
+
4862
+ # Update properties of this object
4863
+ def update!(**args)
4864
+ @region_codes = args[:region_codes] if args.key?(:region_codes)
4865
+ end
4866
+ end
4867
+
4709
4868
  # An Android app review.
4710
4869
  class Review
4711
4870
  include Google::Apis::Core::Hashable
@@ -5200,6 +5359,13 @@ module Google
5200
5359
  # @return [String]
5201
5360
  attr_accessor :product_id
5202
5361
 
5362
+ # Countries where the purchase of this product is restricted to payment methods
5363
+ # registered in the same country. If empty, no payment location restrictions are
5364
+ # imposed.
5365
+ # Corresponds to the JSON property `restrictedPaymentCountries`
5366
+ # @return [Google::Apis::AndroidpublisherV3::RestrictedPaymentCountries]
5367
+ attr_accessor :restricted_payment_countries
5368
+
5203
5369
  # Details about taxation, Google Play policy and legal compliance for
5204
5370
  # subscription products.
5205
5371
  # Corresponds to the JSON property `taxAndComplianceSettings`
@@ -5217,6 +5383,7 @@ module Google
5217
5383
  @listings = args[:listings] if args.key?(:listings)
5218
5384
  @package_name = args[:package_name] if args.key?(:package_name)
5219
5385
  @product_id = args[:product_id] if args.key?(:product_id)
5386
+ @restricted_payment_countries = args[:restricted_payment_countries] if args.key?(:restricted_payment_countries)
5220
5387
  @tax_and_compliance_settings = args[:tax_and_compliance_settings] if args.key?(:tax_and_compliance_settings)
5221
5388
  end
5222
5389
  end
@@ -5846,7 +6013,8 @@ module Google
5846
6013
  # @return [String]
5847
6014
  attr_accessor :acknowledgement_state
5848
6015
 
5849
- # Information specific to a subscription in canceled state.
6016
+ # Information specific to a subscription in the SUBSCRIPTION_STATE_CANCELED or
6017
+ # SUBSCRIPTION_STATE_EXPIRED state.
5850
6018
  # Corresponds to the JSON property `canceledStateContext`
5851
6019
  # @return [Google::Apis::AndroidpublisherV3::CanceledStateContext]
5852
6020
  attr_accessor :canceled_state_context
@@ -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.62.0"
19
+ GEM_VERSION = "0.64.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240418"
25
+ REVISION = "20240516"
26
26
  end
27
27
  end
28
28
  end
@@ -652,6 +652,18 @@ module Google
652
652
  include Google::Apis::Core::JsonObjectSupport
653
653
  end
654
654
 
655
+ class InstallmentPlan
656
+ class Representation < Google::Apis::Core::JsonRepresentation; end
657
+
658
+ include Google::Apis::Core::JsonObjectSupport
659
+ end
660
+
661
+ class InstallmentsBasePlanType
662
+ class Representation < Google::Apis::Core::JsonRepresentation; end
663
+
664
+ include Google::Apis::Core::JsonObjectSupport
665
+ end
666
+
655
667
  class InternalAppSharingArtifact
656
668
  class Representation < Google::Apis::Core::JsonRepresentation; end
657
669
 
@@ -838,6 +850,12 @@ module Google
838
850
  include Google::Apis::Core::JsonObjectSupport
839
851
  end
840
852
 
853
+ class PendingCancellation
854
+ class Representation < Google::Apis::Core::JsonRepresentation; end
855
+
856
+ include Google::Apis::Core::JsonObjectSupport
857
+ end
858
+
841
859
  class PrepaidBasePlanType
842
860
  class Representation < Google::Apis::Core::JsonRepresentation; end
843
861
 
@@ -952,6 +970,12 @@ module Google
952
970
  include Google::Apis::Core::JsonObjectSupport
953
971
  end
954
972
 
973
+ class RestrictedPaymentCountries
974
+ class Representation < Google::Apis::Core::JsonRepresentation; end
975
+
976
+ include Google::Apis::Core::JsonObjectSupport
977
+ end
978
+
955
979
  class Review
956
980
  class Representation < Google::Apis::Core::JsonRepresentation; end
957
981
 
@@ -1635,6 +1659,8 @@ module Google
1635
1659
  # @private
1636
1660
  class Representation < Google::Apis::Core::JsonRepresentation
1637
1661
  property :auto_renew_enabled, as: 'autoRenewEnabled'
1662
+ property :installment_details, as: 'installmentDetails', class: Google::Apis::AndroidpublisherV3::InstallmentPlan, decorator: Google::Apis::AndroidpublisherV3::InstallmentPlan::Representation
1663
+
1638
1664
  property :price_change_details, as: 'priceChangeDetails', class: Google::Apis::AndroidpublisherV3::SubscriptionItemPriceChangeDetails, decorator: Google::Apis::AndroidpublisherV3::SubscriptionItemPriceChangeDetails::Representation
1639
1665
 
1640
1666
  end
@@ -1646,6 +1672,8 @@ module Google
1646
1672
  property :auto_renewing_base_plan_type, as: 'autoRenewingBasePlanType', class: Google::Apis::AndroidpublisherV3::AutoRenewingBasePlanType, decorator: Google::Apis::AndroidpublisherV3::AutoRenewingBasePlanType::Representation
1647
1673
 
1648
1674
  property :base_plan_id, as: 'basePlanId'
1675
+ property :installments_base_plan_type, as: 'installmentsBasePlanType', class: Google::Apis::AndroidpublisherV3::InstallmentsBasePlanType, decorator: Google::Apis::AndroidpublisherV3::InstallmentsBasePlanType::Representation
1676
+
1649
1677
  collection :offer_tags, as: 'offerTags', class: Google::Apis::AndroidpublisherV3::OfferTag, decorator: Google::Apis::AndroidpublisherV3::OfferTag::Representation
1650
1678
 
1651
1679
  property :other_regions_config, as: 'otherRegionsConfig', class: Google::Apis::AndroidpublisherV3::OtherRegionsBasePlanConfig, decorator: Google::Apis::AndroidpublisherV3::OtherRegionsBasePlanConfig::Representation
@@ -2389,6 +2417,30 @@ module Google
2389
2417
  end
2390
2418
  end
2391
2419
 
2420
+ class InstallmentPlan
2421
+ # @private
2422
+ class Representation < Google::Apis::Core::JsonRepresentation
2423
+ property :initial_committed_payments_count, as: 'initialCommittedPaymentsCount'
2424
+ property :pending_cancellation, as: 'pendingCancellation', class: Google::Apis::AndroidpublisherV3::PendingCancellation, decorator: Google::Apis::AndroidpublisherV3::PendingCancellation::Representation
2425
+
2426
+ property :remaining_committed_payments_count, as: 'remainingCommittedPaymentsCount'
2427
+ property :subsequent_committed_payments_count, as: 'subsequentCommittedPaymentsCount'
2428
+ end
2429
+ end
2430
+
2431
+ class InstallmentsBasePlanType
2432
+ # @private
2433
+ class Representation < Google::Apis::Core::JsonRepresentation
2434
+ property :account_hold_duration, as: 'accountHoldDuration'
2435
+ property :billing_period_duration, as: 'billingPeriodDuration'
2436
+ property :committed_payments_count, as: 'committedPaymentsCount'
2437
+ property :grace_period_duration, as: 'gracePeriodDuration'
2438
+ property :proration_mode, as: 'prorationMode'
2439
+ property :renewal_type, as: 'renewalType'
2440
+ property :resubscribe_state, as: 'resubscribeState'
2441
+ end
2442
+ end
2443
+
2392
2444
  class InternalAppSharingArtifact
2393
2445
  # @private
2394
2446
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2670,6 +2722,12 @@ module Google
2670
2722
  end
2671
2723
  end
2672
2724
 
2725
+ class PendingCancellation
2726
+ # @private
2727
+ class Representation < Google::Apis::Core::JsonRepresentation
2728
+ end
2729
+ end
2730
+
2673
2731
  class PrepaidBasePlanType
2674
2732
  # @private
2675
2733
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2845,6 +2903,13 @@ module Google
2845
2903
  end
2846
2904
  end
2847
2905
 
2906
+ class RestrictedPaymentCountries
2907
+ # @private
2908
+ class Representation < Google::Apis::Core::JsonRepresentation
2909
+ collection :region_codes, as: 'regionCodes'
2910
+ end
2911
+ end
2912
+
2848
2913
  class Review
2849
2914
  # @private
2850
2915
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3014,6 +3079,8 @@ module Google
3014
3079
 
3015
3080
  property :package_name, as: 'packageName'
3016
3081
  property :product_id, as: 'productId'
3082
+ property :restricted_payment_countries, as: 'restrictedPaymentCountries', class: Google::Apis::AndroidpublisherV3::RestrictedPaymentCountries, decorator: Google::Apis::AndroidpublisherV3::RestrictedPaymentCountries::Representation
3083
+
3017
3084
  property :tax_and_compliance_settings, as: 'taxAndComplianceSettings', class: Google::Apis::AndroidpublisherV3::SubscriptionTaxAndComplianceSettings, decorator: Google::Apis::AndroidpublisherV3::SubscriptionTaxAndComplianceSettings::Representation
3018
3085
 
3019
3086
  end
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.62.0
4
+ version: 0.64.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-04-21 00:00:00.000000000 Z
11
+ date: 2024-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.62.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.64.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: []