google-apis-androidpublisher_v3 0.31.0 → 0.33.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/androidpublisher_v3/classes.rb +84 -1
- data/lib/google/apis/androidpublisher_v3/gem_version.rb +3 -3
- data/lib/google/apis/androidpublisher_v3/representations.rb +36 -0
- data/lib/google/apis/androidpublisher_v3/service.rb +4 -4
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9634bb3b384d68c24eac7bc61087828cb0af74d4409e1fbc0f53a452a009f79
|
4
|
+
data.tar.gz: 90ba7a949f20fe9c09da74b9daea086f9c6e723d9733a3ed3d65b64ae68e3d7d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89671052f6cf4466329799a3ef7ebe720f851112ac3b5c5e6e6b316990fa8affae27db622cfbd3863e2d757d3bf3d724c7b6b00bb02bce0c44e36e415bdfa69a
|
7
|
+
data.tar.gz: c56ac14693b4b41a1675f20b5e065b894bf774d618d8b02076e7d0f796085c23004b5e052f432775bf3fcfe18302a2cf383334569448be82d2b9ef1dbdde7636
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-androidpublisher_v3
|
2
2
|
|
3
|
+
### v0.33.0 (2023-01-29)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230123
|
6
|
+
* Regenerated using generator version 0.11.1
|
7
|
+
|
8
|
+
### v0.32.0 (2022-11-19)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20221108
|
11
|
+
|
3
12
|
### v0.31.0 (2022-11-01)
|
4
13
|
|
5
14
|
* 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
|
@@ -2779,7 +2817,7 @@ module Google
|
|
2779
2817
|
include Google::Apis::Core::Hashable
|
2780
2818
|
|
2781
2819
|
# Required. A string representing version of the available regions being used
|
2782
|
-
# for the specified resource. The current version is 2022/
|
2820
|
+
# for the specified resource. The current version is 2022/02.
|
2783
2821
|
# Corresponds to the JSON property `version`
|
2784
2822
|
# @return [String]
|
2785
2823
|
attr_accessor :version
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.33.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.11.
|
22
|
+
GENERATOR_VERSION = "0.11.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230123"
|
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'
|
@@ -2137,7 +2137,7 @@ module Google
|
|
2137
2137
|
# resource.
|
2138
2138
|
# @param [String] regions_version_version
|
2139
2139
|
# Required. A string representing version of the available regions being used
|
2140
|
-
# for the specified resource. The current version is 2022/
|
2140
|
+
# for the specified resource. The current version is 2022/02.
|
2141
2141
|
# @param [String] fields
|
2142
2142
|
# Selector specifying which fields to include in a partial response.
|
2143
2143
|
# @param [String] quota_user
|
@@ -2292,7 +2292,7 @@ module Google
|
|
2292
2292
|
# @param [Google::Apis::AndroidpublisherV3::Subscription] subscription_object
|
2293
2293
|
# @param [String] regions_version_version
|
2294
2294
|
# Required. A string representing version of the available regions being used
|
2295
|
-
# for the specified resource. The current version is 2022/
|
2295
|
+
# for the specified resource. The current version is 2022/02.
|
2296
2296
|
# @param [String] update_mask
|
2297
2297
|
# Required. The list of fields to be updated.
|
2298
2298
|
# @param [String] fields
|
@@ -2548,7 +2548,7 @@ module Google
|
|
2548
2548
|
# see the documentation of the offer_id field on the SubscriptionOffer resource.
|
2549
2549
|
# @param [String] regions_version_version
|
2550
2550
|
# Required. A string representing version of the available regions being used
|
2551
|
-
# for the specified resource. The current version is 2022/
|
2551
|
+
# for the specified resource. The current version is 2022/02.
|
2552
2552
|
# @param [String] fields
|
2553
2553
|
# Selector specifying which fields to include in a partial response.
|
2554
2554
|
# @param [String] quota_user
|
@@ -2767,7 +2767,7 @@ module Google
|
|
2767
2767
|
# @param [Google::Apis::AndroidpublisherV3::SubscriptionOffer] subscription_offer_object
|
2768
2768
|
# @param [String] regions_version_version
|
2769
2769
|
# Required. A string representing version of the available regions being used
|
2770
|
-
# for the specified resource. The current version is 2022/
|
2770
|
+
# for the specified resource. The current version is 2022/02.
|
2771
2771
|
# @param [String] update_mask
|
2772
2772
|
# Required. The list of fields to be updated.
|
2773
2773
|
# @param [String] fields
|
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.
|
4
|
+
version: 0.33.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:
|
11
|
+
date: 2023-01-29 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.33.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.
|
78
|
+
rubygems_version: 3.4.2
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Google Play Android Developer API V3
|