Skip to content

Commit b2ce29f

Browse files
yoshi-automationsofisl
authored andcommitted
fix(paymentsresellersubscription): update the API
#### paymentsresellersubscription:v1 The following keys were changed: - resources.partners.resources.products.methods.list.description - resources.partners.resources.promotions.methods.list.description - resources.partners.resources.subscriptions.methods.undoCancel.description - schemas.GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest.properties.cancelImmediately.description - schemas.GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest.description
1 parent 1a450f6 commit b2ce29f

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

discovery/paymentsresellersubscription-v1.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
"products": {
111111
"methods": {
112112
"list": {
113-
"description": "To retrieve the products that can be resold by the partner. It should be autenticated with a service account.",
113+
"description": "To retrieve the products that can be resold by the partner. It should be autenticated with a service account. - This API doesn't apply to YouTube products currently.",
114114
"flatPath": "v1/partners/{partnersId}/products",
115115
"httpMethod": "GET",
116116
"id": "paymentsresellersubscription.partners.products.list",
@@ -183,7 +183,7 @@
183183
]
184184
},
185185
"list": {
186-
"description": "To retrieve the promotions, such as free trial, that can be used by the partner. It should be autenticated with a service account.",
186+
"description": "Retrieves the promotions, such as free trial, that can be used by the partner. - This API doesn't apply to YouTube promotions currently. It should be autenticated with a service account.",
187187
"flatPath": "v1/partners/{partnersId}/promotions",
188188
"httpMethod": "GET",
189189
"id": "paymentsresellersubscription.partners.promotions.list",
@@ -403,7 +403,7 @@
403403
]
404404
},
405405
"undoCancel": {
406-
"description": "Used by partners to revoke the pending cancellation of a subscription, which is currently in `STATE_CANCEL_AT_END_OF_CYCLE` state. If the subscription is already cancelled, the request will fail. It should be called directly by the partner using service accounts.",
406+
"description": "Revokes the pending cancellation of a subscription, which is currently in `STATE_CANCEL_AT_END_OF_CYCLE` state. If the subscription is already cancelled, the request will fail. - **This API doesn't apply to YouTube subscriptions.** It should be called directly by the partner using service accounts.",
407407
"flatPath": "v1/partners/{partnersId}/subscriptions/{subscriptionsId}:undoCancel",
408408
"httpMethod": "POST",
409409
"id": "paymentsresellersubscription.partners.subscriptions.undoCancel",
@@ -435,7 +435,7 @@
435435
}
436436
}
437437
},
438-
"revision": "20240430",
438+
"revision": "20240626",
439439
"rootUrl": "https://paymentsresellersubscription.googleapis.com/",
440440
"schemas": {
441441
"GoogleCloudPaymentsResellerSubscriptionV1Amount": {
@@ -459,7 +459,7 @@
459459
"id": "GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest",
460460
"properties": {
461461
"cancelImmediately": {
462-
"description": "Optional. If true, Google will cancel the subscription immediately, and may or may not (based on the contract) issue a prorated refund for the remainder of the billing cycle. Otherwise, Google defers the cancelation at renewal_time, and will not issue a refund.",
462+
"description": "Optional. If true, Google will cancel the subscription immediately, and may or may not (based on the contract) issue a prorated refund for the remainder of the billing cycle. Otherwise, Google defers the cancelation at renewal_time, and will not issue a refund. - YouTube subscriptions must use this option currently. However, the user will still have access to the subscription until the end of the billing cycle.",
463463
"type": "boolean"
464464
},
465465
"cancellationReason": {
@@ -535,7 +535,7 @@
535535
"type": "object"
536536
},
537537
"GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest": {
538-
"description": "Partner request for entitling the previously provisioned subscription to an end user. The end user identity is inferred from the request OAuth context.",
538+
"description": "LINT.IfChange Partner request for entitling the previously provisioned subscription to an end user. The end user identity is inferred from the request OAuth context.",
539539
"id": "GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest",
540540
"properties": {
541541
"lineItemEntitlementDetails": {

src/apis/paymentsresellersubscription/v1.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export namespace paymentsresellersubscription_v1 {
142142
*/
143143
export interface Schema$GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest {
144144
/**
145-
* Optional. If true, Google will cancel the subscription immediately, and may or may not (based on the contract) issue a prorated refund for the remainder of the billing cycle. Otherwise, Google defers the cancelation at renewal_time, and will not issue a refund.
145+
* Optional. If true, Google will cancel the subscription immediately, and may or may not (based on the contract) issue a prorated refund for the remainder of the billing cycle. Otherwise, Google defers the cancelation at renewal_time, and will not issue a refund. - YouTube subscriptions must use this option currently. However, the user will still have access to the subscription until the end of the billing cycle.
146146
*/
147147
cancelImmediately?: boolean | null;
148148
/**
@@ -173,7 +173,7 @@ export namespace paymentsresellersubscription_v1 {
173173
unit?: string | null;
174174
}
175175
/**
176-
* Partner request for entitling the previously provisioned subscription to an end user. The end user identity is inferred from the request OAuth context.
176+
* LINT.IfChange Partner request for entitling the previously provisioned subscription to an end user. The end user identity is inferred from the request OAuth context.
177177
*/
178178
export interface Schema$GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest {
179179
/**
@@ -786,7 +786,7 @@ export namespace paymentsresellersubscription_v1 {
786786
}
787787

788788
/**
789-
* To retrieve the products that can be resold by the partner. It should be autenticated with a service account.
789+
* To retrieve the products that can be resold by the partner. It should be autenticated with a service account. - This API doesn't apply to YouTube products currently.
790790
*
791791
* @param params - Parameters for request
792792
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -1011,7 +1011,7 @@ export namespace paymentsresellersubscription_v1 {
10111011
}
10121012

10131013
/**
1014-
* To retrieve the promotions, such as free trial, that can be used by the partner. It should be autenticated with a service account.
1014+
* Retrieves the promotions, such as free trial, that can be used by the partner. - This API doesn't apply to YouTube promotions currently. It should be autenticated with a service account.
10151015
*
10161016
* @param params - Parameters for request
10171017
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -1734,7 +1734,7 @@ export namespace paymentsresellersubscription_v1 {
17341734
}
17351735

17361736
/**
1737-
* Used by partners to revoke the pending cancellation of a subscription, which is currently in `STATE_CANCEL_AT_END_OF_CYCLE` state. If the subscription is already cancelled, the request will fail. It should be called directly by the partner using service accounts.
1737+
* Revokes the pending cancellation of a subscription, which is currently in `STATE_CANCEL_AT_END_OF_CYCLE` state. If the subscription is already cancelled, the request will fail. - **This API doesn't apply to YouTube subscriptions.** It should be called directly by the partner using service accounts.
17381738
*
17391739
* @param params - Parameters for request
17401740
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.

0 commit comments

Comments
 (0)