Skip to content

Commit e368736

Browse files
feat(androidpublisher): update the api
#### androidpublisher:v3 The following keys were added: - schemas.DeferredItemReplacement (Total Keys: 3) - schemas.SubscriptionPurchaseLineItem.properties.deferredItemReplacement.$ref (Total Keys: 1) The following keys were changed: - resources.edits.resources.deobfuscationfiles.methods.upload.mediaUpload.maxSize (Total Keys: 1)
1 parent 21177f0 commit e368736

File tree

3 files changed

+38
-20
lines changed

3 files changed

+38
-20
lines changed

docs/dyn/androidpublisher_v3.inappproducts.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -79,22 +79,22 @@ <h2>Instance Methods</h2>
7979
<p class="firstline">Close httplib2 connections.</p>
8080
<p class="toc_element">
8181
<code><a href="#delete">delete(packageName, sku, x__xgafv=None)</a></code></p>
82-
<p class="firstline">Deletes an in-app product (i.e. a managed product or a subscription).</p>
82+
<p class="firstline">Deletes an in-app product (i.e. a managed product or a subscription). This method should no longer be used to delete subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.</p>
8383
<p class="toc_element">
8484
<code><a href="#get">get(packageName, sku, x__xgafv=None)</a></code></p>
85-
<p class="firstline">Gets an in-app product, which can be a managed product or a subscription.</p>
85+
<p class="firstline">Gets an in-app product, which can be a managed product or a subscription. This method should no longer be used to retrieve subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.</p>
8686
<p class="toc_element">
8787
<code><a href="#insert">insert(packageName, autoConvertMissingPrices=None, body=None, x__xgafv=None)</a></code></p>
88-
<p class="firstline">Creates an in-app product (i.e. a managed product or a subscription).</p>
88+
<p class="firstline">Creates an in-app product (i.e. a managed product or a subscription). This method should no longer be used to create subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.</p>
8989
<p class="toc_element">
9090
<code><a href="#list">list(packageName, maxResults=None, startIndex=None, token=None, x__xgafv=None)</a></code></p>
91-
<p class="firstline">Lists all in-app products - both managed products and subscriptions. If an app has a large number of in-app products, the response may be paginated. In this case the response field `tokenPagination.nextPageToken` will be set and the caller should provide its value as a `token` request parameter to retrieve the next page.</p>
91+
<p class="firstline">Lists all in-app products - both managed products and subscriptions. If an app has a large number of in-app products, the response may be paginated. In this case the response field `tokenPagination.nextPageToken` will be set and the caller should provide its value as a `token` request parameter to retrieve the next page. This method should no longer be used to retrieve subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.</p>
9292
<p class="toc_element">
9393
<code><a href="#patch">patch(packageName, sku, autoConvertMissingPrices=None, body=None, x__xgafv=None)</a></code></p>
94-
<p class="firstline">Patches an in-app product (i.e. a managed product or a subscription).</p>
94+
<p class="firstline">Patches an in-app product (i.e. a managed product or a subscription). This method should no longer be used to update subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.</p>
9595
<p class="toc_element">
9696
<code><a href="#update">update(packageName, sku, allowMissing=None, autoConvertMissingPrices=None, body=None, x__xgafv=None)</a></code></p>
97-
<p class="firstline">Updates an in-app product (i.e. a managed product or a subscription).</p>
97+
<p class="firstline">Updates an in-app product (i.e. a managed product or a subscription). This method should no longer be used to update subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.</p>
9898
<h3>Method Details</h3>
9999
<div class="method">
100100
<code class="details" id="close">close()</code>
@@ -103,7 +103,7 @@ <h3>Method Details</h3>
103103

104104
<div class="method">
105105
<code class="details" id="delete">delete(packageName, sku, x__xgafv=None)</code>
106-
<pre>Deletes an in-app product (i.e. a managed product or a subscription).
106+
<pre>Deletes an in-app product (i.e. a managed product or a subscription). This method should no longer be used to delete subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.
107107

108108
Args:
109109
packageName: string, Package name of the app. (required)
@@ -117,7 +117,7 @@ <h3>Method Details</h3>
117117

118118
<div class="method">
119119
<code class="details" id="get">get(packageName, sku, x__xgafv=None)</code>
120-
<pre>Gets an in-app product, which can be a managed product or a subscription.
120+
<pre>Gets an in-app product, which can be a managed product or a subscription. This method should no longer be used to retrieve subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.
121121

122122
Args:
123123
packageName: string, Package name of the app. (required)
@@ -183,7 +183,7 @@ <h3>Method Details</h3>
183183

184184
<div class="method">
185185
<code class="details" id="insert">insert(packageName, autoConvertMissingPrices=None, body=None, x__xgafv=None)</code>
186-
<pre>Creates an in-app product (i.e. a managed product or a subscription).
186+
<pre>Creates an in-app product (i.e. a managed product or a subscription). This method should no longer be used to create subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.
187187

188188
Args:
189189
packageName: string, Package name of the app. (required)
@@ -302,7 +302,7 @@ <h3>Method Details</h3>
302302

303303
<div class="method">
304304
<code class="details" id="list">list(packageName, maxResults=None, startIndex=None, token=None, x__xgafv=None)</code>
305-
<pre>Lists all in-app products - both managed products and subscriptions. If an app has a large number of in-app products, the response may be paginated. In this case the response field `tokenPagination.nextPageToken` will be set and the caller should provide its value as a `token` request parameter to retrieve the next page.
305+
<pre>Lists all in-app products - both managed products and subscriptions. If an app has a large number of in-app products, the response may be paginated. In this case the response field `tokenPagination.nextPageToken` will be set and the caller should provide its value as a `token` request parameter to retrieve the next page. This method should no longer be used to retrieve subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.
306306

307307
Args:
308308
packageName: string, Package name of the app. (required)
@@ -384,7 +384,7 @@ <h3>Method Details</h3>
384384

385385
<div class="method">
386386
<code class="details" id="patch">patch(packageName, sku, autoConvertMissingPrices=None, body=None, x__xgafv=None)</code>
387-
<pre>Patches an in-app product (i.e. a managed product or a subscription).
387+
<pre>Patches an in-app product (i.e. a managed product or a subscription). This method should no longer be used to update subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.
388388

389389
Args:
390390
packageName: string, Package name of the app. (required)
@@ -504,7 +504,7 @@ <h3>Method Details</h3>
504504

505505
<div class="method">
506506
<code class="details" id="update">update(packageName, sku, allowMissing=None, autoConvertMissingPrices=None, body=None, x__xgafv=None)</code>
507-
<pre>Updates an in-app product (i.e. a managed product or a subscription).
507+
<pre>Updates an in-app product (i.e. a managed product or a subscription). This method should no longer be used to update subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.
508508

509509
Args:
510510
packageName: string, Package name of the app. (required)

docs/dyn/androidpublisher_v3.purchases.subscriptionsv2.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ <h3>Method Details</h3>
140140
&quot;priceChangeState&quot;: &quot;A String&quot;, # State the price change is currently in.
141141
},
142142
},
143+
&quot;deferredItemReplacement&quot;: { # Information related to deferred item replacement. # Information for deferred item replacement.
144+
&quot;productId&quot;: &quot;A String&quot;, # The product_id going to replace the existing product_id.
145+
},
143146
&quot;expiryTime&quot;: &quot;A String&quot;, # Time at which the subscription expired or will expire unless the access is extended (ex. renews).
144147
&quot;offerDetails&quot;: { # Offer details information related to a purchase line item. # The offer details for this item.
145148
&quot;basePlanId&quot;: &quot;A String&quot;, # The base plan ID. Present for all base plan and offers.

googleapiclient/discovery_cache/documents/androidpublisher.v3.json

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@
632632
"accept": [
633633
"application/octet-stream"
634634
],
635-
"maxSize": "838860800",
635+
"maxSize": "1258291200",
636636
"protocols": {
637637
"resumable": {
638638
"multipart": true,
@@ -2099,7 +2099,7 @@
20992099
"inappproducts": {
21002100
"methods": {
21012101
"delete": {
2102-
"description": "Deletes an in-app product (i.e. a managed product or a subscription).",
2102+
"description": "Deletes an in-app product (i.e. a managed product or a subscription). This method should no longer be used to delete subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.",
21032103
"flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts/{sku}",
21042104
"httpMethod": "DELETE",
21052105
"id": "androidpublisher.inappproducts.delete",
@@ -2127,7 +2127,7 @@
21272127
]
21282128
},
21292129
"get": {
2130-
"description": "Gets an in-app product, which can be a managed product or a subscription.",
2130+
"description": "Gets an in-app product, which can be a managed product or a subscription. This method should no longer be used to retrieve subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.",
21312131
"flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts/{sku}",
21322132
"httpMethod": "GET",
21332133
"id": "androidpublisher.inappproducts.get",
@@ -2158,7 +2158,7 @@
21582158
]
21592159
},
21602160
"insert": {
2161-
"description": "Creates an in-app product (i.e. a managed product or a subscription).",
2161+
"description": "Creates an in-app product (i.e. a managed product or a subscription). This method should no longer be used to create subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.",
21622162
"flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts",
21632163
"httpMethod": "POST",
21642164
"id": "androidpublisher.inappproducts.insert",
@@ -2190,7 +2190,7 @@
21902190
]
21912191
},
21922192
"list": {
2193-
"description": "Lists all in-app products - both managed products and subscriptions. If an app has a large number of in-app products, the response may be paginated. In this case the response field `tokenPagination.nextPageToken` will be set and the caller should provide its value as a `token` request parameter to retrieve the next page.",
2193+
"description": "Lists all in-app products - both managed products and subscriptions. If an app has a large number of in-app products, the response may be paginated. In this case the response field `tokenPagination.nextPageToken` will be set and the caller should provide its value as a `token` request parameter to retrieve the next page. This method should no longer be used to retrieve subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.",
21942194
"flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts",
21952195
"httpMethod": "GET",
21962196
"id": "androidpublisher.inappproducts.list",
@@ -2233,7 +2233,7 @@
22332233
]
22342234
},
22352235
"patch": {
2236-
"description": "Patches an in-app product (i.e. a managed product or a subscription).",
2236+
"description": "Patches an in-app product (i.e. a managed product or a subscription). This method should no longer be used to update subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.",
22372237
"flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts/{sku}",
22382238
"httpMethod": "PATCH",
22392239
"id": "androidpublisher.inappproducts.patch",
@@ -2272,7 +2272,7 @@
22722272
]
22732273
},
22742274
"update": {
2275-
"description": "Updates an in-app product (i.e. a managed product or a subscription).",
2275+
"description": "Updates an in-app product (i.e. a managed product or a subscription). This method should no longer be used to update subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information.",
22762276
"flatPath": "androidpublisher/v3/applications/{packageName}/inappproducts/{sku}",
22772277
"httpMethod": "PUT",
22782278
"id": "androidpublisher.inappproducts.update",
@@ -4047,7 +4047,7 @@
40474047
}
40484048
}
40494049
},
4050-
"revision": "20230605",
4050+
"revision": "20230620",
40514051
"rootUrl": "https://androidpublisher.googleapis.com/",
40524052
"schemas": {
40534053
"AcquisitionTargetingRule": {
@@ -4510,6 +4510,17 @@
45104510
"properties": {},
45114511
"type": "object"
45124512
},
4513+
"DeferredItemReplacement": {
4514+
"description": "Information related to deferred item replacement.",
4515+
"id": "DeferredItemReplacement",
4516+
"properties": {
4517+
"productId": {
4518+
"description": "The product_id going to replace the existing product_id.",
4519+
"type": "string"
4520+
}
4521+
},
4522+
"type": "object"
4523+
},
45134524
"DeobfuscationFile": {
45144525
"description": "Represents a deobfuscation file.",
45154526
"id": "DeobfuscationFile",
@@ -6665,6 +6676,10 @@
66656676
"$ref": "AutoRenewingPlan",
66666677
"description": "The item is auto renewing."
66676678
},
6679+
"deferredItemReplacement": {
6680+
"$ref": "DeferredItemReplacement",
6681+
"description": "Information for deferred item replacement."
6682+
},
66686683
"expiryTime": {
66696684
"description": "Time at which the subscription expired or will expire unless the access is extended (ex. renews).",
66706685
"format": "google-datetime",

0 commit comments

Comments
 (0)