Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36040,6 +36040,7 @@
"/androidpublisher:v3/OneTimeProductTaxAndComplianceSettings/regionalTaxConfigs/regional_tax_config": regional_tax_config
"/androidpublisher:v3/OneTimePurchaseDetails": one_time_purchase_details
"/androidpublisher:v3/OneTimePurchaseDetails/offerId": offer_id
"/androidpublisher:v3/OneTimePurchaseDetails/preorderDetails": preorder_details
"/androidpublisher:v3/OneTimePurchaseDetails/purchaseOptionId": purchase_option_id
"/androidpublisher:v3/OneTimePurchaseDetails/quantity": quantity
"/androidpublisher:v3/OneTimePurchaseDetails/rentalDetails": rental_details
Expand Down Expand Up @@ -36103,6 +36104,9 @@
"/androidpublisher:v3/PointsDetails/pointsDiscountRateMicros": points_discount_rate_micros
"/androidpublisher:v3/PointsDetails/pointsOfferId": points_offer_id
"/androidpublisher:v3/PointsDetails/pointsSpent": points_spent
"/androidpublisher:v3/PreorderDetails": preorder_details
"/androidpublisher:v3/PreorderOfferDetails": preorder_offer_details
"/androidpublisher:v3/PreorderOfferDetails/preorderReleaseTime": preorder_release_time
"/androidpublisher:v3/PrepaidBasePlanType": prepaid_base_plan_type
"/androidpublisher:v3/PrepaidBasePlanType/billingPeriodDuration": billing_period_duration
"/androidpublisher:v3/PrepaidBasePlanType/timeExtension": time_extension
Expand All @@ -36126,6 +36130,7 @@
"/androidpublisher:v3/ProductOfferDetails/offerTags": offer_tags
"/androidpublisher:v3/ProductOfferDetails/offerTags/offer_tag": offer_tag
"/androidpublisher:v3/ProductOfferDetails/offerToken": offer_token
"/androidpublisher:v3/ProductOfferDetails/preorderOfferDetails": preorder_offer_details
"/androidpublisher:v3/ProductOfferDetails/purchaseOptionId": purchase_option_id
"/androidpublisher:v3/ProductOfferDetails/quantity": quantity
"/androidpublisher:v3/ProductOfferDetails/refundableQuantity": refundable_quantity
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-androidpublisher_v3/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-androidpublisher_v3

### v0.88.0 (2025-11-02)

* Regenerated from discovery document revision 20251028

### v0.87.0 (2025-09-07)

* Regenerated from discovery document revision 20250904
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5452,6 +5452,11 @@ class OneTimePurchaseDetails
# @return [String]
attr_accessor :offer_id

# Details of a pre-order purchase.
# Corresponds to the JSON property `preorderDetails`
# @return [Google::Apis::AndroidpublisherV3::PreorderDetails]
attr_accessor :preorder_details

# ID of the purchase option. This field is set for both purchase options and
# variant offers. For purchase options, this ID identifies the purchase option
# itself. For variant offers, this ID refers to the associated purchase option,
Expand All @@ -5477,6 +5482,7 @@ def initialize(**args)
# Update properties of this object
def update!(**args)
@offer_id = args[:offer_id] if args.key?(:offer_id)
@preorder_details = args[:preorder_details] if args.key?(:preorder_details)
@purchase_option_id = args[:purchase_option_id] if args.key?(:purchase_option_id)
@quantity = args[:quantity] if args.key?(:quantity)
@rental_details = args[:rental_details] if args.key?(:rental_details)
Expand Down Expand Up @@ -5992,6 +5998,38 @@ def update!(**args)
end
end

# Details of a pre-order purchase.
class PreorderDetails
include Google::Apis::Core::Hashable

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
end
end

# Offer details information related to a preorder line item.
class PreorderOfferDetails
include Google::Apis::Core::Hashable

# The time when a preordered item is released for a preorder purchase.
# Corresponds to the JSON property `preorderReleaseTime`
# @return [String]
attr_accessor :preorder_release_time

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@preorder_release_time = args[:preorder_release_time] if args.key?(:preorder_release_time)
end
end

# Represents a base plan that does not automatically renew at the end of the
# base plan, and must be manually renewed by the user.
class PrepaidBasePlanType
Expand Down Expand Up @@ -6168,6 +6206,11 @@ class ProductOfferDetails
# @return [String]
attr_accessor :offer_token

# Offer details information related to a preorder line item.
# Corresponds to the JSON property `preorderOfferDetails`
# @return [Google::Apis::AndroidpublisherV3::PreorderOfferDetails]
attr_accessor :preorder_offer_details

# The purchase option ID.
# Corresponds to the JSON property `purchaseOptionId`
# @return [String]
Expand Down Expand Up @@ -6199,6 +6242,7 @@ def update!(**args)
@offer_id = args[:offer_id] if args.key?(:offer_id)
@offer_tags = args[:offer_tags] if args.key?(:offer_tags)
@offer_token = args[:offer_token] if args.key?(:offer_token)
@preorder_offer_details = args[:preorder_offer_details] if args.key?(:preorder_offer_details)
@purchase_option_id = args[:purchase_option_id] if args.key?(:purchase_option_id)
@quantity = args[:quantity] if args.key?(:quantity)
@refundable_quantity = args[:refundable_quantity] if args.key?(:refundable_quantity)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module AndroidpublisherV3
# Version of the google-apis-androidpublisher_v3 gem
GEM_VERSION = "0.87.0"
GEM_VERSION = "0.88.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.18.0"

# Revision of the discovery document this client was generated from
REVISION = "20250904"
REVISION = "20251028"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -1180,6 +1180,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class PreorderDetails
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class PreorderOfferDetails
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class PrepaidBasePlanType
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -3574,6 +3586,8 @@ class OneTimePurchaseDetails
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :offer_id, as: 'offerId'
property :preorder_details, as: 'preorderDetails', class: Google::Apis::AndroidpublisherV3::PreorderDetails, decorator: Google::Apis::AndroidpublisherV3::PreorderDetails::Representation

property :purchase_option_id, as: 'purchaseOptionId'
property :quantity, as: 'quantity'
property :rental_details, as: 'rentalDetails', class: Google::Apis::AndroidpublisherV3::RentalDetails, decorator: Google::Apis::AndroidpublisherV3::RentalDetails::Representation
Expand Down Expand Up @@ -3741,6 +3755,19 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class PreorderDetails
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end

class PreorderOfferDetails
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :preorder_release_time, as: 'preorderReleaseTime'
end
end

class PrepaidBasePlanType
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down Expand Up @@ -3797,6 +3824,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :offer_id, as: 'offerId'
collection :offer_tags, as: 'offerTags'
property :offer_token, as: 'offerToken'
property :preorder_offer_details, as: 'preorderOfferDetails', class: Google::Apis::AndroidpublisherV3::PreorderOfferDetails, decorator: Google::Apis::AndroidpublisherV3::PreorderOfferDetails::Representation

property :purchase_option_id, as: 'purchaseOptionId'
property :quantity, as: 'quantity'
property :refundable_quantity, as: 'refundableQuantity'
Expand Down