google-apis-androidpublisher_v3 0.31.0 → 0.32.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: 340c43bd2cc33de9140af0f566b1c96d9fb42cc0d704135c338e1cb310b8ff67
4
- data.tar.gz: 224921dff0acdfd911e82d48d2f1a5b3a37ae22dda88be6d1d3de19281a4867f
3
+ metadata.gz: fc744b3f1e29045c6afdebe1bc420886192c2bc01c7916b437c305f12909d856
4
+ data.tar.gz: 488ec81f1477304234cf22fc2c82ac6bc96e8067b4551edd5471ca3d2052ef33
5
5
  SHA512:
6
- metadata.gz: 730f5e6914953b3f8d7b5fcf01f88072bc7bc1c88df322272b50e3f70de6e54fe72f54ed47cae482c90daf121de61de18bb018f1ba31574081fb3c6e1e463bbe
7
- data.tar.gz: 3a43a581d9bcb2f34e17151fcf54c11816d2f3223d76ef8420b5e73ba6451d46ca15bc9cef1c01d099258fdb24ca9f21a8cf959e306cacfea370f14ffaa548af
6
+ metadata.gz: 21cb23417324b15239b143b87c6aeeb7c31eb153284f0c3317279c3ed7bdf777316d747d568744ebb4be8c84f36f1db6a3af37e916a5c8e0226dcd873c16bb64
7
+ data.tar.gz: dfc48a9cb28ccdb3f0ba9ba526882f19269745abb3cce52670b689d054cd4f2630c9296ea13d92daecd14feef242afdc37cd3f25dfe77d3baaeac435c2078b5b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-androidpublisher_v3
2
2
 
3
+ ### v0.32.0 (2022-11-19)
4
+
5
+ * Regenerated from discovery document revision 20221108
6
+
3
7
  ### v0.31.0 (2022-11-01)
4
8
 
5
9
  * Regenerated from discovery document revision 20221031
@@ -341,6 +341,11 @@ module Google
341
341
  attr_accessor :auto_renew_enabled
342
342
  alias_method :auto_renew_enabled?, :auto_renew_enabled
343
343
 
344
+ # Price change related information of a subscription item.
345
+ # Corresponds to the JSON property `priceChangeDetails`
346
+ # @return [Google::Apis::AndroidpublisherV3::SubscriptionItemPriceChangeDetails]
347
+ attr_accessor :price_change_details
348
+
344
349
  def initialize(**args)
345
350
  update!(**args)
346
351
  end
@@ -348,6 +353,7 @@ module Google
348
353
  # Update properties of this object
349
354
  def update!(**args)
350
355
  @auto_renew_enabled = args[:auto_renew_enabled] if args.key?(:auto_renew_enabled)
356
+ @price_change_details = args[:price_change_details] if args.key?(:price_change_details)
351
357
  end
352
358
  end
353
359
 
@@ -2195,6 +2201,38 @@ module Google
2195
2201
  end
2196
2202
  end
2197
2203
 
2204
+ # Offer details information related to a purchase line item.
2205
+ class OfferDetails
2206
+ include Google::Apis::Core::Hashable
2207
+
2208
+ # The base plan ID. Present for all base plan and offers.
2209
+ # Corresponds to the JSON property `basePlanId`
2210
+ # @return [String]
2211
+ attr_accessor :base_plan_id
2212
+
2213
+ # The offer ID. Only present for discounted offers.
2214
+ # Corresponds to the JSON property `offerId`
2215
+ # @return [String]
2216
+ attr_accessor :offer_id
2217
+
2218
+ # The latest offer tags associated with the offer. It includes tags inherited
2219
+ # from the base plan.
2220
+ # Corresponds to the JSON property `offerTags`
2221
+ # @return [Array<String>]
2222
+ attr_accessor :offer_tags
2223
+
2224
+ def initialize(**args)
2225
+ update!(**args)
2226
+ end
2227
+
2228
+ # Update properties of this object
2229
+ def update!(**args)
2230
+ @base_plan_id = args[:base_plan_id] if args.key?(:base_plan_id)
2231
+ @offer_id = args[:offer_id] if args.key?(:offer_id)
2232
+ @offer_tags = args[:offer_tags] if args.key?(:offer_tags)
2233
+ end
2234
+ end
2235
+
2198
2236
  # Represents a custom tag specified for base plans and subscription offers.
2199
2237
  class OfferTag
2200
2238
  include Google::Apis::Core::Hashable
@@ -3104,6 +3142,45 @@ module Google
3104
3142
  end
3105
3143
  end
3106
3144
 
3145
+ # Price change related information of a subscription item.
3146
+ class SubscriptionItemPriceChangeDetails
3147
+ include Google::Apis::Core::Hashable
3148
+
3149
+ # The renewal time at which the price change will become effective for the user.
3150
+ # This is subject to change(to a future time) due to cases where the renewal
3151
+ # time shifts like pause.
3152
+ # Corresponds to the JSON property `expectedNewPriceChargeTime`
3153
+ # @return [String]
3154
+ attr_accessor :expected_new_price_charge_time
3155
+
3156
+ # Represents an amount of money with its currency type.
3157
+ # Corresponds to the JSON property `newPrice`
3158
+ # @return [Google::Apis::AndroidpublisherV3::Money]
3159
+ attr_accessor :new_price
3160
+
3161
+ # Price change mode specifies how the subscription item price is changing.
3162
+ # Corresponds to the JSON property `priceChangeMode`
3163
+ # @return [String]
3164
+ attr_accessor :price_change_mode
3165
+
3166
+ # State the price change is currently in.
3167
+ # Corresponds to the JSON property `priceChangeState`
3168
+ # @return [String]
3169
+ attr_accessor :price_change_state
3170
+
3171
+ def initialize(**args)
3172
+ update!(**args)
3173
+ end
3174
+
3175
+ # Update properties of this object
3176
+ def update!(**args)
3177
+ @expected_new_price_charge_time = args[:expected_new_price_charge_time] if args.key?(:expected_new_price_charge_time)
3178
+ @new_price = args[:new_price] if args.key?(:new_price)
3179
+ @price_change_mode = args[:price_change_mode] if args.key?(:price_change_mode)
3180
+ @price_change_state = args[:price_change_state] if args.key?(:price_change_state)
3181
+ end
3182
+ end
3183
+
3107
3184
  # The consumer-visible metadata of a subscription.
3108
3185
  class SubscriptionListing
3109
3186
  include Google::Apis::Core::Hashable
@@ -3587,6 +3664,11 @@ module Google
3587
3664
  # @return [String]
3588
3665
  attr_accessor :expiry_time
3589
3666
 
3667
+ # Offer details information related to a purchase line item.
3668
+ # Corresponds to the JSON property `offerDetails`
3669
+ # @return [Google::Apis::AndroidpublisherV3::OfferDetails]
3670
+ attr_accessor :offer_details
3671
+
3590
3672
  # Information related to a prepaid plan.
3591
3673
  # Corresponds to the JSON property `prepaidPlan`
3592
3674
  # @return [Google::Apis::AndroidpublisherV3::PrepaidPlan]
@@ -3605,6 +3687,7 @@ module Google
3605
3687
  def update!(**args)
3606
3688
  @auto_renewing_plan = args[:auto_renewing_plan] if args.key?(:auto_renewing_plan)
3607
3689
  @expiry_time = args[:expiry_time] if args.key?(:expiry_time)
3690
+ @offer_details = args[:offer_details] if args.key?(:offer_details)
3608
3691
  @prepaid_plan = args[:prepaid_plan] if args.key?(:prepaid_plan)
3609
3692
  @product_id = args[:product_id] if args.key?(:product_id)
3610
3693
  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.31.0"
19
+ GEM_VERSION = "0.32.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221031"
25
+ REVISION = "20221108"
26
26
  end
27
27
  end
28
28
  end
@@ -442,6 +442,12 @@ module Google
442
442
  include Google::Apis::Core::JsonObjectSupport
443
443
  end
444
444
 
445
+ class OfferDetails
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
445
451
  class OfferTag
446
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
447
453
 
@@ -610,6 +616,12 @@ module Google
610
616
  include Google::Apis::Core::JsonObjectSupport
611
617
  end
612
618
 
619
+ class SubscriptionItemPriceChangeDetails
620
+ class Representation < Google::Apis::Core::JsonRepresentation; end
621
+
622
+ include Google::Apis::Core::JsonObjectSupport
623
+ end
624
+
613
625
  class SubscriptionListing
614
626
  class Representation < Google::Apis::Core::JsonRepresentation; end
615
627
 
@@ -910,6 +922,8 @@ module Google
910
922
  # @private
911
923
  class Representation < Google::Apis::Core::JsonRepresentation
912
924
  property :auto_renew_enabled, as: 'autoRenewEnabled'
925
+ property :price_change_details, as: 'priceChangeDetails', class: Google::Apis::AndroidpublisherV3::SubscriptionItemPriceChangeDetails, decorator: Google::Apis::AndroidpublisherV3::SubscriptionItemPriceChangeDetails::Representation
926
+
913
927
  end
914
928
  end
915
929
 
@@ -1475,6 +1489,15 @@ module Google
1475
1489
  end
1476
1490
  end
1477
1491
 
1492
+ class OfferDetails
1493
+ # @private
1494
+ class Representation < Google::Apis::Core::JsonRepresentation
1495
+ property :base_plan_id, as: 'basePlanId'
1496
+ property :offer_id, as: 'offerId'
1497
+ collection :offer_tags, as: 'offerTags'
1498
+ end
1499
+ end
1500
+
1478
1501
  class OfferTag
1479
1502
  # @private
1480
1503
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1735,6 +1758,17 @@ module Google
1735
1758
  end
1736
1759
  end
1737
1760
 
1761
+ class SubscriptionItemPriceChangeDetails
1762
+ # @private
1763
+ class Representation < Google::Apis::Core::JsonRepresentation
1764
+ property :expected_new_price_charge_time, as: 'expectedNewPriceChargeTime'
1765
+ property :new_price, as: 'newPrice', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
1766
+
1767
+ property :price_change_mode, as: 'priceChangeMode'
1768
+ property :price_change_state, as: 'priceChangeState'
1769
+ end
1770
+ end
1771
+
1738
1772
  class SubscriptionListing
1739
1773
  # @private
1740
1774
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1841,6 +1875,8 @@ module Google
1841
1875
  property :auto_renewing_plan, as: 'autoRenewingPlan', class: Google::Apis::AndroidpublisherV3::AutoRenewingPlan, decorator: Google::Apis::AndroidpublisherV3::AutoRenewingPlan::Representation
1842
1876
 
1843
1877
  property :expiry_time, as: 'expiryTime'
1878
+ property :offer_details, as: 'offerDetails', class: Google::Apis::AndroidpublisherV3::OfferDetails, decorator: Google::Apis::AndroidpublisherV3::OfferDetails::Representation
1879
+
1844
1880
  property :prepaid_plan, as: 'prepaidPlan', class: Google::Apis::AndroidpublisherV3::PrepaidPlan, decorator: Google::Apis::AndroidpublisherV3::PrepaidPlan::Representation
1845
1881
 
1846
1882
  property :product_id, as: 'productId'
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.31.0
4
+ version: 0.32.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: 2022-11-07 00:00:00.000000000 Z
11
+ date: 2022-12-12 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.31.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.32.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: []