Skip to content

Commit 87d70bb

Browse files
feat(paymentsresellersubscription): update the api
#### paymentsresellersubscription:v1 The following keys were deleted: - schemas.GoogleCloudPaymentsResellerSubscriptionV1Promotion.properties.freeTrialDuration.readOnly (Total Keys: 1)
1 parent 27bba47 commit 87d70bb

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

docs/dyn/paymentsresellersubscription_v1.partners.promotions.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ <h3>Method Details</h3>
114114
&quot;A String&quot;,
115115
],
116116
&quot;endTime&quot;: &quot;A String&quot;, # Optional. Specifies the end time (exclusive) of the period that the promotion is available in. If unset, the promotion is available indefinitely.
117-
&quot;freeTrialDuration&quot;: { # Describes the length of a period of a time. # Output only. Specifies the duration of the free trial of the subscription.
117+
&quot;freeTrialDuration&quot;: { # Describes the length of a period of a time. # Optional. Specifies the duration of the free trial of the subscription when promotion_type is PROMOTION_TYPE_FREE_TRIAL
118118
&quot;count&quot;: 42, # number of duration units to be included.
119119
&quot;unit&quot;: &quot;A String&quot;, # The unit used for the duration
120120
},

googleapiclient/discovery_cache/documents/paymentsresellersubscription.v1.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@
366366
}
367367
}
368368
},
369-
"revision": "20210927",
369+
"revision": "20211004",
370370
"rootUrl": "https://paymentsresellersubscription.googleapis.com/",
371371
"schemas": {
372372
"GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest": {
@@ -604,8 +604,7 @@
604604
},
605605
"freeTrialDuration": {
606606
"$ref": "GoogleCloudPaymentsResellerSubscriptionV1Duration",
607-
"description": "Output only. Specifies the duration of the free trial of the subscription.",
608-
"readOnly": true
607+
"description": "Optional. Specifies the duration of the free trial of the subscription when promotion_type is PROMOTION_TYPE_FREE_TRIAL"
609608
},
610609
"name": {
611610
"description": "Output only. Response only. Resource name of the subscription promotion. It will have the format of \"partners/{partner_id}/promotion/{promotion_id}\"",

0 commit comments

Comments
 (0)