Skip to content

Commit 868ea1f

Browse files
feat: Automated regeneration of androidpublisher v3 client (googleapis#23296)
Auto-created at 2025-06-01 10:21:42 +0000 using the toys pull request generator.
1 parent f7720b1 commit 868ea1f

File tree

6 files changed

+64
-50
lines changed

6 files changed

+64
-50
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33940,6 +33940,7 @@
3394033940
"/androidpublisher:v3/SubscriptionPurchaseLineItem/autoRenewingPlan": auto_renewing_plan
3394133941
"/androidpublisher:v3/SubscriptionPurchaseLineItem/deferredItemReplacement": deferred_item_replacement
3394233942
"/androidpublisher:v3/SubscriptionPurchaseLineItem/expiryTime": expiry_time
33943+
"/androidpublisher:v3/SubscriptionPurchaseLineItem/latestSuccessfulOrderId": latest_successful_order_id
3394333944
"/androidpublisher:v3/SubscriptionPurchaseLineItem/offerDetails": offer_details
3394433945
"/androidpublisher:v3/SubscriptionPurchaseLineItem/prepaidPlan": prepaid_plan
3394533946
"/androidpublisher:v3/SubscriptionPurchaseLineItem/productId": product_id

generated/google-apis-androidpublisher_v3/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-androidpublisher_v3
22

3+
### v0.81.0 (2025-06-01)
4+
5+
* Regenerated from discovery document revision 20250529
6+
* Regenerated using generator version 0.18.0
7+
38
### v0.80.0 (2025-05-21)
49

510
* Regenerated from discovery document revision 20250520

generated/google-apis-androidpublisher_v3/lib/google/apis/androidpublisher_v3/classes.rb

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3020,7 +3020,7 @@ class InAppProduct
30203020
# @return [String]
30213021
attr_accessor :subscription_period
30223022

3023-
# Details about taxation, Google Play policy and legal compliance for
3023+
# Details about taxation, Google Play policy, and legal compliance for
30243024
# subscription products.
30253025
# Corresponds to the JSON property `subscriptionTaxesAndComplianceSettings`
30263026
# @return [Google::Apis::AndroidpublisherV3::SubscriptionTaxAndComplianceSettings]
@@ -5278,14 +5278,13 @@ class RegionsVersion
52785278
include Google::Apis::Core::Hashable
52795279

52805280
# Required. A string representing the version of available regions being used
5281-
# for the specified resource. Regional prices for the resource have to be
5282-
# specified according to the information published in [this article](https://
5283-
# support.google.com/googleplay/android-developer/answer/10532353). Each time
5284-
# the supported locations substantially change, the version will be incremented.
5285-
# The latest supported version is available in this article. Using this field
5286-
# will ensure that creating and updating the resource with an older region's
5287-
# version and set of regional prices and currencies will succeed even though a
5288-
# new version is available.
5281+
# for the specified resource. Regional prices and latest supported version for
5282+
# the resource have to be specified according to the information published in [
5283+
# this article](https://support.google.com/googleplay/android-developer/answer/
5284+
# 10532353). Each time the supported locations substantially change, the version
5285+
# will be incremented. Using this field will ensure that creating and updating
5286+
# the resource with an older region's version and set of regional prices and
5287+
# currencies will succeed even though a new version is available.
52895288
# Corresponds to the JSON property `version`
52905289
# @return [String]
52915290
attr_accessor :version
@@ -5596,8 +5595,8 @@ def update!(**args)
55965595
class RevocationContextItemBasedRefund
55975596
include Google::Apis::Core::Hashable
55985597

5599-
# Required. If the subscription is a subscription bundle, the product id of the
5600-
# subscription to revoke.
5598+
# Required. If the subscription is a subscription with add-ons, the product id
5599+
# of the subscription item to revoke.
56015600
# Corresponds to the JSON property `productId`
56025601
# @return [String]
56035602
attr_accessor :product_id
@@ -5980,7 +5979,7 @@ class Subscription
59805979
# @return [Google::Apis::AndroidpublisherV3::RestrictedPaymentCountries]
59815980
attr_accessor :restricted_payment_countries
59825981

5983-
# Details about taxation, Google Play policy and legal compliance for
5982+
# Details about taxation, Google Play policy, and legal compliance for
59845983
# subscription products.
59855984
# Corresponds to the JSON property `taxAndComplianceSettings`
59865985
# @return [Google::Apis::AndroidpublisherV3::SubscriptionTaxAndComplianceSettings]
@@ -6635,6 +6634,13 @@ class SubscriptionPurchaseLineItem
66356634
# @return [String]
66366635
attr_accessor :expiry_time
66376636

6637+
# The order id of the latest successful order associated with this item. Not
6638+
# present if the item is not owned by the user yet (e.g. the item being deferred
6639+
# replaced to).
6640+
# Corresponds to the JSON property `latestSuccessfulOrderId`
6641+
# @return [String]
6642+
attr_accessor :latest_successful_order_id
6643+
66386644
# Offer details information related to a purchase line item.
66396645
# Corresponds to the JSON property `offerDetails`
66406646
# @return [Google::Apis::AndroidpublisherV3::OfferDetails]
@@ -6664,6 +6670,7 @@ def update!(**args)
66646670
@auto_renewing_plan = args[:auto_renewing_plan] if args.key?(:auto_renewing_plan)
66656671
@deferred_item_replacement = args[:deferred_item_replacement] if args.key?(:deferred_item_replacement)
66666672
@expiry_time = args[:expiry_time] if args.key?(:expiry_time)
6673+
@latest_successful_order_id = args[:latest_successful_order_id] if args.key?(:latest_successful_order_id)
66676674
@offer_details = args[:offer_details] if args.key?(:offer_details)
66686675
@prepaid_plan = args[:prepaid_plan] if args.key?(:prepaid_plan)
66696676
@product_id = args[:product_id] if args.key?(:product_id)
@@ -6834,7 +6841,7 @@ def update!(**args)
68346841
end
68356842
end
68366843

6837-
# Details about taxation, Google Play policy and legal compliance for
6844+
# Details about taxation, Google Play policy, and legal compliance for
68386845
# subscription products.
68396846
class SubscriptionTaxAndComplianceSettings
68406847
include Google::Apis::Core::Hashable

generated/google-apis-androidpublisher_v3/lib/google/apis/androidpublisher_v3/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module AndroidpublisherV3
1818
# Version of the google-apis-androidpublisher_v3 gem
19-
GEM_VERSION = "0.80.0"
19+
GEM_VERSION = "0.81.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.17.0"
22+
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250520"
25+
REVISION = "20250529"
2626
end
2727
end
2828
end

generated/google-apis-androidpublisher_v3/lib/google/apis/androidpublisher_v3/representations.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3553,6 +3553,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
35533553
property :deferred_item_replacement, as: 'deferredItemReplacement', class: Google::Apis::AndroidpublisherV3::DeferredItemReplacement, decorator: Google::Apis::AndroidpublisherV3::DeferredItemReplacement::Representation
35543554

35553555
property :expiry_time, as: 'expiryTime'
3556+
property :latest_successful_order_id, as: 'latestSuccessfulOrderId'
35563557
property :offer_details, as: 'offerDetails', class: Google::Apis::AndroidpublisherV3::OfferDetails, decorator: Google::Apis::AndroidpublisherV3::OfferDetails::Representation
35573558

35583559
property :prepaid_plan, as: 'prepaidPlan', class: Google::Apis::AndroidpublisherV3::PrepaidPlan, decorator: Google::Apis::AndroidpublisherV3::PrepaidPlan::Representation

generated/google-apis-androidpublisher_v3/lib/google/apis/androidpublisher_v3/service.rb

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -2707,14 +2707,13 @@ def batch_update_subscriptions(package_name, batch_update_subscriptions_request_
27072707
# resource.
27082708
# @param [String] regions_version_version
27092709
# Required. A string representing the version of available regions being used
2710-
# for the specified resource. Regional prices for the resource have to be
2711-
# specified according to the information published in [this article](https://
2712-
# support.google.com/googleplay/android-developer/answer/10532353). Each time
2713-
# the supported locations substantially change, the version will be incremented.
2714-
# The latest supported version is available in this article. Using this field
2715-
# will ensure that creating and updating the resource with an older region's
2716-
# version and set of regional prices and currencies will succeed even though a
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.
27182717
# @param [String] fields
27192718
# Selector specifying which fields to include in a partial response.
27202719
# @param [String] quota_user
@@ -2875,14 +2874,13 @@ def list_monetization_subscriptions(package_name, page_size: nil, page_token: ni
28752874
# Defaults to latency-sensitive.
28762875
# @param [String] regions_version_version
28772876
# Required. A string representing the version of available regions being used
2878-
# for the specified resource. Regional prices for the resource have to be
2879-
# specified according to the information published in [this article](https://
2880-
# support.google.com/googleplay/android-developer/answer/10532353). Each time
2881-
# the supported locations substantially change, the version will be incremented.
2882-
# The latest supported version is available in this article. Using this field
2883-
# will ensure that creating and updating the resource with an older region's
2884-
# version and set of regional prices and currencies will succeed even though a
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.
28862884
# @param [String] update_mask
28872885
# Required. The list of fields to be updated.
28882886
# @param [String] fields
@@ -3357,14 +3355,13 @@ def batch_monetization_subscription_base_plan_offer_update_states(package_name,
33573355
# see the documentation of the offer_id field on the SubscriptionOffer resource.
33583356
# @param [String] regions_version_version
33593357
# Required. A string representing the version of available regions being used
3360-
# for the specified resource. Regional prices for the resource have to be
3361-
# specified according to the information published in [this article](https://
3362-
# support.google.com/googleplay/android-developer/answer/10532353). Each time
3363-
# the supported locations substantially change, the version will be incremented.
3364-
# The latest supported version is available in this article. Using this field
3365-
# will ensure that creating and updating the resource with an older region's
3366-
# version and set of regional prices and currencies will succeed even though a
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.
33683365
# @param [String] fields
33693366
# Selector specifying which fields to include in a partial response.
33703367
# @param [String] quota_user
@@ -3592,14 +3589,13 @@ def list_monetization_subscription_base_plan_offers(package_name, product_id, ba
35923589
# Defaults to latency-sensitive.
35933590
# @param [String] regions_version_version
35943591
# Required. A string representing the version of available regions being used
3595-
# for the specified resource. Regional prices for the resource have to be
3596-
# specified according to the information published in [this article](https://
3597-
# support.google.com/googleplay/android-developer/answer/10532353). Each time
3598-
# the supported locations substantially change, the version will be incremented.
3599-
# The latest supported version is available in this article. Using this field
3600-
# will ensure that creating and updating the resource with an older region's
3601-
# version and set of regional prices and currencies will succeed even though a
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.
36033599
# @param [String] update_mask
36043600
# Required. The list of fields to be updated.
36053601
# @param [String] fields
@@ -3865,7 +3861,9 @@ def get_purchase_product(package_name, product_id, token, fields: nil, quota_use
38653861
# The package name of the application for which this subscription was purchased (
38663862
# for example, 'com.some.thing').
38673863
# @param [String] subscription_id
3868-
# The purchased subscription ID (for example, 'monthly001').
3864+
# Note: Since May 21, 2025, subscription_id is not required, and not recommended
3865+
# for subscription with add-ons. The purchased subscription ID (for example, '
3866+
# monthly001').
38693867
# @param [String] token
38703868
# The token provided to the user's device when the subscription was purchased.
38713869
# @param [Google::Apis::AndroidpublisherV3::SubscriptionPurchasesAcknowledgeRequest] subscription_purchases_acknowledge_request_object
@@ -3904,7 +3902,9 @@ def acknowledge_purchase_subscription(package_name, subscription_id, token, subs
39043902
# The package name of the application for which this subscription was purchased (
39053903
# for example, 'com.some.thing').
39063904
# @param [String] subscription_id
3907-
# The purchased subscription ID (for example, 'monthly001').
3905+
# Note: Since May 21, 2025, subscription_id is not required, and not recommended
3906+
# for subscription with add-ons. The purchased subscription ID (for example, '
3907+
# monthly001').
39083908
# @param [String] token
39093909
# The token provided to the user's device when the subscription was purchased.
39103910
# @param [String] fields

0 commit comments

Comments
 (0)