diff --git a/discovery/androidpublisher-v3.json b/discovery/androidpublisher-v3.json index 1498d85324..aacd48dbb0 100644 --- a/discovery/androidpublisher-v3.json +++ b/discovery/androidpublisher-v3.json @@ -15,7 +15,7 @@ "description": "Accesses Android application developers' Google Play accounts.", "discoveryVersion": "v1", "documentationLink": "https://developers.google.com/android-publisher", - "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/SetFLBXGvnz8NnoZq8WRUMdUaG4\"", + "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/944s_nQUBB2zQT_SQbdy8UnEiHI\"", "icons": { "x16": "https://www.google.com/images/icons/product/android-16.png", "x32": "https://www.google.com/images/icons/product/android-32.png" @@ -2555,7 +2555,7 @@ } } }, - "revision": "20200505", + "revision": "20200602", "rootUrl": "https://www.googleapis.com/", "schemas": { "Apk": { @@ -3084,6 +3084,10 @@ "description": "Purchase type enum value. Unmodifiable after creation.", "type": "string" }, + "resubscribeEligibility": { + "description": "Whether or not the developer wants the specific subscription to be resubscribable. If the developer doesn't use PBL2.0, this value is ignored since the feature is only for developers using PBL2.0. This feature allows users to resubscribe to an expired subscription directly from the subscription center by clicking on a \"Resubscribe\" CTA under the entry for the expired subscription.", + "type": "string" + }, "sku": { "description": "The stock-keeping-unit (SKU) of the product, unique within an app.", "type": "string" @@ -3105,10 +3109,19 @@ "InAppProductListing": { "id": "InAppProductListing", "properties": { + "benefits": { + "description": "The localized entitlement benefits of the in-app product. These are supported only for subscriptions.", + "items": { + "type": "string" + }, + "type": "array" + }, "description": { + "description": "The localized description of the in-app product. These are deprecated for subscriptions.", "type": "string" }, "title": { + "description": "The localized title of the in-app product.", "type": "string" } }, diff --git a/src/apis/androidpublisher/v3.ts b/src/apis/androidpublisher/v3.ts index 97aaf440aa..1f852e2c95 100644 --- a/src/apis/androidpublisher/v3.ts +++ b/src/apis/androidpublisher/v3.ts @@ -459,6 +459,10 @@ export namespace androidpublisher_v3 { * Purchase type enum value. Unmodifiable after creation. */ purchaseType?: string | null; + /** + * Whether or not the developer wants the specific subscription to be resubscribable. If the developer doesn't use PBL2.0, this value is ignored since the feature is only for developers using PBL2.0. This feature allows users to resubscribe to an expired subscription directly from the subscription center by clicking on a "Resubscribe" CTA under the entry for the expired subscription. + */ + resubscribeEligibility?: string | null; /** * The stock-keeping-unit (SKU) of the product, unique within an app. */ @@ -474,7 +478,17 @@ export namespace androidpublisher_v3 { trialPeriod?: string | null; } export interface Schema$InAppProductListing { + /** + * The localized entitlement benefits of the in-app product. These are supported only for subscriptions. + */ + benefits?: string[] | null; + /** + * The localized description of the in-app product. These are deprecated for subscriptions. + */ description?: string | null; + /** + * The localized title of the in-app product. + */ title?: string | null; } export interface Schema$InappproductsListResponse { @@ -7076,6 +7090,7 @@ export namespace androidpublisher_v3 { * // "packageName": "my_packageName", * // "prices": {}, * // "purchaseType": "my_purchaseType", + * // "resubscribeEligibility": "my_resubscribeEligibility", * // "sku": "my_sku", * // "status": "my_status", * // "subscriptionPeriod": "my_subscriptionPeriod", @@ -7220,6 +7235,7 @@ export namespace androidpublisher_v3 { * // "packageName": "my_packageName", * // "prices": {}, * // "purchaseType": "my_purchaseType", + * // "resubscribeEligibility": "my_resubscribeEligibility", * // "sku": "my_sku", * // "status": "my_status", * // "subscriptionPeriod": "my_subscriptionPeriod", @@ -7238,6 +7254,7 @@ export namespace androidpublisher_v3 { * // "packageName": "my_packageName", * // "prices": {}, * // "purchaseType": "my_purchaseType", + * // "resubscribeEligibility": "my_resubscribeEligibility", * // "sku": "my_sku", * // "status": "my_status", * // "subscriptionPeriod": "my_subscriptionPeriod", @@ -7534,6 +7551,7 @@ export namespace androidpublisher_v3 { * // "packageName": "my_packageName", * // "prices": {}, * // "purchaseType": "my_purchaseType", + * // "resubscribeEligibility": "my_resubscribeEligibility", * // "sku": "my_sku", * // "status": "my_status", * // "subscriptionPeriod": "my_subscriptionPeriod", @@ -7552,6 +7570,7 @@ export namespace androidpublisher_v3 { * // "packageName": "my_packageName", * // "prices": {}, * // "purchaseType": "my_purchaseType", + * // "resubscribeEligibility": "my_resubscribeEligibility", * // "sku": "my_sku", * // "status": "my_status", * // "subscriptionPeriod": "my_subscriptionPeriod", @@ -7700,6 +7719,7 @@ export namespace androidpublisher_v3 { * // "packageName": "my_packageName", * // "prices": {}, * // "purchaseType": "my_purchaseType", + * // "resubscribeEligibility": "my_resubscribeEligibility", * // "sku": "my_sku", * // "status": "my_status", * // "subscriptionPeriod": "my_subscriptionPeriod", @@ -7718,6 +7738,7 @@ export namespace androidpublisher_v3 { * // "packageName": "my_packageName", * // "prices": {}, * // "purchaseType": "my_purchaseType", + * // "resubscribeEligibility": "my_resubscribeEligibility", * // "sku": "my_sku", * // "status": "my_status", * // "subscriptionPeriod": "my_subscriptionPeriod",