google-apis-androidpublisher_v3 0.80.0 → 0.82.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 +9 -0
- data/lib/google/apis/androidpublisher_v3/classes.rb +247 -13
- data/lib/google/apis/androidpublisher_v3/gem_version.rb +3 -3
- data/lib/google/apis/androidpublisher_v3/representations.rb +100 -0
- data/lib/google/apis/androidpublisher_v3/service.rb +68 -34
- 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: 4346823f69728751af3a0a8d1a7a9820173846a1bb41eddf0f31c4091ee15b77
|
4
|
+
data.tar.gz: 9fe16fb9dc6be6ec524e30187a2a0ead7259aaa3437e7f9713503f14f5dbad0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 580c58d6ec82c3aeba2452089cd1d22700d52af152513a12e6f2d25b7d31a8cbe235a56741bf6542f61d3b3ace6926a06043353e76c4798df9916bfd1a0f8705
|
7
|
+
data.tar.gz: '018f80da3bc1891e1829b746a2e01a8489f1b75febada760f8ee6d88b69a77ea8488b350804e0dafe9d5408fca495e064e3a9dc6a89921683f39f7ece9fb0f26'
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-androidpublisher_v3
|
2
2
|
|
3
|
+
### v0.82.0 (2025-07-06)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250701
|
6
|
+
|
7
|
+
### v0.81.0 (2025-06-01)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250529
|
10
|
+
* Regenerated using generator version 0.18.0
|
11
|
+
|
3
12
|
### v0.80.0 (2025-05-21)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20250520
|
@@ -3020,7 +3020,7 @@ module Google
|
|
3020
3020
|
# @return [String]
|
3021
3021
|
attr_accessor :subscription_period
|
3022
3022
|
|
3023
|
-
# Details about taxation, Google Play policy and legal compliance for
|
3023
|
+
# Details about taxation, Google Play policy, and legal compliance for
|
3024
3024
|
# subscription products.
|
3025
3025
|
# Corresponds to the JSON property `subscriptionTaxesAndComplianceSettings`
|
3026
3026
|
# @return [Google::Apis::AndroidpublisherV3::SubscriptionTaxAndComplianceSettings]
|
@@ -4767,6 +4767,94 @@ module Google
|
|
4767
4767
|
end
|
4768
4768
|
end
|
4769
4769
|
|
4770
|
+
# Contains item-level info for a ProductPurchaseV2.
|
4771
|
+
class ProductLineItem
|
4772
|
+
include Google::Apis::Core::Hashable
|
4773
|
+
|
4774
|
+
# The purchased product ID (for example, 'monthly001').
|
4775
|
+
# Corresponds to the JSON property `productId`
|
4776
|
+
# @return [String]
|
4777
|
+
attr_accessor :product_id
|
4778
|
+
|
4779
|
+
# Offer details information related to a purchase line item.
|
4780
|
+
# Corresponds to the JSON property `productOfferDetails`
|
4781
|
+
# @return [Google::Apis::AndroidpublisherV3::ProductOfferDetails]
|
4782
|
+
attr_accessor :product_offer_details
|
4783
|
+
|
4784
|
+
def initialize(**args)
|
4785
|
+
update!(**args)
|
4786
|
+
end
|
4787
|
+
|
4788
|
+
# Update properties of this object
|
4789
|
+
def update!(**args)
|
4790
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
4791
|
+
@product_offer_details = args[:product_offer_details] if args.key?(:product_offer_details)
|
4792
|
+
end
|
4793
|
+
end
|
4794
|
+
|
4795
|
+
# Offer details information related to a purchase line item.
|
4796
|
+
class ProductOfferDetails
|
4797
|
+
include Google::Apis::Core::Hashable
|
4798
|
+
|
4799
|
+
# Output only. The consumption state of the purchase.
|
4800
|
+
# Corresponds to the JSON property `consumptionState`
|
4801
|
+
# @return [String]
|
4802
|
+
attr_accessor :consumption_state
|
4803
|
+
|
4804
|
+
# The offer ID. Only present for offers.
|
4805
|
+
# Corresponds to the JSON property `offerId`
|
4806
|
+
# @return [String]
|
4807
|
+
attr_accessor :offer_id
|
4808
|
+
|
4809
|
+
# The latest offer tags associated with the offer. It includes tags inherited
|
4810
|
+
# from the purchase option.
|
4811
|
+
# Corresponds to the JSON property `offerTags`
|
4812
|
+
# @return [Array<String>]
|
4813
|
+
attr_accessor :offer_tags
|
4814
|
+
|
4815
|
+
# The per-transaction offer token used to make this purchase line item.
|
4816
|
+
# Corresponds to the JSON property `offerToken`
|
4817
|
+
# @return [String]
|
4818
|
+
attr_accessor :offer_token
|
4819
|
+
|
4820
|
+
# The purchase option ID.
|
4821
|
+
# Corresponds to the JSON property `purchaseOptionId`
|
4822
|
+
# @return [String]
|
4823
|
+
attr_accessor :purchase_option_id
|
4824
|
+
|
4825
|
+
# The quantity associated with the purchase of the inapp product.
|
4826
|
+
# Corresponds to the JSON property `quantity`
|
4827
|
+
# @return [Fixnum]
|
4828
|
+
attr_accessor :quantity
|
4829
|
+
|
4830
|
+
# The quantity eligible for refund, i.e. quantity that hasn't been refunded. The
|
4831
|
+
# value reflects quantity-based partial refunds and full refunds.
|
4832
|
+
# Corresponds to the JSON property `refundableQuantity`
|
4833
|
+
# @return [Fixnum]
|
4834
|
+
attr_accessor :refundable_quantity
|
4835
|
+
|
4836
|
+
# Offer details information related to a rental line item.
|
4837
|
+
# Corresponds to the JSON property `rentOfferDetails`
|
4838
|
+
# @return [Google::Apis::AndroidpublisherV3::RentOfferDetails]
|
4839
|
+
attr_accessor :rent_offer_details
|
4840
|
+
|
4841
|
+
def initialize(**args)
|
4842
|
+
update!(**args)
|
4843
|
+
end
|
4844
|
+
|
4845
|
+
# Update properties of this object
|
4846
|
+
def update!(**args)
|
4847
|
+
@consumption_state = args[:consumption_state] if args.key?(:consumption_state)
|
4848
|
+
@offer_id = args[:offer_id] if args.key?(:offer_id)
|
4849
|
+
@offer_tags = args[:offer_tags] if args.key?(:offer_tags)
|
4850
|
+
@offer_token = args[:offer_token] if args.key?(:offer_token)
|
4851
|
+
@purchase_option_id = args[:purchase_option_id] if args.key?(:purchase_option_id)
|
4852
|
+
@quantity = args[:quantity] if args.key?(:quantity)
|
4853
|
+
@refundable_quantity = args[:refundable_quantity] if args.key?(:refundable_quantity)
|
4854
|
+
@rent_offer_details = args[:rent_offer_details] if args.key?(:rent_offer_details)
|
4855
|
+
end
|
4856
|
+
end
|
4857
|
+
|
4770
4858
|
# A ProductPurchase resource indicates the status of a user's inapp product
|
4771
4859
|
# purchase.
|
4772
4860
|
class ProductPurchase
|
@@ -4889,6 +4977,94 @@ module Google
|
|
4889
4977
|
end
|
4890
4978
|
end
|
4891
4979
|
|
4980
|
+
# A ProductPurchaseV2 resource indicates the status of a user's inapp product
|
4981
|
+
# purchase.
|
4982
|
+
class ProductPurchaseV2
|
4983
|
+
include Google::Apis::Core::Hashable
|
4984
|
+
|
4985
|
+
# Output only. The acknowledgement state of the purchase.
|
4986
|
+
# Corresponds to the JSON property `acknowledgementState`
|
4987
|
+
# @return [String]
|
4988
|
+
attr_accessor :acknowledgement_state
|
4989
|
+
|
4990
|
+
# This kind represents a ProductPurchaseV2 object in the androidpublisher
|
4991
|
+
# service.
|
4992
|
+
# Corresponds to the JSON property `kind`
|
4993
|
+
# @return [String]
|
4994
|
+
attr_accessor :kind
|
4995
|
+
|
4996
|
+
# An obfuscated version of the id that is uniquely associated with the user's
|
4997
|
+
# account in your app. Only present if specified using https://developer.android.
|
4998
|
+
# com/reference/com/android/billingclient/api/BillingFlowParams.Builder#
|
4999
|
+
# setobfuscatedaccountid when the purchase was made.
|
5000
|
+
# Corresponds to the JSON property `obfuscatedExternalAccountId`
|
5001
|
+
# @return [String]
|
5002
|
+
attr_accessor :obfuscated_external_account_id
|
5003
|
+
|
5004
|
+
# An obfuscated version of the id that is uniquely associated with the user's
|
5005
|
+
# profile in your app. Only present if specified using https://developer.android.
|
5006
|
+
# com/reference/com/android/billingclient/api/BillingFlowParams.Builder#
|
5007
|
+
# setobfuscatedprofileid when the purchase was made.
|
5008
|
+
# Corresponds to the JSON property `obfuscatedExternalProfileId`
|
5009
|
+
# @return [String]
|
5010
|
+
attr_accessor :obfuscated_external_profile_id
|
5011
|
+
|
5012
|
+
# The order id associated with the purchase of the inapp product. May not be set
|
5013
|
+
# if there is no order associated with the purchase.
|
5014
|
+
# Corresponds to the JSON property `orderId`
|
5015
|
+
# @return [String]
|
5016
|
+
attr_accessor :order_id
|
5017
|
+
|
5018
|
+
# Contains item-level info for a ProductPurchaseV2.
|
5019
|
+
# Corresponds to the JSON property `productLineItem`
|
5020
|
+
# @return [Array<Google::Apis::AndroidpublisherV3::ProductLineItem>]
|
5021
|
+
attr_accessor :product_line_item
|
5022
|
+
|
5023
|
+
# The time when the purchase was successful, i.e., when the PurchaseState has
|
5024
|
+
# changed to PURCHASED. This field will not be present until the payment is
|
5025
|
+
# complete. For example, if the user initiated a pending transaction (https://
|
5026
|
+
# developer.android.com/google/play/billing/integrate#pending), this field will
|
5027
|
+
# not be populated until the user successfully completes the steps required to
|
5028
|
+
# complete the transaction.
|
5029
|
+
# Corresponds to the JSON property `purchaseCompletionTime`
|
5030
|
+
# @return [String]
|
5031
|
+
attr_accessor :purchase_completion_time
|
5032
|
+
|
5033
|
+
# Context about the purchase state.
|
5034
|
+
# Corresponds to the JSON property `purchaseStateContext`
|
5035
|
+
# @return [Google::Apis::AndroidpublisherV3::PurchaseStateContext]
|
5036
|
+
attr_accessor :purchase_state_context
|
5037
|
+
|
5038
|
+
# ISO 3166-1 alpha-2 billing region code of the user at the time the product was
|
5039
|
+
# granted.
|
5040
|
+
# Corresponds to the JSON property `regionCode`
|
5041
|
+
# @return [String]
|
5042
|
+
attr_accessor :region_code
|
5043
|
+
|
5044
|
+
# Context about a test purchase.
|
5045
|
+
# Corresponds to the JSON property `testPurchaseContext`
|
5046
|
+
# @return [Google::Apis::AndroidpublisherV3::TestPurchaseContext]
|
5047
|
+
attr_accessor :test_purchase_context
|
5048
|
+
|
5049
|
+
def initialize(**args)
|
5050
|
+
update!(**args)
|
5051
|
+
end
|
5052
|
+
|
5053
|
+
# Update properties of this object
|
5054
|
+
def update!(**args)
|
5055
|
+
@acknowledgement_state = args[:acknowledgement_state] if args.key?(:acknowledgement_state)
|
5056
|
+
@kind = args[:kind] if args.key?(:kind)
|
5057
|
+
@obfuscated_external_account_id = args[:obfuscated_external_account_id] if args.key?(:obfuscated_external_account_id)
|
5058
|
+
@obfuscated_external_profile_id = args[:obfuscated_external_profile_id] if args.key?(:obfuscated_external_profile_id)
|
5059
|
+
@order_id = args[:order_id] if args.key?(:order_id)
|
5060
|
+
@product_line_item = args[:product_line_item] if args.key?(:product_line_item)
|
5061
|
+
@purchase_completion_time = args[:purchase_completion_time] if args.key?(:purchase_completion_time)
|
5062
|
+
@purchase_state_context = args[:purchase_state_context] if args.key?(:purchase_state_context)
|
5063
|
+
@region_code = args[:region_code] if args.key?(:region_code)
|
5064
|
+
@test_purchase_context = args[:test_purchase_context] if args.key?(:test_purchase_context)
|
5065
|
+
end
|
5066
|
+
end
|
5067
|
+
|
4892
5068
|
# Request for the product.purchases.acknowledge API.
|
4893
5069
|
class ProductPurchasesAcknowledgeRequest
|
4894
5070
|
include Google::Apis::Core::Hashable
|
@@ -4908,6 +5084,25 @@ module Google
|
|
4908
5084
|
end
|
4909
5085
|
end
|
4910
5086
|
|
5087
|
+
# Context about the purchase state.
|
5088
|
+
class PurchaseStateContext
|
5089
|
+
include Google::Apis::Core::Hashable
|
5090
|
+
|
5091
|
+
# Output only. The purchase state of the purchase.
|
5092
|
+
# Corresponds to the JSON property `purchaseState`
|
5093
|
+
# @return [String]
|
5094
|
+
attr_accessor :purchase_state
|
5095
|
+
|
5096
|
+
def initialize(**args)
|
5097
|
+
update!(**args)
|
5098
|
+
end
|
5099
|
+
|
5100
|
+
# Update properties of this object
|
5101
|
+
def update!(**args)
|
5102
|
+
@purchase_state = args[:purchase_state] if args.key?(:purchase_state)
|
5103
|
+
end
|
5104
|
+
end
|
5105
|
+
|
4911
5106
|
# Represents a transaction that is part of a recurring series of payments. This
|
4912
5107
|
# can be a subscription or a one-time product with multiple payments (such as
|
4913
5108
|
# preorder).
|
@@ -5278,14 +5473,13 @@ module Google
|
|
5278
5473
|
include Google::Apis::Core::Hashable
|
5279
5474
|
|
5280
5475
|
# Required. A string representing the version of available regions being used
|
5281
|
-
# for the specified resource. Regional prices
|
5282
|
-
# specified according to the information published in [
|
5283
|
-
# support.google.com/googleplay/android-developer/answer/
|
5284
|
-
# the supported locations substantially change, the version
|
5285
|
-
#
|
5286
|
-
#
|
5287
|
-
#
|
5288
|
-
# new version is available.
|
5476
|
+
# for the specified resource. Regional prices and latest supported version for
|
5477
|
+
# the resource have to be specified according to the information published in [
|
5478
|
+
# this article](https://support.google.com/googleplay/android-developer/answer/
|
5479
|
+
# 10532353). Each time the supported locations substantially change, the version
|
5480
|
+
# will be incremented. Using this field will ensure that creating and updating
|
5481
|
+
# the resource with an older region's version and set of regional prices and
|
5482
|
+
# currencies will succeed even though a new version is available.
|
5289
5483
|
# Corresponds to the JSON property `version`
|
5290
5484
|
# @return [String]
|
5291
5485
|
attr_accessor :version
|
@@ -5372,6 +5566,19 @@ module Google
|
|
5372
5566
|
end
|
5373
5567
|
end
|
5374
5568
|
|
5569
|
+
# Offer details information related to a rental line item.
|
5570
|
+
class RentOfferDetails
|
5571
|
+
include Google::Apis::Core::Hashable
|
5572
|
+
|
5573
|
+
def initialize(**args)
|
5574
|
+
update!(**args)
|
5575
|
+
end
|
5576
|
+
|
5577
|
+
# Update properties of this object
|
5578
|
+
def update!(**args)
|
5579
|
+
end
|
5580
|
+
end
|
5581
|
+
|
5375
5582
|
# Information specific to cancellations caused by subscription replacement.
|
5376
5583
|
class ReplacementCancellation
|
5377
5584
|
include Google::Apis::Core::Hashable
|
@@ -5596,8 +5803,8 @@ module Google
|
|
5596
5803
|
class RevocationContextItemBasedRefund
|
5597
5804
|
include Google::Apis::Core::Hashable
|
5598
5805
|
|
5599
|
-
# Required. If the subscription is a subscription
|
5600
|
-
# subscription to revoke.
|
5806
|
+
# Required. If the subscription is a subscription with add-ons, the product id
|
5807
|
+
# of the subscription item to revoke.
|
5601
5808
|
# Corresponds to the JSON property `productId`
|
5602
5809
|
# @return [String]
|
5603
5810
|
attr_accessor :product_id
|
@@ -5980,7 +6187,7 @@ module Google
|
|
5980
6187
|
# @return [Google::Apis::AndroidpublisherV3::RestrictedPaymentCountries]
|
5981
6188
|
attr_accessor :restricted_payment_countries
|
5982
6189
|
|
5983
|
-
# Details about taxation, Google Play policy and legal compliance for
|
6190
|
+
# Details about taxation, Google Play policy, and legal compliance for
|
5984
6191
|
# subscription products.
|
5985
6192
|
# Corresponds to the JSON property `taxAndComplianceSettings`
|
5986
6193
|
# @return [Google::Apis::AndroidpublisherV3::SubscriptionTaxAndComplianceSettings]
|
@@ -6635,6 +6842,13 @@ module Google
|
|
6635
6842
|
# @return [String]
|
6636
6843
|
attr_accessor :expiry_time
|
6637
6844
|
|
6845
|
+
# The order id of the latest successful order associated with this item. Not
|
6846
|
+
# present if the item is not owned by the user yet (e.g. the item being deferred
|
6847
|
+
# replaced to).
|
6848
|
+
# Corresponds to the JSON property `latestSuccessfulOrderId`
|
6849
|
+
# @return [String]
|
6850
|
+
attr_accessor :latest_successful_order_id
|
6851
|
+
|
6638
6852
|
# Offer details information related to a purchase line item.
|
6639
6853
|
# Corresponds to the JSON property `offerDetails`
|
6640
6854
|
# @return [Google::Apis::AndroidpublisherV3::OfferDetails]
|
@@ -6664,6 +6878,7 @@ module Google
|
|
6664
6878
|
@auto_renewing_plan = args[:auto_renewing_plan] if args.key?(:auto_renewing_plan)
|
6665
6879
|
@deferred_item_replacement = args[:deferred_item_replacement] if args.key?(:deferred_item_replacement)
|
6666
6880
|
@expiry_time = args[:expiry_time] if args.key?(:expiry_time)
|
6881
|
+
@latest_successful_order_id = args[:latest_successful_order_id] if args.key?(:latest_successful_order_id)
|
6667
6882
|
@offer_details = args[:offer_details] if args.key?(:offer_details)
|
6668
6883
|
@prepaid_plan = args[:prepaid_plan] if args.key?(:prepaid_plan)
|
6669
6884
|
@product_id = args[:product_id] if args.key?(:product_id)
|
@@ -6834,7 +7049,7 @@ module Google
|
|
6834
7049
|
end
|
6835
7050
|
end
|
6836
7051
|
|
6837
|
-
# Details about taxation, Google Play policy and legal compliance for
|
7052
|
+
# Details about taxation, Google Play policy, and legal compliance for
|
6838
7053
|
# subscription products.
|
6839
7054
|
class SubscriptionTaxAndComplianceSettings
|
6840
7055
|
include Google::Apis::Core::Hashable
|
@@ -7170,6 +7385,25 @@ module Google
|
|
7170
7385
|
end
|
7171
7386
|
end
|
7172
7387
|
|
7388
|
+
# Context about a test purchase.
|
7389
|
+
class TestPurchaseContext
|
7390
|
+
include Google::Apis::Core::Hashable
|
7391
|
+
|
7392
|
+
# The fop type of the test purchase.
|
7393
|
+
# Corresponds to the JSON property `fopType`
|
7394
|
+
# @return [String]
|
7395
|
+
attr_accessor :fop_type
|
7396
|
+
|
7397
|
+
def initialize(**args)
|
7398
|
+
update!(**args)
|
7399
|
+
end
|
7400
|
+
|
7401
|
+
# Update properties of this object
|
7402
|
+
def update!(**args)
|
7403
|
+
@fop_type = args[:fop_type] if args.key?(:fop_type)
|
7404
|
+
end
|
7405
|
+
end
|
7406
|
+
|
7173
7407
|
# The testers of an app. The resource for TestersService. Note: while it is
|
7174
7408
|
# possible in the Play Console UI to add testers via email lists, email lists
|
7175
7409
|
# are not supported by this resource.
|
@@ -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.82.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250701"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -952,18 +952,42 @@ module Google
|
|
952
952
|
include Google::Apis::Core::JsonObjectSupport
|
953
953
|
end
|
954
954
|
|
955
|
+
class ProductLineItem
|
956
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
957
|
+
|
958
|
+
include Google::Apis::Core::JsonObjectSupport
|
959
|
+
end
|
960
|
+
|
961
|
+
class ProductOfferDetails
|
962
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
963
|
+
|
964
|
+
include Google::Apis::Core::JsonObjectSupport
|
965
|
+
end
|
966
|
+
|
955
967
|
class ProductPurchase
|
956
968
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
957
969
|
|
958
970
|
include Google::Apis::Core::JsonObjectSupport
|
959
971
|
end
|
960
972
|
|
973
|
+
class ProductPurchaseV2
|
974
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
975
|
+
|
976
|
+
include Google::Apis::Core::JsonObjectSupport
|
977
|
+
end
|
978
|
+
|
961
979
|
class ProductPurchasesAcknowledgeRequest
|
962
980
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
963
981
|
|
964
982
|
include Google::Apis::Core::JsonObjectSupport
|
965
983
|
end
|
966
984
|
|
985
|
+
class PurchaseStateContext
|
986
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
987
|
+
|
988
|
+
include Google::Apis::Core::JsonObjectSupport
|
989
|
+
end
|
990
|
+
|
967
991
|
class RecurringExternalTransaction
|
968
992
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
969
993
|
|
@@ -1054,6 +1078,12 @@ module Google
|
|
1054
1078
|
include Google::Apis::Core::JsonObjectSupport
|
1055
1079
|
end
|
1056
1080
|
|
1081
|
+
class RentOfferDetails
|
1082
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1083
|
+
|
1084
|
+
include Google::Apis::Core::JsonObjectSupport
|
1085
|
+
end
|
1086
|
+
|
1057
1087
|
class ReplacementCancellation
|
1058
1088
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1059
1089
|
|
@@ -1372,6 +1402,12 @@ module Google
|
|
1372
1402
|
include Google::Apis::Core::JsonObjectSupport
|
1373
1403
|
end
|
1374
1404
|
|
1405
|
+
class TestPurchaseContext
|
1406
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1407
|
+
|
1408
|
+
include Google::Apis::Core::JsonObjectSupport
|
1409
|
+
end
|
1410
|
+
|
1375
1411
|
class Testers
|
1376
1412
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1377
1413
|
|
@@ -3025,6 +3061,30 @@ module Google
|
|
3025
3061
|
end
|
3026
3062
|
end
|
3027
3063
|
|
3064
|
+
class ProductLineItem
|
3065
|
+
# @private
|
3066
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3067
|
+
property :product_id, as: 'productId'
|
3068
|
+
property :product_offer_details, as: 'productOfferDetails', class: Google::Apis::AndroidpublisherV3::ProductOfferDetails, decorator: Google::Apis::AndroidpublisherV3::ProductOfferDetails::Representation
|
3069
|
+
|
3070
|
+
end
|
3071
|
+
end
|
3072
|
+
|
3073
|
+
class ProductOfferDetails
|
3074
|
+
# @private
|
3075
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3076
|
+
property :consumption_state, as: 'consumptionState'
|
3077
|
+
property :offer_id, as: 'offerId'
|
3078
|
+
collection :offer_tags, as: 'offerTags'
|
3079
|
+
property :offer_token, as: 'offerToken'
|
3080
|
+
property :purchase_option_id, as: 'purchaseOptionId'
|
3081
|
+
property :quantity, as: 'quantity'
|
3082
|
+
property :refundable_quantity, as: 'refundableQuantity'
|
3083
|
+
property :rent_offer_details, as: 'rentOfferDetails', class: Google::Apis::AndroidpublisherV3::RentOfferDetails, decorator: Google::Apis::AndroidpublisherV3::RentOfferDetails::Representation
|
3084
|
+
|
3085
|
+
end
|
3086
|
+
end
|
3087
|
+
|
3028
3088
|
class ProductPurchase
|
3029
3089
|
# @private
|
3030
3090
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3046,6 +3106,25 @@ module Google
|
|
3046
3106
|
end
|
3047
3107
|
end
|
3048
3108
|
|
3109
|
+
class ProductPurchaseV2
|
3110
|
+
# @private
|
3111
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3112
|
+
property :acknowledgement_state, as: 'acknowledgementState'
|
3113
|
+
property :kind, as: 'kind'
|
3114
|
+
property :obfuscated_external_account_id, as: 'obfuscatedExternalAccountId'
|
3115
|
+
property :obfuscated_external_profile_id, as: 'obfuscatedExternalProfileId'
|
3116
|
+
property :order_id, as: 'orderId'
|
3117
|
+
collection :product_line_item, as: 'productLineItem', class: Google::Apis::AndroidpublisherV3::ProductLineItem, decorator: Google::Apis::AndroidpublisherV3::ProductLineItem::Representation
|
3118
|
+
|
3119
|
+
property :purchase_completion_time, as: 'purchaseCompletionTime'
|
3120
|
+
property :purchase_state_context, as: 'purchaseStateContext', class: Google::Apis::AndroidpublisherV3::PurchaseStateContext, decorator: Google::Apis::AndroidpublisherV3::PurchaseStateContext::Representation
|
3121
|
+
|
3122
|
+
property :region_code, as: 'regionCode'
|
3123
|
+
property :test_purchase_context, as: 'testPurchaseContext', class: Google::Apis::AndroidpublisherV3::TestPurchaseContext, decorator: Google::Apis::AndroidpublisherV3::TestPurchaseContext::Representation
|
3124
|
+
|
3125
|
+
end
|
3126
|
+
end
|
3127
|
+
|
3049
3128
|
class ProductPurchasesAcknowledgeRequest
|
3050
3129
|
# @private
|
3051
3130
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3053,6 +3132,13 @@ module Google
|
|
3053
3132
|
end
|
3054
3133
|
end
|
3055
3134
|
|
3135
|
+
class PurchaseStateContext
|
3136
|
+
# @private
|
3137
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3138
|
+
property :purchase_state, as: 'purchaseState'
|
3139
|
+
end
|
3140
|
+
end
|
3141
|
+
|
3056
3142
|
class RecurringExternalTransaction
|
3057
3143
|
# @private
|
3058
3144
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3191,6 +3277,12 @@ module Google
|
|
3191
3277
|
end
|
3192
3278
|
end
|
3193
3279
|
|
3280
|
+
class RentOfferDetails
|
3281
|
+
# @private
|
3282
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3283
|
+
end
|
3284
|
+
end
|
3285
|
+
|
3194
3286
|
class ReplacementCancellation
|
3195
3287
|
# @private
|
3196
3288
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3553,6 +3645,7 @@ module Google
|
|
3553
3645
|
property :deferred_item_replacement, as: 'deferredItemReplacement', class: Google::Apis::AndroidpublisherV3::DeferredItemReplacement, decorator: Google::Apis::AndroidpublisherV3::DeferredItemReplacement::Representation
|
3554
3646
|
|
3555
3647
|
property :expiry_time, as: 'expiryTime'
|
3648
|
+
property :latest_successful_order_id, as: 'latestSuccessfulOrderId'
|
3556
3649
|
property :offer_details, as: 'offerDetails', class: Google::Apis::AndroidpublisherV3::OfferDetails, decorator: Google::Apis::AndroidpublisherV3::OfferDetails::Representation
|
3557
3650
|
|
3558
3651
|
property :prepaid_plan, as: 'prepaidPlan', class: Google::Apis::AndroidpublisherV3::PrepaidPlan, decorator: Google::Apis::AndroidpublisherV3::PrepaidPlan::Representation
|
@@ -3726,6 +3819,13 @@ module Google
|
|
3726
3819
|
end
|
3727
3820
|
end
|
3728
3821
|
|
3822
|
+
class TestPurchaseContext
|
3823
|
+
# @private
|
3824
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3825
|
+
property :fop_type, as: 'fopType'
|
3826
|
+
end
|
3827
|
+
end
|
3828
|
+
|
3729
3829
|
class Testers
|
3730
3830
|
# @private
|
3731
3831
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2707,14 +2707,13 @@ module Google
|
|
2707
2707
|
# resource.
|
2708
2708
|
# @param [String] regions_version_version
|
2709
2709
|
# Required. A string representing the version of available regions being used
|
2710
|
-
# for the specified resource. Regional prices
|
2711
|
-
# specified according to the information published in [
|
2712
|
-
# support.google.com/googleplay/android-developer/answer/
|
2713
|
-
# the supported locations substantially change, the version
|
2714
|
-
#
|
2715
|
-
#
|
2716
|
-
#
|
2717
|
-
# new version is available.
|
2710
|
+
# for the specified resource. Regional prices and latest supported version for
|
2711
|
+
# the resource have to be specified according to the information published in [
|
2712
|
+
# this article](https://support.google.com/googleplay/android-developer/answer/
|
2713
|
+
# 10532353). Each time the supported locations substantially change, the version
|
2714
|
+
# will be incremented. Using this field will ensure that creating and updating
|
2715
|
+
# the resource with an older region's version and set of regional prices and
|
2716
|
+
# currencies will succeed even though a new version is available.
|
2718
2717
|
# @param [String] fields
|
2719
2718
|
# Selector specifying which fields to include in a partial response.
|
2720
2719
|
# @param [String] quota_user
|
@@ -2875,14 +2874,13 @@ module Google
|
|
2875
2874
|
# Defaults to latency-sensitive.
|
2876
2875
|
# @param [String] regions_version_version
|
2877
2876
|
# Required. A string representing the version of available regions being used
|
2878
|
-
# for the specified resource. Regional prices
|
2879
|
-
# specified according to the information published in [
|
2880
|
-
# support.google.com/googleplay/android-developer/answer/
|
2881
|
-
# the supported locations substantially change, the version
|
2882
|
-
#
|
2883
|
-
#
|
2884
|
-
#
|
2885
|
-
# new version is available.
|
2877
|
+
# for the specified resource. Regional prices and latest supported version for
|
2878
|
+
# the resource have to be specified according to the information published in [
|
2879
|
+
# this article](https://support.google.com/googleplay/android-developer/answer/
|
2880
|
+
# 10532353). Each time the supported locations substantially change, the version
|
2881
|
+
# will be incremented. Using this field will ensure that creating and updating
|
2882
|
+
# the resource with an older region's version and set of regional prices and
|
2883
|
+
# currencies will succeed even though a new version is available.
|
2886
2884
|
# @param [String] update_mask
|
2887
2885
|
# Required. The list of fields to be updated.
|
2888
2886
|
# @param [String] fields
|
@@ -3357,14 +3355,13 @@ module Google
|
|
3357
3355
|
# see the documentation of the offer_id field on the SubscriptionOffer resource.
|
3358
3356
|
# @param [String] regions_version_version
|
3359
3357
|
# Required. A string representing the version of available regions being used
|
3360
|
-
# for the specified resource. Regional prices
|
3361
|
-
# specified according to the information published in [
|
3362
|
-
# support.google.com/googleplay/android-developer/answer/
|
3363
|
-
# the supported locations substantially change, the version
|
3364
|
-
#
|
3365
|
-
#
|
3366
|
-
#
|
3367
|
-
# new version is available.
|
3358
|
+
# for the specified resource. Regional prices and latest supported version for
|
3359
|
+
# the resource have to be specified according to the information published in [
|
3360
|
+
# this article](https://support.google.com/googleplay/android-developer/answer/
|
3361
|
+
# 10532353). Each time the supported locations substantially change, the version
|
3362
|
+
# will be incremented. Using this field will ensure that creating and updating
|
3363
|
+
# the resource with an older region's version and set of regional prices and
|
3364
|
+
# currencies will succeed even though a new version is available.
|
3368
3365
|
# @param [String] fields
|
3369
3366
|
# Selector specifying which fields to include in a partial response.
|
3370
3367
|
# @param [String] quota_user
|
@@ -3592,14 +3589,13 @@ module Google
|
|
3592
3589
|
# Defaults to latency-sensitive.
|
3593
3590
|
# @param [String] regions_version_version
|
3594
3591
|
# Required. A string representing the version of available regions being used
|
3595
|
-
# for the specified resource. Regional prices
|
3596
|
-
# specified according to the information published in [
|
3597
|
-
# support.google.com/googleplay/android-developer/answer/
|
3598
|
-
# the supported locations substantially change, the version
|
3599
|
-
#
|
3600
|
-
#
|
3601
|
-
#
|
3602
|
-
# new version is available.
|
3592
|
+
# for the specified resource. Regional prices and latest supported version for
|
3593
|
+
# the resource have to be specified according to the information published in [
|
3594
|
+
# this article](https://support.google.com/googleplay/android-developer/answer/
|
3595
|
+
# 10532353). Each time the supported locations substantially change, the version
|
3596
|
+
# will be incremented. Using this field will ensure that creating and updating
|
3597
|
+
# the resource with an older region's version and set of regional prices and
|
3598
|
+
# currencies will succeed even though a new version is available.
|
3603
3599
|
# @param [String] update_mask
|
3604
3600
|
# Required. The list of fields to be updated.
|
3605
3601
|
# @param [String] fields
|
@@ -3860,12 +3856,48 @@ module Google
|
|
3860
3856
|
execute_or_queue_command(command, &block)
|
3861
3857
|
end
|
3862
3858
|
|
3859
|
+
# Checks the purchase and consumption status of an inapp item.
|
3860
|
+
# @param [String] package_name
|
3861
|
+
# The package name of the application the inapp product was sold in (for example,
|
3862
|
+
# 'com.some.thing').
|
3863
|
+
# @param [String] token
|
3864
|
+
# The token provided to the user's device when the inapp product was purchased.
|
3865
|
+
# @param [String] fields
|
3866
|
+
# Selector specifying which fields to include in a partial response.
|
3867
|
+
# @param [String] quota_user
|
3868
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3869
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3870
|
+
# @param [Google::Apis::RequestOptions] options
|
3871
|
+
# Request-specific options
|
3872
|
+
#
|
3873
|
+
# @yield [result, err] Result & error if block supplied
|
3874
|
+
# @yieldparam result [Google::Apis::AndroidpublisherV3::ProductPurchaseV2] parsed result object
|
3875
|
+
# @yieldparam err [StandardError] error object if request failed
|
3876
|
+
#
|
3877
|
+
# @return [Google::Apis::AndroidpublisherV3::ProductPurchaseV2]
|
3878
|
+
#
|
3879
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3880
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3881
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3882
|
+
def getproductpurchasev2_purchase_productsv2(package_name, token, fields: nil, quota_user: nil, options: nil, &block)
|
3883
|
+
command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/purchases/productsv2/tokens/{token}', options)
|
3884
|
+
command.response_representation = Google::Apis::AndroidpublisherV3::ProductPurchaseV2::Representation
|
3885
|
+
command.response_class = Google::Apis::AndroidpublisherV3::ProductPurchaseV2
|
3886
|
+
command.params['packageName'] = package_name unless package_name.nil?
|
3887
|
+
command.params['token'] = token unless token.nil?
|
3888
|
+
command.query['fields'] = fields unless fields.nil?
|
3889
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3890
|
+
execute_or_queue_command(command, &block)
|
3891
|
+
end
|
3892
|
+
|
3863
3893
|
# Acknowledges a subscription purchase.
|
3864
3894
|
# @param [String] package_name
|
3865
3895
|
# The package name of the application for which this subscription was purchased (
|
3866
3896
|
# for example, 'com.some.thing').
|
3867
3897
|
# @param [String] subscription_id
|
3868
|
-
#
|
3898
|
+
# Note: Since May 21, 2025, subscription_id is not required, and not recommended
|
3899
|
+
# for subscription with add-ons. The purchased subscription ID (for example, '
|
3900
|
+
# monthly001').
|
3869
3901
|
# @param [String] token
|
3870
3902
|
# The token provided to the user's device when the subscription was purchased.
|
3871
3903
|
# @param [Google::Apis::AndroidpublisherV3::SubscriptionPurchasesAcknowledgeRequest] subscription_purchases_acknowledge_request_object
|
@@ -3904,7 +3936,9 @@ module Google
|
|
3904
3936
|
# The package name of the application for which this subscription was purchased (
|
3905
3937
|
# for example, 'com.some.thing').
|
3906
3938
|
# @param [String] subscription_id
|
3907
|
-
#
|
3939
|
+
# Note: Since May 21, 2025, subscription_id is not required, and not recommended
|
3940
|
+
# for subscription with add-ons. The purchased subscription ID (for example, '
|
3941
|
+
# monthly001').
|
3908
3942
|
# @param [String] token
|
3909
3943
|
# The token provided to the user's device when the subscription was purchased.
|
3910
3944
|
# @param [String] fields
|
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.82.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.82.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:
|