Skip to content

Commit efb5b4f

Browse files
feat(paymentsresellersubscription): update the api
#### paymentsresellersubscription:v1 The following keys were added: - schemas.GoogleCloudPaymentsResellerSubscriptionV1Promotion.properties.introductoryPricingDetails.$ref (Total Keys: 1) - schemas.GoogleCloudPaymentsResellerSubscriptionV1Promotion.properties.promotionType (Total Keys: 2) - schemas.GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails (Total Keys: 9)
1 parent 9189ae2 commit efb5b4f

File tree

2 files changed

+55
-1
lines changed

2 files changed

+55
-1
lines changed

docs/dyn/paymentsresellersubscription_v1.partners.promotions.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,15 @@ <h3>Method Details</h3>
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
},
121+
&quot;introductoryPricingDetails&quot;: { # The details of a introductory pricing promotion. # Optional. Specifies the introductory pricing details when the promotion_type is PROMOTION_TYPE_INTRODUCTORY_PRICING.
122+
&quot;introductoryPricingSpecs&quot;: [ # Specifies the introductory pricing periods.
123+
{ # The duration of an introductory pricing promotion.
124+
&quot;recurrenceCount&quot;: 42, # Output only. Output Only. The duration of an introductory offer in billing cycles.
125+
},
126+
],
127+
},
121128
&quot;name&quot;: &quot;A String&quot;, # Output only. Response only. Resource name of the subscription promotion. It will have the format of &quot;partners/{partner_id}/promotion/{promotion_id}&quot;
129+
&quot;promotionType&quot;: &quot;A String&quot;, # Output only. Output Only. Specifies the type of the promotion.
122130
&quot;regionCodes&quot;: [ # Output only. 2-letter ISO region code where the promotion is available in. Ex. &quot;US&quot; Please refers to: https://en.wikipedia.org/wiki/ISO_3166-1
123131
&quot;A String&quot;,
124132
],

googleapiclient/discovery_cache/documents/paymentsresellersubscription.v1.json

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@
366366
}
367367
}
368368
},
369-
"revision": "20211031",
369+
"revision": "20211108",
370370
"rootUrl": "https://paymentsresellersubscription.googleapis.com/",
371371
"schemas": {
372372
"GoogleCloudPaymentsResellerSubscriptionV1CancelSubscriptionRequest": {
@@ -612,11 +612,30 @@
612612
"$ref": "GoogleCloudPaymentsResellerSubscriptionV1Duration",
613613
"description": "Optional. Specifies the duration of the free trial of the subscription when promotion_type is PROMOTION_TYPE_FREE_TRIAL"
614614
},
615+
"introductoryPricingDetails": {
616+
"$ref": "GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails",
617+
"description": "Optional. Specifies the introductory pricing details when the promotion_type is PROMOTION_TYPE_INTRODUCTORY_PRICING."
618+
},
615619
"name": {
616620
"description": "Output only. Response only. Resource name of the subscription promotion. It will have the format of \"partners/{partner_id}/promotion/{promotion_id}\"",
617621
"readOnly": true,
618622
"type": "string"
619623
},
624+
"promotionType": {
625+
"description": "Output only. Output Only. Specifies the type of the promotion.",
626+
"enum": [
627+
"PROMOTION_TYPE_UNSPECIFIED",
628+
"PROMOTION_TYPE_FREE_TRIAL",
629+
"PROMOTION_TYPE_INTRODUCTORY_PRICING"
630+
],
631+
"enumDescriptions": [
632+
"The promotion type is unspecified.",
633+
"The promotion is a free trial.",
634+
"The promotion is a reduced introductory pricing."
635+
],
636+
"readOnly": true,
637+
"type": "string"
638+
},
620639
"regionCodes": {
621640
"description": "Output only. 2-letter ISO region code where the promotion is available in. Ex. \"US\" Please refers to: https://en.wikipedia.org/wiki/ISO_3166-1",
622641
"items": {
@@ -641,6 +660,33 @@
641660
},
642661
"type": "object"
643662
},
663+
"GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails": {
664+
"description": "The details of a introductory pricing promotion.",
665+
"id": "GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetails",
666+
"properties": {
667+
"introductoryPricingSpecs": {
668+
"description": "Specifies the introductory pricing periods.",
669+
"items": {
670+
"$ref": "GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec"
671+
},
672+
"type": "array"
673+
}
674+
},
675+
"type": "object"
676+
},
677+
"GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec": {
678+
"description": "The duration of an introductory pricing promotion.",
679+
"id": "GoogleCloudPaymentsResellerSubscriptionV1PromotionIntroductoryPricingDetailsIntroductoryPricingSpec",
680+
"properties": {
681+
"recurrenceCount": {
682+
"description": "Output only. Output Only. The duration of an introductory offer in billing cycles.",
683+
"format": "int32",
684+
"readOnly": true,
685+
"type": "integer"
686+
}
687+
},
688+
"type": "object"
689+
},
644690
"GoogleCloudPaymentsResellerSubscriptionV1Subscription": {
645691
"description": "A Subscription resource managed by 3P Partners.",
646692
"id": "GoogleCloudPaymentsResellerSubscriptionV1Subscription",

0 commit comments

Comments
 (0)