From 78e141073fbc4a450cdfeebb67501eabb27f9e1a Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Fri, 2 Feb 2024 01:30:43 +0000 Subject: [PATCH] feat(paymentsresellersubscription): update the API #### paymentsresellersubscription:v1 The following keys were added: - schemas.GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload.properties.partnerPlanType.description - schemas.GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload.properties.partnerPlanType.enum - schemas.GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload.properties.partnerPlanType.enumDescriptions - schemas.GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload.properties.partnerPlanType.type --- discovery/paymentsresellersubscription-v1.json | 18 +++++++++++++++++- src/apis/paymentsresellersubscription/v1.ts | 4 ++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/discovery/paymentsresellersubscription-v1.json b/discovery/paymentsresellersubscription-v1.json index 3e532c0a48..0011495d99 100644 --- a/discovery/paymentsresellersubscription-v1.json +++ b/discovery/paymentsresellersubscription-v1.json @@ -435,7 +435,7 @@ } } }, - "revision": "20231212", + "revision": "20240131", "rootUrl": "https://paymentsresellersubscription.googleapis.com/", "schemas": { "GoogleCloudPaymentsResellerSubscriptionV1Amount": { @@ -1409,6 +1409,22 @@ "type": "string" }, "type": "array" + }, + "partnerPlanType": { + "description": "Optional. Specifies the plan type offered to the end user by the partner.", + "enum": [ + "PARTNER_PLAN_TYPE_UNSPECIFIED", + "PARTNER_PLAN_TYPE_STANDALONE", + "PARTNER_PLAN_TYPE_HARD_BUNDLE", + "PARTNER_PLAN_TYPE_SOFT_BUNDLE" + ], + "enumDescriptions": [ + "Unspecified. Should not use, reserved as an invalid value.", + "This item is offered as a standalone product to the user.", + "This item is bundled with another partner offering, the item is provisioned at purchase time.", + "This item is bundled with another partner offering, the item is provisioned after puchase, when the user opts in this Google service." + ], + "type": "string" } }, "type": "object" diff --git a/src/apis/paymentsresellersubscription/v1.ts b/src/apis/paymentsresellersubscription/v1.ts index ff776db90d..80398c9d98 100644 --- a/src/apis/paymentsresellersubscription/v1.ts +++ b/src/apis/paymentsresellersubscription/v1.ts @@ -700,6 +700,10 @@ export namespace paymentsresellersubscription_v1 { * The list of eligibility_ids which are applicable for the line item. */ partnerEligibilityIds?: string[] | null; + /** + * Optional. Specifies the plan type offered to the end user by the partner. + */ + partnerPlanType?: string | null; } /** * Localized variant of a text in a particular language.