google-apis-androidpublisher_v3 0.63.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: ab311feaa4454d87eeab2fb1b24f8e9bd4745e8e7fbaf954718e4a9d813df92f
4
- data.tar.gz: ae03f01f59e76420e0e01e0f0d5f234a9ee3b1033ae90352f196f52b794f3076
3
+ metadata.gz: 121ec823cd34244bcfdc90251e1a793edc8ca22187ec2aae5883e14b7945ab1b
4
+ data.tar.gz: 4f4205a7e5a478c712613450742454388e8828db8b8be1d1ae92534063037ed0
5
5
  SHA512:
6
- metadata.gz: 79fa15dc6c3e90cca22775df424bef806c6374800fa524b04ab61fe8971cbd2ed8f7f0ade32ad0b846b08e12eeee11f6ccb0bdb4c61c64b9256ce40127f6ab7a
7
- data.tar.gz: 0df6bb55b95d7b2ffe032c35913505aa932dd2a3705f34c8d6719c5a46a7130b82cc9d70d81b14623745fc84a800be04213e0fbabdb0b79432d4681cb7a89cde
6
+ metadata.gz: ca65e71f4a4d47c27b77837c06c8c5242302295ee7af4a1fd2dac2f856deae66ba923d42b3710cc4da180066045726d91797e8664edc78af30f2afc33d3c4e8c
7
+ data.tar.gz: 87d1f0a7cc494e5db103c92c19f7cdee322af7bed3874f89f27f99b9a525701f4ae544b76c8c92c5959891afe0af63206106114420ea448984c521623800a133
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
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
+
3
8
  ### v0.63.0 (2024-05-12)
4
9
 
5
10
  * Regenerated from discovery document revision 20240509
@@ -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)
@@ -3179,6 +3192,114 @@ module Google
3179
3192
  end
3180
3193
  end
3181
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
+
3182
3303
  # An artifact resource which gets created when uploading an APK or Android App
3183
3304
  # Bundle through internal app sharing.
3184
3305
  class InternalAppSharingArtifact
@@ -4068,6 +4189,21 @@ module Google
4068
4189
  end
4069
4190
  end
4070
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
+
4071
4207
  # Represents a base plan that does not automatically renew at the end of the
4072
4208
  # base plan, and must be manually renewed by the user.
4073
4209
  class PrepaidBasePlanType
@@ -4707,6 +4843,28 @@ module Google
4707
4843
  end
4708
4844
  end
4709
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
+
4710
4868
  # An Android app review.
4711
4869
  class Review
4712
4870
  include Google::Apis::Core::Hashable
@@ -5201,6 +5359,13 @@ module Google
5201
5359
  # @return [String]
5202
5360
  attr_accessor :product_id
5203
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
+
5204
5369
  # Details about taxation, Google Play policy and legal compliance for
5205
5370
  # subscription products.
5206
5371
  # Corresponds to the JSON property `taxAndComplianceSettings`
@@ -5218,6 +5383,7 @@ module Google
5218
5383
  @listings = args[:listings] if args.key?(:listings)
5219
5384
  @package_name = args[:package_name] if args.key?(:package_name)
5220
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)
5221
5387
  @tax_and_compliance_settings = args[:tax_and_compliance_settings] if args.key?(:tax_and_compliance_settings)
5222
5388
  end
5223
5389
  end
@@ -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.63.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 = "20240509"
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.63.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-05-12 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.63.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: []