|
5019 | 5019 | "https://www.googleapis.com/auth/androidpublisher" |
5020 | 5020 | ] |
5021 | 5021 | }, |
| 5022 | + "defer": { |
| 5023 | + "description": "Defers the renewal of a subscription.", |
| 5024 | + "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptionsv2/tokens/{token}:defer", |
| 5025 | + "httpMethod": "POST", |
| 5026 | + "id": "androidpublisher.purchases.subscriptionsv2.defer", |
| 5027 | + "parameterOrder": [ |
| 5028 | + "packageName", |
| 5029 | + "token" |
| 5030 | + ], |
| 5031 | + "parameters": { |
| 5032 | + "packageName": { |
| 5033 | + "description": "Required. The package of the application for which this subscription was purchased (for example, 'com.some.thing').", |
| 5034 | + "location": "path", |
| 5035 | + "required": true, |
| 5036 | + "type": "string" |
| 5037 | + }, |
| 5038 | + "token": { |
| 5039 | + "description": "Required. The token provided to the user's device when the subscription was purchased.", |
| 5040 | + "location": "path", |
| 5041 | + "required": true, |
| 5042 | + "type": "string" |
| 5043 | + } |
| 5044 | + }, |
| 5045 | + "path": "androidpublisher/v3/applications/{packageName}/purchases/subscriptionsv2/tokens/{token}:defer", |
| 5046 | + "request": { |
| 5047 | + "$ref": "DeferSubscriptionPurchaseRequest" |
| 5048 | + }, |
| 5049 | + "response": { |
| 5050 | + "$ref": "DeferSubscriptionPurchaseResponse" |
| 5051 | + }, |
| 5052 | + "scopes": [ |
| 5053 | + "https://www.googleapis.com/auth/androidpublisher" |
| 5054 | + ] |
| 5055 | + }, |
5022 | 5056 | "get": { |
5023 | 5057 | "description": "Get metadata about a subscription", |
5024 | 5058 | "flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptionsv2/tokens/{token}", |
|
5555 | 5589 | } |
5556 | 5590 | } |
5557 | 5591 | }, |
5558 | | - "revision": "20260119", |
| 5592 | + "revision": "20260129", |
5559 | 5593 | "rootUrl": "https://androidpublisher.googleapis.com/", |
5560 | 5594 | "schemas": { |
5561 | 5595 | "Abi": { |
|
6283 | 6317 | }, |
6284 | 6318 | "type": "object" |
6285 | 6319 | }, |
| 6320 | + "BasePriceOfferPhase": { |
| 6321 | + "description": "Details about base price offer phase.", |
| 6322 | + "id": "BasePriceOfferPhase", |
| 6323 | + "properties": {}, |
| 6324 | + "type": "object" |
| 6325 | + }, |
6286 | 6326 | "BatchDeleteOneTimeProductOffersRequest": { |
6287 | 6327 | "description": "Request message for BatchDeleteOneTimeProductOffers.", |
6288 | 6328 | "id": "BatchDeleteOneTimeProductOffersRequest", |
|
7139 | 7179 | }, |
7140 | 7180 | "type": "object" |
7141 | 7181 | }, |
| 7182 | + "DeferSubscriptionPurchaseRequest": { |
| 7183 | + "description": "Request for the v2 purchases.subscriptions.defer API.", |
| 7184 | + "id": "DeferSubscriptionPurchaseRequest", |
| 7185 | + "properties": { |
| 7186 | + "deferralContext": { |
| 7187 | + "$ref": "DeferralContext", |
| 7188 | + "description": "Required. Details about the subscription deferral." |
| 7189 | + } |
| 7190 | + }, |
| 7191 | + "type": "object" |
| 7192 | + }, |
| 7193 | + "DeferSubscriptionPurchaseResponse": { |
| 7194 | + "description": "Response for the v2 purchases.subscriptions.defer API.", |
| 7195 | + "id": "DeferSubscriptionPurchaseResponse", |
| 7196 | + "properties": { |
| 7197 | + "itemExpiryTimeDetails": { |
| 7198 | + "description": "The new expiry time for each subscription items.", |
| 7199 | + "items": { |
| 7200 | + "$ref": "ItemExpiryTimeDetails" |
| 7201 | + }, |
| 7202 | + "type": "array" |
| 7203 | + } |
| 7204 | + }, |
| 7205 | + "type": "object" |
| 7206 | + }, |
| 7207 | + "DeferralContext": { |
| 7208 | + "description": "Deferral context of the purchases.subscriptionsv2.defer API.", |
| 7209 | + "id": "DeferralContext", |
| 7210 | + "properties": { |
| 7211 | + "deferDuration": { |
| 7212 | + "description": "Required. The duration by which all subscription items should be deferred.", |
| 7213 | + "format": "google-duration", |
| 7214 | + "type": "string" |
| 7215 | + }, |
| 7216 | + "etag": { |
| 7217 | + "description": "Required. The API will fail if the etag does not match the latest etag for this subscription. The etag is retrieved from purchases.subscriptionsv2.get: https://developers.google.com/android-publisher/api-ref/rest/v3/purchases.subscriptionsv2/get", |
| 7218 | + "type": "string" |
| 7219 | + }, |
| 7220 | + "validateOnly": { |
| 7221 | + "description": "If set to \"true\", the request is a dry run to validate the effect of Defer, the subscription would not be impacted.", |
| 7222 | + "type": "boolean" |
| 7223 | + } |
| 7224 | + }, |
| 7225 | + "type": "object" |
| 7226 | + }, |
7142 | 7227 | "DeferredItemRemoval": { |
7143 | 7228 | "description": "Information related to deferred item replacement.", |
7144 | 7229 | "id": "DeferredItemRemoval", |
|
7916 | 8001 | "properties": {}, |
7917 | 8002 | "type": "object" |
7918 | 8003 | }, |
| 8004 | + "FreeTrialOfferPhase": { |
| 8005 | + "description": "Details about free trial offer phase.", |
| 8006 | + "id": "FreeTrialOfferPhase", |
| 8007 | + "properties": {}, |
| 8008 | + "type": "object" |
| 8009 | + }, |
7919 | 8010 | "FullRefund": { |
7920 | 8011 | "description": "A full refund of the remaining amount of a transaction.", |
7921 | 8012 | "id": "FullRefund", |
|
8681 | 8772 | }, |
8682 | 8773 | "type": "object" |
8683 | 8774 | }, |
| 8775 | + "IntroductoryPriceOfferPhase": { |
| 8776 | + "description": "Details about introductory price offer phase.", |
| 8777 | + "id": "IntroductoryPriceOfferPhase", |
| 8778 | + "properties": {}, |
| 8779 | + "type": "object" |
| 8780 | + }, |
| 8781 | + "ItemExpiryTimeDetails": { |
| 8782 | + "description": "Expiry time details of a subscription item.", |
| 8783 | + "id": "ItemExpiryTimeDetails", |
| 8784 | + "properties": { |
| 8785 | + "expiryTime": { |
| 8786 | + "description": "The new expiry time for this subscription item.", |
| 8787 | + "format": "google-datetime", |
| 8788 | + "type": "string" |
| 8789 | + }, |
| 8790 | + "productId": { |
| 8791 | + "description": "The product ID of the subscription item (for example, 'premium_plan').", |
| 8792 | + "type": "string" |
| 8793 | + } |
| 8794 | + }, |
| 8795 | + "type": "object" |
| 8796 | + }, |
8684 | 8797 | "ItemReplacement": { |
8685 | 8798 | "description": "Details about a subscription line item that is being replaced.", |
8686 | 8799 | "id": "ItemReplacement", |
|
9207 | 9320 | }, |
9208 | 9321 | "type": "object" |
9209 | 9322 | }, |
| 9323 | + "OfferPhase": { |
| 9324 | + "description": "Offer phase details.", |
| 9325 | + "id": "OfferPhase", |
| 9326 | + "properties": { |
| 9327 | + "basePrice": { |
| 9328 | + "$ref": "BasePriceOfferPhase", |
| 9329 | + "description": "Set when the offer phase is a base plan pricing phase." |
| 9330 | + }, |
| 9331 | + "freeTrial": { |
| 9332 | + "$ref": "FreeTrialOfferPhase", |
| 9333 | + "description": "Set when the offer phase is a free trial." |
| 9334 | + }, |
| 9335 | + "introductoryPrice": { |
| 9336 | + "$ref": "IntroductoryPriceOfferPhase", |
| 9337 | + "description": "Set when the offer phase is an introductory price offer phase." |
| 9338 | + }, |
| 9339 | + "prorationPeriod": { |
| 9340 | + "$ref": "ProrationPeriodOfferPhase", |
| 9341 | + "description": "Set when the offer phase is a proration period." |
| 9342 | + } |
| 9343 | + }, |
| 9344 | + "type": "object" |
| 9345 | + }, |
9210 | 9346 | "OfferPhaseDetails": { |
9211 | 9347 | "description": "Details of a pricing phase for the entitlement period funded by this order.", |
9212 | 9348 | "id": "OfferPhaseDetails", |
|
10421 | 10557 | }, |
10422 | 10558 | "type": "object" |
10423 | 10559 | }, |
| 10560 | + "ProrationPeriodOfferPhase": { |
| 10561 | + "description": "Details about proration period offer phase.", |
| 10562 | + "id": "ProrationPeriodOfferPhase", |
| 10563 | + "properties": { |
| 10564 | + "originalOfferPhaseType": { |
| 10565 | + "description": "The original offer phase type before the proration period. Only set when the proration period is updated from an existing offer phase.", |
| 10566 | + "enum": [ |
| 10567 | + "ORIGINAL_OFFER_PHASE_TYPE_UNSPECIFIED", |
| 10568 | + "BASE", |
| 10569 | + "INTRODUCTORY", |
| 10570 | + "FREE_TRIAL" |
| 10571 | + ], |
| 10572 | + "enumDescriptions": [ |
| 10573 | + "Unspecified original offer phase type.", |
| 10574 | + "The subscription is in the base pricing phase (e.g. full price).", |
| 10575 | + "The subscription is in an introductory pricing phase.", |
| 10576 | + "The subscription is in a free trial." |
| 10577 | + ], |
| 10578 | + "type": "string" |
| 10579 | + } |
| 10580 | + }, |
| 10581 | + "type": "object" |
| 10582 | + }, |
10424 | 10583 | "PurchaseOptionTaxAndComplianceSettings": { |
10425 | 10584 | "description": "Details about taxation, Google Play policy and legal compliance for one-time product purchase options.", |
10426 | 10585 | "id": "PurchaseOptionTaxAndComplianceSettings", |
|
11742 | 11901 | "$ref": "OfferDetails", |
11743 | 11902 | "description": "The offer details for this item." |
11744 | 11903 | }, |
| 11904 | + "offerPhase": { |
| 11905 | + "$ref": "OfferPhase", |
| 11906 | + "description": "Current offer phase details for this item." |
| 11907 | + }, |
11745 | 11908 | "prepaidPlan": { |
11746 | 11909 | "$ref": "PrepaidPlan", |
11747 | 11910 | "description": "The item is prepaid." |
|
11779 | 11942 | "$ref": "CanceledStateContext", |
11780 | 11943 | "description": "Additional context around canceled subscriptions. Only present if the subscription currently has subscription_state SUBSCRIPTION_STATE_CANCELED or SUBSCRIPTION_STATE_EXPIRED." |
11781 | 11944 | }, |
| 11945 | + "etag": { |
| 11946 | + "description": "Entity tag representing the current state of the subscription. The developer will provide this etag for subscription actions. This etag is always present for auto-renewing and prepaid subscriptions.", |
| 11947 | + "type": "string" |
| 11948 | + }, |
11782 | 11949 | "externalAccountIdentifiers": { |
11783 | 11950 | "$ref": "ExternalAccountIdentifiers", |
11784 | 11951 | "description": "User account identifier in the third-party service." |
@@ -12371,11 +12538,11 @@ |
12371 | 12538 | "type": "object" |
12372 | 12539 | }, |
12373 | 12540 | "TrackTargetedCountry": { |
12374 | | - "description": "Representation of a single country where the contents of a track are available.", |
| 12541 | + "description": "Representation of a single country where the contents of a track can be made available.", |
12375 | 12542 | "id": "TrackTargetedCountry", |
12376 | 12543 | "properties": { |
12377 | 12544 | "countryCode": { |
12378 | | - "description": "The country to target, as a two-letter CLDR code.", |
| 12545 | + "description": "The country that can be targeted, as a two-letter CLDR code.", |
12379 | 12546 | "type": "string" |
12380 | 12547 | } |
12381 | 12548 | }, |
|
0 commit comments