google-apis-androidpublisher_v3 0.60.0 → 0.62.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: 108bdb3cf8a1724ea2d0642e9f862ad8f940eee4d94d6329cf6d83df2540b6de
4
- data.tar.gz: 9a74871aaf093089e059132cda3984776505d69eb33ea3fc118e68d132886122
3
+ metadata.gz: fdd6e13ca629ffee48d4e182936ca1a063486618dbee8874202759e699a47097
4
+ data.tar.gz: 270a3b4a91bfbe81a8684b3a08f2f8a36c1d9a2585debdaf0eeacd71de55647f
5
5
  SHA512:
6
- metadata.gz: 4afb301e0d57936d120f48b4e7f3915f90a9459fcb7b8b0f76fa054ae040ee9ac0319282201c9dd31a91060bba8acff719c81c68621c4da9bcfd1dc07452e7d9
7
- data.tar.gz: 01373f191fe2fc1585f0f1d682081cfc11c866fb757f31c49d85350f45f221d0e66cf0d851175c03266d689eb4feb736cfa3de64e9bbe3d52a9e6def74ee9eb3
6
+ metadata.gz: dd3ee6e015c160d06e989a92ed7af46513810ccb0d7b27aeb25db2423238523efa39a0c0ec1ec0f07f50cd3aa7ffa04439ac39c95e935e78f3ebbef406e58f95
7
+ data.tar.gz: 666979b03487f637d93be07ef0b5cc176a7350cb4e9e02afe845df0de51e06dc894f1778783625038170cffc4a4ca0248880ab42053cd6115b21425ddf889ccb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-androidpublisher_v3
2
2
 
3
+ ### v0.62.0 (2024-04-21)
4
+
5
+ * Regenerated from discovery document revision 20240418
6
+
7
+ ### v0.61.0 (2024-04-14)
8
+
9
+ * Regenerated from discovery document revision 20240409
10
+
3
11
  ### v0.60.0 (2024-03-31)
4
12
 
5
13
  * Regenerated from discovery document revision 20240328
@@ -3791,8 +3791,7 @@ module Google
3791
3791
  end
3792
3792
  end
3793
3793
 
3794
- # Represents a custom tag specified for one-time products, purchase options,
3795
- # base plans and offers.
3794
+ # Represents a custom tag specified for base plans and subscription offers.
3796
3795
  class OfferTag
3797
3796
  include Google::Apis::Core::Hashable
3798
3797
 
@@ -3832,6 +3831,20 @@ module Google
3832
3831
  end
3833
3832
  end
3834
3833
 
3834
+ # Details of a recurring external transaction product which doesn't belong to
3835
+ # any other more specific category.
3836
+ class OtherRecurringProduct
3837
+ include Google::Apis::Core::Hashable
3838
+
3839
+ def initialize(**args)
3840
+ update!(**args)
3841
+ end
3842
+
3843
+ # Update properties of this object
3844
+ def update!(**args)
3845
+ end
3846
+ end
3847
+
3835
3848
  # Pricing information for any new locations Play may launch in.
3836
3849
  class OtherRegionsBasePlanConfig
3837
3850
  include Google::Apis::Core::Hashable
@@ -3897,6 +3910,12 @@ module Google
3897
3910
  # @return [Google::Apis::AndroidpublisherV3::OtherRegionsSubscriptionOfferPhasePrices]
3898
3911
  attr_accessor :absolute_discounts
3899
3912
 
3913
+ # Represents the free price override configuration for any new locations Play
3914
+ # may launch for a single offer phase.
3915
+ # Corresponds to the JSON property `free`
3916
+ # @return [Google::Apis::AndroidpublisherV3::OtherRegionsSubscriptionOfferPhaseFreePriceOverride]
3917
+ attr_accessor :free
3918
+
3900
3919
  # Pricing information for any new locations Play may launch in.
3901
3920
  # Corresponds to the JSON property `otherRegionsPrices`
3902
3921
  # @return [Google::Apis::AndroidpublisherV3::OtherRegionsSubscriptionOfferPhasePrices]
@@ -3922,11 +3941,26 @@ module Google
3922
3941
  # Update properties of this object
3923
3942
  def update!(**args)
3924
3943
  @absolute_discounts = args[:absolute_discounts] if args.key?(:absolute_discounts)
3944
+ @free = args[:free] if args.key?(:free)
3925
3945
  @other_regions_prices = args[:other_regions_prices] if args.key?(:other_regions_prices)
3926
3946
  @relative_discount = args[:relative_discount] if args.key?(:relative_discount)
3927
3947
  end
3928
3948
  end
3929
3949
 
3950
+ # Represents the free price override configuration for any new locations Play
3951
+ # may launch for a single offer phase.
3952
+ class OtherRegionsSubscriptionOfferPhaseFreePriceOverride
3953
+ include Google::Apis::Core::Hashable
3954
+
3955
+ def initialize(**args)
3956
+ update!(**args)
3957
+ end
3958
+
3959
+ # Update properties of this object
3960
+ def update!(**args)
3961
+ end
3962
+ end
3963
+
3930
3964
  # Pricing information for any new locations Play may launch in.
3931
3965
  class OtherRegionsSubscriptionOfferPhasePrices
3932
3966
  include Google::Apis::Core::Hashable
@@ -4181,8 +4215,8 @@ module Google
4181
4215
  # The type of purchase of the inapp product. This field is only set if this
4182
4216
  # purchase was not made using the standard in-app billing flow. Possible values
4183
4217
  # are: 0. Test (i.e. purchased from a license testing account) 1. Promo (i.e.
4184
- # purchased using a promo code) 2. Rewarded (i.e. from watching a video ad
4185
- # instead of paying)
4218
+ # purchased using a promo code). Does not include Play Points purchases. 2.
4219
+ # Rewarded (i.e. from watching a video ad instead of paying)
4186
4220
  # Corresponds to the JSON property `purchaseType`
4187
4221
  # @return [Fixnum]
4188
4222
  attr_accessor :purchase_type
@@ -4280,6 +4314,12 @@ module Google
4280
4314
  # @return [String]
4281
4315
  attr_accessor :migrated_transaction_program
4282
4316
 
4317
+ # Details of a recurring external transaction product which doesn't belong to
4318
+ # any other more specific category.
4319
+ # Corresponds to the JSON property `otherRecurringProduct`
4320
+ # @return [Google::Apis::AndroidpublisherV3::OtherRecurringProduct]
4321
+ attr_accessor :other_recurring_product
4322
+
4283
4323
  def initialize(**args)
4284
4324
  update!(**args)
4285
4325
  end
@@ -4290,6 +4330,7 @@ module Google
4290
4330
  @external_transaction_token = args[:external_transaction_token] if args.key?(:external_transaction_token)
4291
4331
  @initial_external_transaction_id = args[:initial_external_transaction_id] if args.key?(:initial_external_transaction_id)
4292
4332
  @migrated_transaction_program = args[:migrated_transaction_program] if args.key?(:migrated_transaction_program)
4333
+ @other_recurring_product = args[:other_recurring_product] if args.key?(:other_recurring_product)
4293
4334
  end
4294
4335
  end
4295
4336
 
@@ -4438,6 +4479,12 @@ module Google
4438
4479
  # @return [Google::Apis::AndroidpublisherV3::Money]
4439
4480
  attr_accessor :absolute_discount
4440
4481
 
4482
+ # Represents the free price override configuration for a single phase of a
4483
+ # subscription offer
4484
+ # Corresponds to the JSON property `free`
4485
+ # @return [Google::Apis::AndroidpublisherV3::RegionalSubscriptionOfferPhaseFreePriceOverride]
4486
+ attr_accessor :free
4487
+
4441
4488
  # Represents an amount of money with its currency type.
4442
4489
  # Corresponds to the JSON property `price`
4443
4490
  # @return [Google::Apis::AndroidpublisherV3::Money]
@@ -4467,12 +4514,27 @@ module Google
4467
4514
  # Update properties of this object
4468
4515
  def update!(**args)
4469
4516
  @absolute_discount = args[:absolute_discount] if args.key?(:absolute_discount)
4517
+ @free = args[:free] if args.key?(:free)
4470
4518
  @price = args[:price] if args.key?(:price)
4471
4519
  @region_code = args[:region_code] if args.key?(:region_code)
4472
4520
  @relative_discount = args[:relative_discount] if args.key?(:relative_discount)
4473
4521
  end
4474
4522
  end
4475
4523
 
4524
+ # Represents the free price override configuration for a single phase of a
4525
+ # subscription offer
4526
+ class RegionalSubscriptionOfferPhaseFreePriceOverride
4527
+ include Google::Apis::Core::Hashable
4528
+
4529
+ def initialize(**args)
4530
+ update!(**args)
4531
+ end
4532
+
4533
+ # Update properties of this object
4534
+ def update!(**args)
4535
+ end
4536
+ end
4537
+
4476
4538
  # Specified details about taxation in a given geographical region.
4477
4539
  class RegionalTaxRateInfo
4478
4540
  include Google::Apis::Core::Hashable
@@ -6140,19 +6202,61 @@ module Google
6140
6202
  class TargetingRuleScope
6141
6203
  include Google::Apis::Core::Hashable
6142
6204
 
6205
+ # Represents the targeting rule scope corresponding to any subscription in the
6206
+ # parent app.
6207
+ # Corresponds to the JSON property `anySubscriptionInApp`
6208
+ # @return [Google::Apis::AndroidpublisherV3::TargetingRuleScopeAnySubscriptionInApp]
6209
+ attr_accessor :any_subscription_in_app
6210
+
6143
6211
  # The scope of the current targeting rule is the subscription with the specified
6144
6212
  # subscription ID. Must be a subscription within the same parent app.
6145
6213
  # Corresponds to the JSON property `specificSubscriptionInApp`
6146
6214
  # @return [String]
6147
6215
  attr_accessor :specific_subscription_in_app
6148
6216
 
6217
+ # Represents the targeting rule scope corresponding to the subscriptions in
6218
+ # which this offer is defined.
6219
+ # Corresponds to the JSON property `thisSubscription`
6220
+ # @return [Google::Apis::AndroidpublisherV3::TargetingRuleScopeThisSubscription]
6221
+ attr_accessor :this_subscription
6222
+
6149
6223
  def initialize(**args)
6150
6224
  update!(**args)
6151
6225
  end
6152
6226
 
6153
6227
  # Update properties of this object
6154
6228
  def update!(**args)
6229
+ @any_subscription_in_app = args[:any_subscription_in_app] if args.key?(:any_subscription_in_app)
6155
6230
  @specific_subscription_in_app = args[:specific_subscription_in_app] if args.key?(:specific_subscription_in_app)
6231
+ @this_subscription = args[:this_subscription] if args.key?(:this_subscription)
6232
+ end
6233
+ end
6234
+
6235
+ # Represents the targeting rule scope corresponding to any subscription in the
6236
+ # parent app.
6237
+ class TargetingRuleScopeAnySubscriptionInApp
6238
+ include Google::Apis::Core::Hashable
6239
+
6240
+ def initialize(**args)
6241
+ update!(**args)
6242
+ end
6243
+
6244
+ # Update properties of this object
6245
+ def update!(**args)
6246
+ end
6247
+ end
6248
+
6249
+ # Represents the targeting rule scope corresponding to the subscriptions in
6250
+ # which this offer is defined.
6251
+ class TargetingRuleScopeThisSubscription
6252
+ include Google::Apis::Core::Hashable
6253
+
6254
+ def initialize(**args)
6255
+ update!(**args)
6256
+ end
6257
+
6258
+ # Update properties of this object
6259
+ def update!(**args)
6156
6260
  end
6157
6261
  end
6158
6262
 
@@ -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.60.0"
19
+ GEM_VERSION = "0.62.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240328"
25
+ REVISION = "20240418"
26
26
  end
27
27
  end
28
28
  end
@@ -784,6 +784,12 @@ module Google
784
784
  include Google::Apis::Core::JsonObjectSupport
785
785
  end
786
786
 
787
+ class OtherRecurringProduct
788
+ class Representation < Google::Apis::Core::JsonRepresentation; end
789
+
790
+ include Google::Apis::Core::JsonObjectSupport
791
+ end
792
+
787
793
  class OtherRegionsBasePlanConfig
788
794
  class Representation < Google::Apis::Core::JsonRepresentation; end
789
795
 
@@ -802,6 +808,12 @@ module Google
802
808
  include Google::Apis::Core::JsonObjectSupport
803
809
  end
804
810
 
811
+ class OtherRegionsSubscriptionOfferPhaseFreePriceOverride
812
+ class Representation < Google::Apis::Core::JsonRepresentation; end
813
+
814
+ include Google::Apis::Core::JsonObjectSupport
815
+ end
816
+
805
817
  class OtherRegionsSubscriptionOfferPhasePrices
806
818
  class Representation < Google::Apis::Core::JsonRepresentation; end
807
819
 
@@ -892,6 +904,12 @@ module Google
892
904
  include Google::Apis::Core::JsonObjectSupport
893
905
  end
894
906
 
907
+ class RegionalSubscriptionOfferPhaseFreePriceOverride
908
+ class Representation < Google::Apis::Core::JsonRepresentation; end
909
+
910
+ include Google::Apis::Core::JsonObjectSupport
911
+ end
912
+
895
913
  class RegionalTaxRateInfo
896
914
  class Representation < Google::Apis::Core::JsonRepresentation; end
897
915
 
@@ -1186,6 +1204,18 @@ module Google
1186
1204
  include Google::Apis::Core::JsonObjectSupport
1187
1205
  end
1188
1206
 
1207
+ class TargetingRuleScopeAnySubscriptionInApp
1208
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1209
+
1210
+ include Google::Apis::Core::JsonObjectSupport
1211
+ end
1212
+
1213
+ class TargetingRuleScopeThisSubscription
1214
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1215
+
1216
+ include Google::Apis::Core::JsonObjectSupport
1217
+ end
1218
+
1189
1219
  class TargetingUpdate
1190
1220
  class Representation < Google::Apis::Core::JsonRepresentation; end
1191
1221
 
@@ -2562,6 +2592,12 @@ module Google
2562
2592
  end
2563
2593
  end
2564
2594
 
2595
+ class OtherRecurringProduct
2596
+ # @private
2597
+ class Representation < Google::Apis::Core::JsonRepresentation
2598
+ end
2599
+ end
2600
+
2565
2601
  class OtherRegionsBasePlanConfig
2566
2602
  # @private
2567
2603
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2585,12 +2621,20 @@ module Google
2585
2621
  class Representation < Google::Apis::Core::JsonRepresentation
2586
2622
  property :absolute_discounts, as: 'absoluteDiscounts', class: Google::Apis::AndroidpublisherV3::OtherRegionsSubscriptionOfferPhasePrices, decorator: Google::Apis::AndroidpublisherV3::OtherRegionsSubscriptionOfferPhasePrices::Representation
2587
2623
 
2624
+ property :free, as: 'free', class: Google::Apis::AndroidpublisherV3::OtherRegionsSubscriptionOfferPhaseFreePriceOverride, decorator: Google::Apis::AndroidpublisherV3::OtherRegionsSubscriptionOfferPhaseFreePriceOverride::Representation
2625
+
2588
2626
  property :other_regions_prices, as: 'otherRegionsPrices', class: Google::Apis::AndroidpublisherV3::OtherRegionsSubscriptionOfferPhasePrices, decorator: Google::Apis::AndroidpublisherV3::OtherRegionsSubscriptionOfferPhasePrices::Representation
2589
2627
 
2590
2628
  property :relative_discount, as: 'relativeDiscount'
2591
2629
  end
2592
2630
  end
2593
2631
 
2632
+ class OtherRegionsSubscriptionOfferPhaseFreePriceOverride
2633
+ # @private
2634
+ class Representation < Google::Apis::Core::JsonRepresentation
2635
+ end
2636
+ end
2637
+
2594
2638
  class OtherRegionsSubscriptionOfferPhasePrices
2595
2639
  # @private
2596
2640
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2685,6 +2729,8 @@ module Google
2685
2729
  property :external_transaction_token, as: 'externalTransactionToken'
2686
2730
  property :initial_external_transaction_id, as: 'initialExternalTransactionId'
2687
2731
  property :migrated_transaction_program, as: 'migratedTransactionProgram'
2732
+ property :other_recurring_product, as: 'otherRecurringProduct', class: Google::Apis::AndroidpublisherV3::OtherRecurringProduct, decorator: Google::Apis::AndroidpublisherV3::OtherRecurringProduct::Representation
2733
+
2688
2734
  end
2689
2735
  end
2690
2736
 
@@ -2731,6 +2777,8 @@ module Google
2731
2777
  class Representation < Google::Apis::Core::JsonRepresentation
2732
2778
  property :absolute_discount, as: 'absoluteDiscount', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
2733
2779
 
2780
+ property :free, as: 'free', class: Google::Apis::AndroidpublisherV3::RegionalSubscriptionOfferPhaseFreePriceOverride, decorator: Google::Apis::AndroidpublisherV3::RegionalSubscriptionOfferPhaseFreePriceOverride::Representation
2781
+
2734
2782
  property :price, as: 'price', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
2735
2783
 
2736
2784
  property :region_code, as: 'regionCode'
@@ -2738,6 +2786,12 @@ module Google
2738
2786
  end
2739
2787
  end
2740
2788
 
2789
+ class RegionalSubscriptionOfferPhaseFreePriceOverride
2790
+ # @private
2791
+ class Representation < Google::Apis::Core::JsonRepresentation
2792
+ end
2793
+ end
2794
+
2741
2795
  class RegionalTaxRateInfo
2742
2796
  # @private
2743
2797
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3225,7 +3279,23 @@ module Google
3225
3279
  class TargetingRuleScope
3226
3280
  # @private
3227
3281
  class Representation < Google::Apis::Core::JsonRepresentation
3282
+ property :any_subscription_in_app, as: 'anySubscriptionInApp', class: Google::Apis::AndroidpublisherV3::TargetingRuleScopeAnySubscriptionInApp, decorator: Google::Apis::AndroidpublisherV3::TargetingRuleScopeAnySubscriptionInApp::Representation
3283
+
3228
3284
  property :specific_subscription_in_app, as: 'specificSubscriptionInApp'
3285
+ property :this_subscription, as: 'thisSubscription', class: Google::Apis::AndroidpublisherV3::TargetingRuleScopeThisSubscription, decorator: Google::Apis::AndroidpublisherV3::TargetingRuleScopeThisSubscription::Representation
3286
+
3287
+ end
3288
+ end
3289
+
3290
+ class TargetingRuleScopeAnySubscriptionInApp
3291
+ # @private
3292
+ class Representation < Google::Apis::Core::JsonRepresentation
3293
+ end
3294
+ end
3295
+
3296
+ class TargetingRuleScopeThisSubscription
3297
+ # @private
3298
+ class Representation < Google::Apis::Core::JsonRepresentation
3229
3299
  end
3230
3300
  end
3231
3301
 
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.60.0
4
+ version: 0.62.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-03-31 00:00:00.000000000 Z
11
+ date: 2024-04-21 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.60.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.62.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: []