google-apis-androidpublisher_v3 0.100.0 → 0.101.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/androidpublisher_v3/classes.rb +73 -4
- data/lib/google/apis/androidpublisher_v3/gem_version.rb +2 -2
- data/lib/google/apis/androidpublisher_v3/representations.rb +45 -0
- data/lib/google/apis/androidpublisher_v3/service.rb +6 -4
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 33f51599b9f3efc7bff6e13dfd2c6c450e44665f17a51f49a2a85001a7b4f06d
|
|
4
|
+
data.tar.gz: 67e449d83a89b96d6433e9cac9792850ad58c7a556b56a9429ee75ee1584b544
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4e80f6b9038054515b53174ae298dccffd1a2a6a798a322a7c208a01e31935d13ab2176868641626c1701d32285d98e106d3b15749dc07de5dabcf6b183d0f5f
|
|
7
|
+
data.tar.gz: cc023f7d9f71a8f0e5d7c4dbcde167350a5df9f6ae3342f3f8810d1040eccad174c4857f02c94fb71a868cf1d32bf1fd4c4f50466b15cc9aeeae6f0dbade6b0f
|
data/CHANGELOG.md
CHANGED
|
@@ -4072,6 +4072,25 @@ module Google
|
|
|
4072
4072
|
end
|
|
4073
4073
|
end
|
|
4074
4074
|
|
|
4075
|
+
# Additional context around subscriptions in IN_GRACE_PERIOD state.
|
|
4076
|
+
class InGracePeriodStateContext
|
|
4077
|
+
include Google::Apis::Core::Hashable
|
|
4078
|
+
|
|
4079
|
+
# Context related to renewal declined scenario.
|
|
4080
|
+
# Corresponds to the JSON property `renewalDeclined`
|
|
4081
|
+
# @return [Google::Apis::AndroidpublisherV3::RenewalDeclinedContext]
|
|
4082
|
+
attr_accessor :renewal_declined
|
|
4083
|
+
|
|
4084
|
+
def initialize(**args)
|
|
4085
|
+
update!(**args)
|
|
4086
|
+
end
|
|
4087
|
+
|
|
4088
|
+
# Update properties of this object
|
|
4089
|
+
def update!(**args)
|
|
4090
|
+
@renewal_declined = args[:renewal_declined] if args.key?(:renewal_declined)
|
|
4091
|
+
end
|
|
4092
|
+
end
|
|
4093
|
+
|
|
4075
4094
|
# Request to delete multiple in-app products.
|
|
4076
4095
|
class InappproductsBatchDeleteRequest
|
|
4077
4096
|
include Google::Apis::Core::Hashable
|
|
@@ -5351,6 +5370,25 @@ module Google
|
|
|
5351
5370
|
end
|
|
5352
5371
|
end
|
|
5353
5372
|
|
|
5373
|
+
# Additional context around subscriptions in ON_HOLD state.
|
|
5374
|
+
class OnHoldStateContext
|
|
5375
|
+
include Google::Apis::Core::Hashable
|
|
5376
|
+
|
|
5377
|
+
# Context related to renewal declined scenario.
|
|
5378
|
+
# Corresponds to the JSON property `renewalDeclined`
|
|
5379
|
+
# @return [Google::Apis::AndroidpublisherV3::RenewalDeclinedContext]
|
|
5380
|
+
attr_accessor :renewal_declined
|
|
5381
|
+
|
|
5382
|
+
def initialize(**args)
|
|
5383
|
+
update!(**args)
|
|
5384
|
+
end
|
|
5385
|
+
|
|
5386
|
+
# Update properties of this object
|
|
5387
|
+
def update!(**args)
|
|
5388
|
+
@renewal_declined = args[:renewal_declined] if args.key?(:renewal_declined)
|
|
5389
|
+
end
|
|
5390
|
+
end
|
|
5391
|
+
|
|
5354
5392
|
# A single use promotion code.
|
|
5355
5393
|
class OneTimeCode
|
|
5356
5394
|
include Google::Apis::Core::Hashable
|
|
@@ -7671,6 +7709,25 @@ module Google
|
|
|
7671
7709
|
end
|
|
7672
7710
|
end
|
|
7673
7711
|
|
|
7712
|
+
# Context related to renewal declined scenario.
|
|
7713
|
+
class RenewalDeclinedContext
|
|
7714
|
+
include Google::Apis::Core::Hashable
|
|
7715
|
+
|
|
7716
|
+
# Required. The ID of the pending or failed order causing the state.
|
|
7717
|
+
# Corresponds to the JSON property `pendingOrderId`
|
|
7718
|
+
# @return [String]
|
|
7719
|
+
attr_accessor :pending_order_id
|
|
7720
|
+
|
|
7721
|
+
def initialize(**args)
|
|
7722
|
+
update!(**args)
|
|
7723
|
+
end
|
|
7724
|
+
|
|
7725
|
+
# Update properties of this object
|
|
7726
|
+
def update!(**args)
|
|
7727
|
+
@pending_order_id = args[:pending_order_id] if args.key?(:pending_order_id)
|
|
7728
|
+
end
|
|
7729
|
+
end
|
|
7730
|
+
|
|
7674
7731
|
# Offer details information related to a rental line item.
|
|
7675
7732
|
class RentOfferDetails
|
|
7676
7733
|
include Google::Apis::Core::Hashable
|
|
@@ -8399,8 +8456,8 @@ module Google
|
|
|
8399
8456
|
# @return [String]
|
|
8400
8457
|
attr_accessor :offer_id
|
|
8401
8458
|
|
|
8402
|
-
# The pricing phase for the billing
|
|
8403
|
-
#
|
|
8459
|
+
# Deprecated: Use offer_phase_details instead. The pricing phase for the billing
|
|
8460
|
+
# period funded by this order.
|
|
8404
8461
|
# Corresponds to the JSON property `offerPhase`
|
|
8405
8462
|
# @return [String]
|
|
8406
8463
|
attr_accessor :offer_phase
|
|
@@ -8706,8 +8763,8 @@ module Google
|
|
|
8706
8763
|
end
|
|
8707
8764
|
end
|
|
8708
8765
|
|
|
8709
|
-
#
|
|
8710
|
-
# purchase.
|
|
8766
|
+
# Deprecated: Use SubscriptionPurchaseV2 instead. A SubscriptionPurchase
|
|
8767
|
+
# resource indicates the status of a user's subscription purchase.
|
|
8711
8768
|
class SubscriptionPurchase
|
|
8712
8769
|
include Google::Apis::Core::Hashable
|
|
8713
8770
|
|
|
@@ -9056,6 +9113,11 @@ module Google
|
|
|
9056
9113
|
# @return [Google::Apis::AndroidpublisherV3::ExternalAccountIdentifiers]
|
|
9057
9114
|
attr_accessor :external_account_identifiers
|
|
9058
9115
|
|
|
9116
|
+
# Additional context around subscriptions in IN_GRACE_PERIOD state.
|
|
9117
|
+
# Corresponds to the JSON property `inGracePeriodStateContext`
|
|
9118
|
+
# @return [Google::Apis::AndroidpublisherV3::InGracePeriodStateContext]
|
|
9119
|
+
attr_accessor :in_grace_period_state_context
|
|
9120
|
+
|
|
9059
9121
|
# This kind represents a SubscriptionPurchaseV2 object in the androidpublisher
|
|
9060
9122
|
# service.
|
|
9061
9123
|
# Corresponds to the JSON property `kind`
|
|
@@ -9087,6 +9149,11 @@ module Google
|
|
|
9087
9149
|
# @return [String]
|
|
9088
9150
|
attr_accessor :linked_purchase_token
|
|
9089
9151
|
|
|
9152
|
+
# Additional context around subscriptions in ON_HOLD state.
|
|
9153
|
+
# Corresponds to the JSON property `onHoldStateContext`
|
|
9154
|
+
# @return [Google::Apis::AndroidpublisherV3::OnHoldStateContext]
|
|
9155
|
+
attr_accessor :on_hold_state_context
|
|
9156
|
+
|
|
9090
9157
|
# Information specific to an out of app purchase.
|
|
9091
9158
|
# Corresponds to the JSON property `outOfAppPurchaseContext`
|
|
9092
9159
|
# @return [Google::Apis::AndroidpublisherV3::OutOfAppPurchaseContext]
|
|
@@ -9134,10 +9201,12 @@ module Google
|
|
|
9134
9201
|
@canceled_state_context = args[:canceled_state_context] if args.key?(:canceled_state_context)
|
|
9135
9202
|
@etag = args[:etag] if args.key?(:etag)
|
|
9136
9203
|
@external_account_identifiers = args[:external_account_identifiers] if args.key?(:external_account_identifiers)
|
|
9204
|
+
@in_grace_period_state_context = args[:in_grace_period_state_context] if args.key?(:in_grace_period_state_context)
|
|
9137
9205
|
@kind = args[:kind] if args.key?(:kind)
|
|
9138
9206
|
@latest_order_id = args[:latest_order_id] if args.key?(:latest_order_id)
|
|
9139
9207
|
@line_items = args[:line_items] if args.key?(:line_items)
|
|
9140
9208
|
@linked_purchase_token = args[:linked_purchase_token] if args.key?(:linked_purchase_token)
|
|
9209
|
+
@on_hold_state_context = args[:on_hold_state_context] if args.key?(:on_hold_state_context)
|
|
9141
9210
|
@out_of_app_purchase_context = args[:out_of_app_purchase_context] if args.key?(:out_of_app_purchase_context)
|
|
9142
9211
|
@paused_state_context = args[:paused_state_context] if args.key?(:paused_state_context)
|
|
9143
9212
|
@region_code = args[:region_code] if args.key?(:region_code)
|
|
@@ -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.101.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260519"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -850,6 +850,12 @@ module Google
|
|
|
850
850
|
include Google::Apis::Core::JsonObjectSupport
|
|
851
851
|
end
|
|
852
852
|
|
|
853
|
+
class InGracePeriodStateContext
|
|
854
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
855
|
+
|
|
856
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
857
|
+
end
|
|
858
|
+
|
|
853
859
|
class InappproductsBatchDeleteRequest
|
|
854
860
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
855
861
|
|
|
@@ -1090,6 +1096,12 @@ module Google
|
|
|
1090
1096
|
include Google::Apis::Core::JsonObjectSupport
|
|
1091
1097
|
end
|
|
1092
1098
|
|
|
1099
|
+
class OnHoldStateContext
|
|
1100
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1101
|
+
|
|
1102
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1103
|
+
end
|
|
1104
|
+
|
|
1093
1105
|
class OneTimeCode
|
|
1094
1106
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1095
1107
|
|
|
@@ -1492,6 +1504,12 @@ module Google
|
|
|
1492
1504
|
include Google::Apis::Core::JsonObjectSupport
|
|
1493
1505
|
end
|
|
1494
1506
|
|
|
1507
|
+
class RenewalDeclinedContext
|
|
1508
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1509
|
+
|
|
1510
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1511
|
+
end
|
|
1512
|
+
|
|
1495
1513
|
class RentOfferDetails
|
|
1496
1514
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1497
1515
|
|
|
@@ -3303,6 +3321,14 @@ module Google
|
|
|
3303
3321
|
end
|
|
3304
3322
|
end
|
|
3305
3323
|
|
|
3324
|
+
class InGracePeriodStateContext
|
|
3325
|
+
# @private
|
|
3326
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3327
|
+
property :renewal_declined, as: 'renewalDeclined', class: Google::Apis::AndroidpublisherV3::RenewalDeclinedContext, decorator: Google::Apis::AndroidpublisherV3::RenewalDeclinedContext::Representation
|
|
3328
|
+
|
|
3329
|
+
end
|
|
3330
|
+
end
|
|
3331
|
+
|
|
3306
3332
|
class InappproductsBatchDeleteRequest
|
|
3307
3333
|
# @private
|
|
3308
3334
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3697,6 +3723,14 @@ module Google
|
|
|
3697
3723
|
end
|
|
3698
3724
|
end
|
|
3699
3725
|
|
|
3726
|
+
class OnHoldStateContext
|
|
3727
|
+
# @private
|
|
3728
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3729
|
+
property :renewal_declined, as: 'renewalDeclined', class: Google::Apis::AndroidpublisherV3::RenewalDeclinedContext, decorator: Google::Apis::AndroidpublisherV3::RenewalDeclinedContext::Representation
|
|
3730
|
+
|
|
3731
|
+
end
|
|
3732
|
+
end
|
|
3733
|
+
|
|
3700
3734
|
class OneTimeCode
|
|
3701
3735
|
# @private
|
|
3702
3736
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -4371,6 +4405,13 @@ module Google
|
|
|
4371
4405
|
end
|
|
4372
4406
|
end
|
|
4373
4407
|
|
|
4408
|
+
class RenewalDeclinedContext
|
|
4409
|
+
# @private
|
|
4410
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
4411
|
+
property :pending_order_id, as: 'pendingOrderId'
|
|
4412
|
+
end
|
|
4413
|
+
end
|
|
4414
|
+
|
|
4374
4415
|
class RentOfferDetails
|
|
4375
4416
|
# @private
|
|
4376
4417
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -4773,11 +4814,15 @@ module Google
|
|
|
4773
4814
|
property :etag, as: 'etag'
|
|
4774
4815
|
property :external_account_identifiers, as: 'externalAccountIdentifiers', class: Google::Apis::AndroidpublisherV3::ExternalAccountIdentifiers, decorator: Google::Apis::AndroidpublisherV3::ExternalAccountIdentifiers::Representation
|
|
4775
4816
|
|
|
4817
|
+
property :in_grace_period_state_context, as: 'inGracePeriodStateContext', class: Google::Apis::AndroidpublisherV3::InGracePeriodStateContext, decorator: Google::Apis::AndroidpublisherV3::InGracePeriodStateContext::Representation
|
|
4818
|
+
|
|
4776
4819
|
property :kind, as: 'kind'
|
|
4777
4820
|
property :latest_order_id, as: 'latestOrderId'
|
|
4778
4821
|
collection :line_items, as: 'lineItems', class: Google::Apis::AndroidpublisherV3::SubscriptionPurchaseLineItem, decorator: Google::Apis::AndroidpublisherV3::SubscriptionPurchaseLineItem::Representation
|
|
4779
4822
|
|
|
4780
4823
|
property :linked_purchase_token, as: 'linkedPurchaseToken'
|
|
4824
|
+
property :on_hold_state_context, as: 'onHoldStateContext', class: Google::Apis::AndroidpublisherV3::OnHoldStateContext, decorator: Google::Apis::AndroidpublisherV3::OnHoldStateContext::Representation
|
|
4825
|
+
|
|
4781
4826
|
property :out_of_app_purchase_context, as: 'outOfAppPurchaseContext', class: Google::Apis::AndroidpublisherV3::OutOfAppPurchaseContext, decorator: Google::Apis::AndroidpublisherV3::OutOfAppPurchaseContext::Representation
|
|
4782
4827
|
|
|
4783
4828
|
property :paused_state_context, as: 'pausedStateContext', class: Google::Apis::AndroidpublisherV3::PausedStateContext, decorator: Google::Apis::AndroidpublisherV3::PausedStateContext::Representation
|
|
@@ -4670,9 +4670,10 @@ module Google
|
|
|
4670
4670
|
execute_or_queue_command(command, &block)
|
|
4671
4671
|
end
|
|
4672
4672
|
|
|
4673
|
-
# Cancels a user's
|
|
4674
|
-
#
|
|
4675
|
-
#
|
|
4673
|
+
# Deprecated: Use purchases.subscriptionsv2.cancel instead. Cancels a user's
|
|
4674
|
+
# subscription purchase. The subscription remains valid until its expiration
|
|
4675
|
+
# time. Newer version is available at purchases.subscriptionsv2.cancel for
|
|
4676
|
+
# better client library support.
|
|
4676
4677
|
# @param [String] package_name
|
|
4677
4678
|
# The package name of the application for which this subscription was purchased (
|
|
4678
4679
|
# for example, 'com.some.thing').
|
|
@@ -4709,7 +4710,8 @@ module Google
|
|
|
4709
4710
|
execute_or_queue_command(command, &block)
|
|
4710
4711
|
end
|
|
4711
4712
|
|
|
4712
|
-
# Defers a user's
|
|
4713
|
+
# Deprecated: Use purchases.subscriptionsv2.defer instead. Defers a user's
|
|
4714
|
+
# subscription purchase until a specified future expiration time.
|
|
4713
4715
|
# @param [String] package_name
|
|
4714
4716
|
# The package name of the application for which this subscription was purchased (
|
|
4715
4717
|
# for example, 'com.some.thing').
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.101.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidpublisher_v3/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.101.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidpublisher_v3
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|