Skip to content

Commit e617dd5

Browse files
feat(all): auto-regenerate discovery clients (#3473)
1 parent 4ce41be commit e617dd5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+3187
-251
lines changed

androidpublisher/v3/androidpublisher-api.json

Lines changed: 170 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5019,6 +5019,40 @@
50195019
"https://www.googleapis.com/auth/androidpublisher"
50205020
]
50215021
},
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+
},
50225056
"get": {
50235057
"description": "Get metadata about a subscription",
50245058
"flatPath": "androidpublisher/v3/applications/{packageName}/purchases/subscriptionsv2/tokens/{token}",
@@ -5555,7 +5589,7 @@
55555589
}
55565590
}
55575591
},
5558-
"revision": "20260119",
5592+
"revision": "20260129",
55595593
"rootUrl": "https://androidpublisher.googleapis.com/",
55605594
"schemas": {
55615595
"Abi": {
@@ -6283,6 +6317,12 @@
62836317
},
62846318
"type": "object"
62856319
},
6320+
"BasePriceOfferPhase": {
6321+
"description": "Details about base price offer phase.",
6322+
"id": "BasePriceOfferPhase",
6323+
"properties": {},
6324+
"type": "object"
6325+
},
62866326
"BatchDeleteOneTimeProductOffersRequest": {
62876327
"description": "Request message for BatchDeleteOneTimeProductOffers.",
62886328
"id": "BatchDeleteOneTimeProductOffersRequest",
@@ -7139,6 +7179,51 @@
71397179
},
71407180
"type": "object"
71417181
},
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+
},
71427227
"DeferredItemRemoval": {
71437228
"description": "Information related to deferred item replacement.",
71447229
"id": "DeferredItemRemoval",
@@ -7916,6 +8001,12 @@
79168001
"properties": {},
79178002
"type": "object"
79188003
},
8004+
"FreeTrialOfferPhase": {
8005+
"description": "Details about free trial offer phase.",
8006+
"id": "FreeTrialOfferPhase",
8007+
"properties": {},
8008+
"type": "object"
8009+
},
79198010
"FullRefund": {
79208011
"description": "A full refund of the remaining amount of a transaction.",
79218012
"id": "FullRefund",
@@ -8681,6 +8772,28 @@
86818772
},
86828773
"type": "object"
86838774
},
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+
},
86848797
"ItemReplacement": {
86858798
"description": "Details about a subscription line item that is being replaced.",
86868799
"id": "ItemReplacement",
@@ -9207,6 +9320,29 @@
92079320
},
92089321
"type": "object"
92099322
},
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+
},
92109346
"OfferPhaseDetails": {
92119347
"description": "Details of a pricing phase for the entitlement period funded by this order.",
92129348
"id": "OfferPhaseDetails",
@@ -10421,6 +10557,29 @@
1042110557
},
1042210558
"type": "object"
1042310559
},
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+
},
1042410583
"PurchaseOptionTaxAndComplianceSettings": {
1042510584
"description": "Details about taxation, Google Play policy and legal compliance for one-time product purchase options.",
1042610585
"id": "PurchaseOptionTaxAndComplianceSettings",
@@ -11742,6 +11901,10 @@
1174211901
"$ref": "OfferDetails",
1174311902
"description": "The offer details for this item."
1174411903
},
11904+
"offerPhase": {
11905+
"$ref": "OfferPhase",
11906+
"description": "Current offer phase details for this item."
11907+
},
1174511908
"prepaidPlan": {
1174611909
"$ref": "PrepaidPlan",
1174711910
"description": "The item is prepaid."
@@ -11779,6 +11942,10 @@
1177911942
"$ref": "CanceledStateContext",
1178011943
"description": "Additional context around canceled subscriptions. Only present if the subscription currently has subscription_state SUBSCRIPTION_STATE_CANCELED or SUBSCRIPTION_STATE_EXPIRED."
1178111944
},
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+
},
1178211949
"externalAccountIdentifiers": {
1178311950
"$ref": "ExternalAccountIdentifiers",
1178411951
"description": "User account identifier in the third-party service."
@@ -12371,11 +12538,11 @@
1237112538
"type": "object"
1237212539
},
1237312540
"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.",
1237512542
"id": "TrackTargetedCountry",
1237612543
"properties": {
1237712544
"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.",
1237912546
"type": "string"
1238012547
}
1238112548
},

0 commit comments

Comments
 (0)