Skip to content

Commit

Permalink
feat(paymentsresellersubscription)!: update the API
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This release has breaking changes.

#### paymentsresellersubscription:v1

The following keys were deleted:
- schemas.GoogleCloudPaymentsResellerSubscriptionV1Promotion.properties.freeTrialDuration.readOnly

The following keys were changed:
- schemas.GoogleCloudPaymentsResellerSubscriptionV1Promotion.properties.freeTrialDuration.description
  • Loading branch information
yoshi-automation authored and sofisl committed Oct 1, 2021
1 parent 33297c0 commit 6564211
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions discovery/paymentsresellersubscription-v1.json
Expand Up @@ -366,7 +366,7 @@
}
}
},
"revision": "20210922",
"revision": "20210930",
"rootUrl": "https://paymentsresellersubscription.googleapis.com/",
"schemas": {
"GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest": {
Expand Down Expand Up @@ -604,8 +604,7 @@
},
"freeTrialDuration": {
"$ref": "GoogleCloudPaymentsResellerSubscriptionV1Duration",
"description": "Output only. Specifies the duration of the free trial of the subscription.",
"readOnly": true
"description": "Optional. Specifies the duration of the free trial of the subscription when promotion_type is PROMOTION_TYPE_FREE_TRIAL"
},
"name": {
"description": "Output only. Response only. Resource name of the subscription promotion. It will have the format of \"partners/{partner_id}/promotion/{promotion_id}\"",
Expand Down
2 changes: 1 addition & 1 deletion src/apis/paymentsresellersubscription/v1.ts
Expand Up @@ -267,7 +267,7 @@ export namespace paymentsresellersubscription_v1 {
*/
endTime?: string | null;
/**
* Output only. Specifies the duration of the free trial of the subscription.
* Optional. Specifies the duration of the free trial of the subscription when promotion_type is PROMOTION_TYPE_FREE_TRIAL
*/
freeTrialDuration?: Schema$GoogleCloudPaymentsResellerSubscriptionV1Duration;
/**
Expand Down

0 comments on commit 6564211

Please sign in to comment.