Skip to content

Commit d0fae46

Browse files
feat(paymentsresellersubscription): update the api
#### paymentsresellersubscription:v1 The following keys were added: - schemas.GoogleCloudPaymentsResellerSubscriptionV1Product.properties.bundleDetails (Total Keys: 2) - schemas.GoogleCloudPaymentsResellerSubscriptionV1Product.properties.productType (Total Keys: 2) - schemas.GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails (Total Keys: 8)
1 parent 66dd9d0 commit d0fae46

File tree

2 files changed

+70
-1
lines changed

2 files changed

+70
-1
lines changed

docs/dyn/paymentsresellersubscription_v1.partners.products.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,14 @@ <h3>Method Details</h3>
110110
&quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is empty, there are no subsequent pages.
111111
&quot;products&quot;: [ # The products for the specified partner.
112112
{ # A Product resource that defines a subscription service that can be resold.
113+
&quot;bundleDetails&quot;: { # Details for a bundle product. # Output only. Output Only. Specifies the details for a bundle product.
114+
&quot;bundleElements&quot;: [ # The individual products that are included in the bundle.
115+
{ # The individual product that is included in the bundle.
116+
&quot;product&quot;: &quot;A String&quot;, # Required. Output only. Product resource name that identifies the bundle element. The format is &#x27;partners/{partner_id}/products/{product_id}&#x27;.
117+
},
118+
],
119+
&quot;entitlementMode&quot;: &quot;A String&quot;, # The entitlement mode of the bundle product.
120+
},
113121
&quot;finiteBillingCycleDetails&quot;: { # Details for a subscriptiin line item with finite billing cycles. # Optional. Details for a subscription line item with finite billing cycles. If unset, the line item will be charged indefinitely.
114122
&quot;billingCycleCountLimit&quot;: &quot;A String&quot;, # Required. The number of a subscription line item billing cycles after which billing will stop automatically.
115123
},
@@ -123,6 +131,7 @@ <h3>Method Details</h3>
123131
&quot;regionCode&quot;: &quot;A String&quot;, # Output only. 2-letter ISO region code where the product is available in. Ex. &quot;US&quot;.
124132
},
125133
],
134+
&quot;productType&quot;: &quot;A String&quot;, # Output only. Output Only. Specifies the type of the product.
126135
&quot;regionCodes&quot;: [ # Output only. 2-letter ISO region code where the product is available in. Ex. &quot;US&quot; Please refers to: https://en.wikipedia.org/wiki/ISO_3166-1
127136
&quot;A String&quot;,
128137
],

googleapiclient/discovery_cache/documents/paymentsresellersubscription.v1.json

Lines changed: 61 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@
396396
}
397397
}
398398
},
399-
"revision": "20230910",
399+
"revision": "20230914",
400400
"rootUrl": "https://paymentsresellersubscription.googleapis.com/",
401401
"schemas": {
402402
"GoogleCloudPaymentsResellerSubscriptionV1Amount": {
@@ -715,6 +715,11 @@
715715
"description": "A Product resource that defines a subscription service that can be resold.",
716716
"id": "GoogleCloudPaymentsResellerSubscriptionV1Product",
717717
"properties": {
718+
"bundleDetails": {
719+
"$ref": "GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails",
720+
"description": "Output only. Output Only. Specifies the details for a bundle product.",
721+
"readOnly": true
722+
},
718723
"finiteBillingCycleDetails": {
719724
"$ref": "GoogleCloudPaymentsResellerSubscriptionV1FiniteBillingCycleDetails",
720725
"description": "Optional. Details for a subscription line item with finite billing cycles. If unset, the line item will be charged indefinitely."
@@ -732,6 +737,21 @@
732737
"readOnly": true,
733738
"type": "array"
734739
},
740+
"productType": {
741+
"description": "Output only. Output Only. Specifies the type of the product.",
742+
"enum": [
743+
"PRODUCT_TYPE_UNSPECIFIED",
744+
"PRODUCT_TYPE_SUBSCRIPTION",
745+
"PRODUCT_TYPE_BUNDLE_SUBSCRIPTION"
746+
],
747+
"enumDescriptions": [
748+
"Unspecified. It's reserved as an unexpected value, should not be used.",
749+
"The product is a subscription.",
750+
"The product is a bundled subscription plan, which includes multiple subscription elements."
751+
],
752+
"readOnly": true,
753+
"type": "string"
754+
},
735755
"regionCodes": {
736756
"description": "Output only. 2-letter ISO region code where the product is available in. Ex. \"US\" Please refers to: https://en.wikipedia.org/wiki/ISO_3166-1",
737757
"items": {
@@ -756,6 +776,46 @@
756776
},
757777
"type": "object"
758778
},
779+
"GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails": {
780+
"description": "Details for a bundle product.",
781+
"id": "GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetails",
782+
"properties": {
783+
"bundleElements": {
784+
"description": "The individual products that are included in the bundle.",
785+
"items": {
786+
"$ref": "GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement"
787+
},
788+
"type": "array"
789+
},
790+
"entitlementMode": {
791+
"description": "The entitlement mode of the bundle product.",
792+
"enum": [
793+
"ENTITLEMENT_MODE_UNSPECIFIED",
794+
"ENTITLEMENT_MODE_FULL",
795+
"ENTITLEMENT_MODE_INCREMENTAL"
796+
],
797+
"enumDescriptions": [
798+
"Unspecified. It's reserved as an unexpected value, should not be used.",
799+
"All the bundle elements must be fully activated in a single request.",
800+
"The bundle elements could be incrementally activated."
801+
],
802+
"type": "string"
803+
}
804+
},
805+
"type": "object"
806+
},
807+
"GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement": {
808+
"description": "The individual product that is included in the bundle.",
809+
"id": "GoogleCloudPaymentsResellerSubscriptionV1ProductBundleDetailsBundleElement",
810+
"properties": {
811+
"product": {
812+
"description": "Required. Output only. Product resource name that identifies the bundle element. The format is 'partners/{partner_id}/products/{product_id}'.",
813+
"readOnly": true,
814+
"type": "string"
815+
}
816+
},
817+
"type": "object"
818+
},
759819
"GoogleCloudPaymentsResellerSubscriptionV1ProductPayload": {
760820
"description": "Specifies product specific payload.",
761821
"id": "GoogleCloudPaymentsResellerSubscriptionV1ProductPayload",

0 commit comments

Comments
 (0)