Skip to content

Commit

Permalink
feat(paymentsresellersubscription): update the api
Browse files Browse the repository at this point in the history
#### paymentsresellersubscription:v1

The following keys were added:
- schemas.GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload.properties.partnerPlanType.type (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Feb 6, 2024
1 parent 245f8d9 commit 802c3be
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 10 deletions.
Expand Up @@ -122,7 +122,7 @@ <h3>Method Details</h3>
An object of the form:

{
&quot;subscription&quot;: { # A Subscription resource managed by 3P Partners. # The cancelled subscription resource.
&quot;subscription&quot;: { # A subscription serves as a central billing entity between an external partner and Google. The underlying Google services rely on the subscription state to grant or revoke the user&#x27;s service entitlement. It&#x27;s important to note that the subscription state may not always perfectly align with the user&#x27;s service entitlement. For example, some Google services may continue providing access to the user until the current billing cycle ends, even if the subscription has been immediately canceled. However, other services may not do the same. To fully understand the specific details, please consult the relevant contract or product policy. # The cancelled subscription resource.
&quot;cancellationDetails&quot;: { # Describes the details of a cancelled or cancelling subscription. # Output only. Describes the details of a cancelled subscription. Only applicable to subscription of state `STATE_CANCELLED`.
&quot;reason&quot;: &quot;A String&quot;, # The reason of the cancellation.
},
Expand Down Expand Up @@ -194,6 +194,7 @@ <h3>Method Details</h3>
&quot;partnerEligibilityIds&quot;: [ # The list of eligibility_ids which are applicable for the line item.
&quot;A String&quot;,
],
&quot;partnerPlanType&quot;: &quot;A String&quot;, # Optional. Specifies the plan type offered to the end user by the partner.
},
},
&quot;recurrenceType&quot;: &quot;A String&quot;, # Output only. The recurrence type of the line item.
Expand Down Expand Up @@ -262,7 +263,7 @@ <h3>Method Details</h3>
body: object, The request body.
The object takes the form of:

{ # A Subscription resource managed by 3P Partners.
{ # A subscription serves as a central billing entity between an external partner and Google. The underlying Google services rely on the subscription state to grant or revoke the user&#x27;s service entitlement. It&#x27;s important to note that the subscription state may not always perfectly align with the user&#x27;s service entitlement. For example, some Google services may continue providing access to the user until the current billing cycle ends, even if the subscription has been immediately canceled. However, other services may not do the same. To fully understand the specific details, please consult the relevant contract or product policy.
&quot;cancellationDetails&quot;: { # Describes the details of a cancelled or cancelling subscription. # Output only. Describes the details of a cancelled subscription. Only applicable to subscription of state `STATE_CANCELLED`.
&quot;reason&quot;: &quot;A String&quot;, # The reason of the cancellation.
},
Expand Down Expand Up @@ -334,6 +335,7 @@ <h3>Method Details</h3>
&quot;partnerEligibilityIds&quot;: [ # The list of eligibility_ids which are applicable for the line item.
&quot;A String&quot;,
],
&quot;partnerPlanType&quot;: &quot;A String&quot;, # Optional. Specifies the plan type offered to the end user by the partner.
},
},
&quot;recurrenceType&quot;: &quot;A String&quot;, # Output only. The recurrence type of the line item.
Expand Down Expand Up @@ -395,7 +397,7 @@ <h3>Method Details</h3>
Returns:
An object of the form:

{ # A Subscription resource managed by 3P Partners.
{ # A subscription serves as a central billing entity between an external partner and Google. The underlying Google services rely on the subscription state to grant or revoke the user&#x27;s service entitlement. It&#x27;s important to note that the subscription state may not always perfectly align with the user&#x27;s service entitlement. For example, some Google services may continue providing access to the user until the current billing cycle ends, even if the subscription has been immediately canceled. However, other services may not do the same. To fully understand the specific details, please consult the relevant contract or product policy.
&quot;cancellationDetails&quot;: { # Describes the details of a cancelled or cancelling subscription. # Output only. Describes the details of a cancelled subscription. Only applicable to subscription of state `STATE_CANCELLED`.
&quot;reason&quot;: &quot;A String&quot;, # The reason of the cancellation.
},
Expand Down Expand Up @@ -467,6 +469,7 @@ <h3>Method Details</h3>
&quot;partnerEligibilityIds&quot;: [ # The list of eligibility_ids which are applicable for the line item.
&quot;A String&quot;,
],
&quot;partnerPlanType&quot;: &quot;A String&quot;, # Optional. Specifies the plan type offered to the end user by the partner.
},
},
&quot;recurrenceType&quot;: &quot;A String&quot;, # Output only. The recurrence type of the line item.
Expand Down Expand Up @@ -549,7 +552,7 @@ <h3>Method Details</h3>
An object of the form:

{
&quot;subscription&quot;: { # A Subscription resource managed by 3P Partners. # The subscription that has user linked to it.
&quot;subscription&quot;: { # A subscription serves as a central billing entity between an external partner and Google. The underlying Google services rely on the subscription state to grant or revoke the user&#x27;s service entitlement. It&#x27;s important to note that the subscription state may not always perfectly align with the user&#x27;s service entitlement. For example, some Google services may continue providing access to the user until the current billing cycle ends, even if the subscription has been immediately canceled. However, other services may not do the same. To fully understand the specific details, please consult the relevant contract or product policy. # The subscription that has user linked to it.
&quot;cancellationDetails&quot;: { # Describes the details of a cancelled or cancelling subscription. # Output only. Describes the details of a cancelled subscription. Only applicable to subscription of state `STATE_CANCELLED`.
&quot;reason&quot;: &quot;A String&quot;, # The reason of the cancellation.
},
Expand Down Expand Up @@ -621,6 +624,7 @@ <h3>Method Details</h3>
&quot;partnerEligibilityIds&quot;: [ # The list of eligibility_ids which are applicable for the line item.
&quot;A String&quot;,
],
&quot;partnerPlanType&quot;: &quot;A String&quot;, # Optional. Specifies the plan type offered to the end user by the partner.
},
},
&quot;recurrenceType&quot;: &quot;A String&quot;, # Output only. The recurrence type of the line item.
Expand Down Expand Up @@ -724,7 +728,7 @@ <h3>Method Details</h3>
Returns:
An object of the form:

{ # A Subscription resource managed by 3P Partners.
{ # A subscription serves as a central billing entity between an external partner and Google. The underlying Google services rely on the subscription state to grant or revoke the user&#x27;s service entitlement. It&#x27;s important to note that the subscription state may not always perfectly align with the user&#x27;s service entitlement. For example, some Google services may continue providing access to the user until the current billing cycle ends, even if the subscription has been immediately canceled. However, other services may not do the same. To fully understand the specific details, please consult the relevant contract or product policy.
&quot;cancellationDetails&quot;: { # Describes the details of a cancelled or cancelling subscription. # Output only. Describes the details of a cancelled subscription. Only applicable to subscription of state `STATE_CANCELLED`.
&quot;reason&quot;: &quot;A String&quot;, # The reason of the cancellation.
},
Expand Down Expand Up @@ -796,6 +800,7 @@ <h3>Method Details</h3>
&quot;partnerEligibilityIds&quot;: [ # The list of eligibility_ids which are applicable for the line item.
&quot;A String&quot;,
],
&quot;partnerPlanType&quot;: &quot;A String&quot;, # Optional. Specifies the plan type offered to the end user by the partner.
},
},
&quot;recurrenceType&quot;: &quot;A String&quot;, # Output only. The recurrence type of the line item.
Expand Down Expand Up @@ -858,7 +863,7 @@ <h3>Method Details</h3>
body: object, The request body.
The object takes the form of:

{ # A Subscription resource managed by 3P Partners.
{ # A subscription serves as a central billing entity between an external partner and Google. The underlying Google services rely on the subscription state to grant or revoke the user&#x27;s service entitlement. It&#x27;s important to note that the subscription state may not always perfectly align with the user&#x27;s service entitlement. For example, some Google services may continue providing access to the user until the current billing cycle ends, even if the subscription has been immediately canceled. However, other services may not do the same. To fully understand the specific details, please consult the relevant contract or product policy.
&quot;cancellationDetails&quot;: { # Describes the details of a cancelled or cancelling subscription. # Output only. Describes the details of a cancelled subscription. Only applicable to subscription of state `STATE_CANCELLED`.
&quot;reason&quot;: &quot;A String&quot;, # The reason of the cancellation.
},
Expand Down Expand Up @@ -930,6 +935,7 @@ <h3>Method Details</h3>
&quot;partnerEligibilityIds&quot;: [ # The list of eligibility_ids which are applicable for the line item.
&quot;A String&quot;,
],
&quot;partnerPlanType&quot;: &quot;A String&quot;, # Optional. Specifies the plan type offered to the end user by the partner.
},
},
&quot;recurrenceType&quot;: &quot;A String&quot;, # Output only. The recurrence type of the line item.
Expand Down Expand Up @@ -991,7 +997,7 @@ <h3>Method Details</h3>
Returns:
An object of the form:

{ # A Subscription resource managed by 3P Partners.
{ # A subscription serves as a central billing entity between an external partner and Google. The underlying Google services rely on the subscription state to grant or revoke the user&#x27;s service entitlement. It&#x27;s important to note that the subscription state may not always perfectly align with the user&#x27;s service entitlement. For example, some Google services may continue providing access to the user until the current billing cycle ends, even if the subscription has been immediately canceled. However, other services may not do the same. To fully understand the specific details, please consult the relevant contract or product policy.
&quot;cancellationDetails&quot;: { # Describes the details of a cancelled or cancelling subscription. # Output only. Describes the details of a cancelled subscription. Only applicable to subscription of state `STATE_CANCELLED`.
&quot;reason&quot;: &quot;A String&quot;, # The reason of the cancellation.
},
Expand Down Expand Up @@ -1063,6 +1069,7 @@ <h3>Method Details</h3>
&quot;partnerEligibilityIds&quot;: [ # The list of eligibility_ids which are applicable for the line item.
&quot;A String&quot;,
],
&quot;partnerPlanType&quot;: &quot;A String&quot;, # Optional. Specifies the plan type offered to the end user by the partner.
},
},
&quot;recurrenceType&quot;: &quot;A String&quot;, # Output only. The recurrence type of the line item.
Expand Down Expand Up @@ -1137,7 +1144,7 @@ <h3>Method Details</h3>
An object of the form:

{ # Response that contains the updated subscription resource.
&quot;subscription&quot;: { # A Subscription resource managed by 3P Partners. # The updated subscription resource.
&quot;subscription&quot;: { # A subscription serves as a central billing entity between an external partner and Google. The underlying Google services rely on the subscription state to grant or revoke the user&#x27;s service entitlement. It&#x27;s important to note that the subscription state may not always perfectly align with the user&#x27;s service entitlement. For example, some Google services may continue providing access to the user until the current billing cycle ends, even if the subscription has been immediately canceled. However, other services may not do the same. To fully understand the specific details, please consult the relevant contract or product policy. # The updated subscription resource.
&quot;cancellationDetails&quot;: { # Describes the details of a cancelled or cancelling subscription. # Output only. Describes the details of a cancelled subscription. Only applicable to subscription of state `STATE_CANCELLED`.
&quot;reason&quot;: &quot;A String&quot;, # The reason of the cancellation.
},
Expand Down Expand Up @@ -1209,6 +1216,7 @@ <h3>Method Details</h3>
&quot;partnerEligibilityIds&quot;: [ # The list of eligibility_ids which are applicable for the line item.
&quot;A String&quot;,
],
&quot;partnerPlanType&quot;: &quot;A String&quot;, # Optional. Specifies the plan type offered to the end user by the partner.
},
},
&quot;recurrenceType&quot;: &quot;A String&quot;, # Output only. The recurrence type of the line item.
Expand Down
Expand Up @@ -435,7 +435,7 @@
}
}
},
"revision": "20240128",
"revision": "20240204",
"rootUrl": "https://paymentsresellersubscription.googleapis.com/",
"schemas": {
"GoogleCloudPaymentsResellerSubscriptionV1Amount": {
Expand Down Expand Up @@ -1018,7 +1018,7 @@
"type": "object"
},
"GoogleCloudPaymentsResellerSubscriptionV1Subscription": {
"description": "A Subscription resource managed by 3P Partners.",
"description": "A subscription serves as a central billing entity between an external partner and Google. The underlying Google services rely on the subscription state to grant or revoke the user's service entitlement. It's important to note that the subscription state may not always perfectly align with the user's service entitlement. For example, some Google services may continue providing access to the user until the current billing cycle ends, even if the subscription has been immediately canceled. However, other services may not do the same. To fully understand the specific details, please consult the relevant contract or product policy.",
"id": "GoogleCloudPaymentsResellerSubscriptionV1Subscription",
"properties": {
"cancellationDetails": {
Expand Down Expand Up @@ -1409,6 +1409,22 @@
"type": "string"
},
"type": "array"
},
"partnerPlanType": {
"description": "Optional. Specifies the plan type offered to the end user by the partner.",
"enum": [
"PARTNER_PLAN_TYPE_UNSPECIFIED",
"PARTNER_PLAN_TYPE_STANDALONE",
"PARTNER_PLAN_TYPE_HARD_BUNDLE",
"PARTNER_PLAN_TYPE_SOFT_BUNDLE"
],
"enumDescriptions": [
"Unspecified. Should not use, reserved as an invalid value.",
"This item is offered as a standalone product to the user.",
"This item is bundled with another partner offering, the item is provisioned at purchase time.",
"This item is bundled with another partner offering, the item is provisioned after puchase, when the user opts in this Google service."
],
"type": "string"
}
},
"type": "object"
Expand Down

0 comments on commit 802c3be

Please sign in to comment.