Skip to content

Commit

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

The following keys were added:
- resources.accounts.resources.customers.methods.listPurchasableOffers.parameters.changeOfferPurchase.billingAccount (Total Keys: 2)
- resources.accounts.resources.customers.methods.queryEligibleBillingAccounts (Total Keys: 14)
- schemas.GoogleCloudChannelV1BillingAccount (Total Keys: 15)
- schemas.GoogleCloudChannelV1ChangeOfferRequest.properties.billingAccount.type (Total Keys: 1)
- schemas.GoogleCloudChannelV1FetchReportResultsRequest.properties.partitionKeys (Total Keys: 2)
- schemas.GoogleCloudChannelV1ListTransferableOffersRequest.properties.billingAccount.type (Total Keys: 1)
- schemas.GoogleCloudChannelV1QueryEligibleBillingAccountsResponse (Total Keys: 4)
- schemas.GoogleCloudChannelV1Row.properties.partitionKey.type (Total Keys: 1)
- schemas.GoogleCloudChannelV1SkuPurchaseGroup (Total Keys: 6)
  • Loading branch information
yoshi-automation committed May 24, 2023
1 parent e02791c commit fed3215
Show file tree
Hide file tree
Showing 7 changed files with 242 additions and 41 deletions.
20 changes: 12 additions & 8 deletions docs/dyn/cloudchannel_v1.accounts.customers.entitlements.html
Expand Up @@ -214,6 +214,7 @@ <h3>Method Details</h3>
The object takes the form of:

{ # Request message for CloudChannelService.ChangeOffer.
&quot;billingAccount&quot;: &quot;A String&quot;, # Optional. The billing account resource name that is used to pay for this entitlement when setting up billing on a trial subscription. This field is only relevant for multi-currency accounts. It should be left empty for single currency accounts.
&quot;offer&quot;: &quot;A String&quot;, # Required. New Offer. Format: accounts/{account_id}/offers/{offer_id}.
&quot;parameters&quot;: [ # Optional. Parameters needed to purchase the Offer. To view the available Parameters refer to the Offer.parameter_definitions from the desired offer.
{ # Definition for extended entitlement parameters.
Expand Down Expand Up @@ -391,6 +392,7 @@ <h3>Method Details</h3>
&quot;associationInfo&quot;: { # Association links that an entitlement has to other entitlements. # Association information to other entitlements.
&quot;baseEntitlement&quot;: &quot;A String&quot;, # The name of the base entitlement, for which this entitlement is an add-on.
},
&quot;billingAccount&quot;: &quot;A String&quot;, # Optional. The billing account resource name that is used to pay for this entitlement.
&quot;commitmentSettings&quot;: { # Commitment settings for commitment-based offers. # Commitment settings for a commitment-based Offer. Required for commitment based offers.
&quot;endTime&quot;: &quot;A String&quot;, # Output only. Commitment end timestamp.
&quot;renewalSettings&quot;: { # Renewal settings for renewable Offers. # Optional. Renewal settings applicable for a commitment-based Offer.
Expand All @@ -407,7 +409,7 @@ <h3>Method Details</h3>
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the entitlement is created.
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of an entitlement in the form: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}.
&quot;offer&quot;: &quot;A String&quot;, # Required. The offer resource name for which the entitlement is to be created. Takes the form: accounts/{account_id}/offers/{offer_id}.
&quot;parameters&quot;: [ # Extended entitlement parameters. When creating an entitlement, valid parameter names and values are defined in the Offer.parameter_definitions. For Google Workspace, the following Parameters may be accepted as input: - max_units: The maximum assignable units for a flexible offer OR - num_units: The total commitment for commitment-based offers The response may additionally include the following output-only Parameters: - assigned_units: The number of licenses assigned to users. For GCP billing subaccounts, the following Parameter may be accepted as input: - display_name: The display name of the billing subaccount.
&quot;parameters&quot;: [ # Extended entitlement parameters. When creating an entitlement, valid parameter names and values are defined in the Offer.parameter_definitions. For Google Workspace, the following Parameters may be accepted as input: - max_units: The maximum assignable units for a flexible offer OR - num_units: The total commitment for commitment-based offers The response may additionally include the following output-only Parameters: - assigned_units: The number of licenses assigned to users. For Google Cloud billing subaccounts, the following Parameter may be accepted as input: - display_name: The display name of the billing subaccount.
{ # Definition for extended entitlement parameters.
&quot;editable&quot;: True or False, # Output only. Specifies whether this parameter is allowed to be changed. For example, for a Google Workspace Business Starter entitlement in commitment plan, num_units is editable when entitlement is active.
&quot;name&quot;: &quot;A String&quot;, # Name of the parameter.
Expand All @@ -424,7 +426,7 @@ <h3>Method Details</h3>
],
&quot;provisionedService&quot;: { # Service provisioned for an entitlement. # Output only. Service provisioning details for the entitlement.
&quot;productId&quot;: &quot;A String&quot;, # Output only. The product pertaining to the provisioning resource as specified in the Offer.
&quot;provisioningId&quot;: &quot;A String&quot;, # Output only. Provisioning ID of the entitlement. For Google Workspace, this is the underlying Subscription ID. For Google Cloud Platform, this is the Billing Account ID of the billing subaccount.&quot;
&quot;provisioningId&quot;: &quot;A String&quot;, # Output only. Provisioning ID of the entitlement. For Google Workspace, this is the underlying Subscription ID. For Google Cloud, this is the Billing Account ID of the billing subaccount.&quot;
&quot;skuId&quot;: &quot;A String&quot;, # Output only. The SKU pertaining to the provisioning resource as specified in the Offer.
},
&quot;provisioningState&quot;: &quot;A String&quot;, # Output only. Current provisioning state of the entitlement.
Expand Down Expand Up @@ -488,6 +490,7 @@ <h3>Method Details</h3>
&quot;associationInfo&quot;: { # Association links that an entitlement has to other entitlements. # Association information to other entitlements.
&quot;baseEntitlement&quot;: &quot;A String&quot;, # The name of the base entitlement, for which this entitlement is an add-on.
},
&quot;billingAccount&quot;: &quot;A String&quot;, # Optional. The billing account resource name that is used to pay for this entitlement.
&quot;commitmentSettings&quot;: { # Commitment settings for commitment-based offers. # Commitment settings for a commitment-based Offer. Required for commitment based offers.
&quot;endTime&quot;: &quot;A String&quot;, # Output only. Commitment end timestamp.
&quot;renewalSettings&quot;: { # Renewal settings for renewable Offers. # Optional. Renewal settings applicable for a commitment-based Offer.
Expand All @@ -504,7 +507,7 @@ <h3>Method Details</h3>
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the entitlement is created.
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of an entitlement in the form: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}.
&quot;offer&quot;: &quot;A String&quot;, # Required. The offer resource name for which the entitlement is to be created. Takes the form: accounts/{account_id}/offers/{offer_id}.
&quot;parameters&quot;: [ # Extended entitlement parameters. When creating an entitlement, valid parameter names and values are defined in the Offer.parameter_definitions. For Google Workspace, the following Parameters may be accepted as input: - max_units: The maximum assignable units for a flexible offer OR - num_units: The total commitment for commitment-based offers The response may additionally include the following output-only Parameters: - assigned_units: The number of licenses assigned to users. For GCP billing subaccounts, the following Parameter may be accepted as input: - display_name: The display name of the billing subaccount.
&quot;parameters&quot;: [ # Extended entitlement parameters. When creating an entitlement, valid parameter names and values are defined in the Offer.parameter_definitions. For Google Workspace, the following Parameters may be accepted as input: - max_units: The maximum assignable units for a flexible offer OR - num_units: The total commitment for commitment-based offers The response may additionally include the following output-only Parameters: - assigned_units: The number of licenses assigned to users. For Google Cloud billing subaccounts, the following Parameter may be accepted as input: - display_name: The display name of the billing subaccount.
{ # Definition for extended entitlement parameters.
&quot;editable&quot;: True or False, # Output only. Specifies whether this parameter is allowed to be changed. For example, for a Google Workspace Business Starter entitlement in commitment plan, num_units is editable when entitlement is active.
&quot;name&quot;: &quot;A String&quot;, # Name of the parameter.
Expand All @@ -521,7 +524,7 @@ <h3>Method Details</h3>
],
&quot;provisionedService&quot;: { # Service provisioned for an entitlement. # Output only. Service provisioning details for the entitlement.
&quot;productId&quot;: &quot;A String&quot;, # Output only. The product pertaining to the provisioning resource as specified in the Offer.
&quot;provisioningId&quot;: &quot;A String&quot;, # Output only. Provisioning ID of the entitlement. For Google Workspace, this is the underlying Subscription ID. For Google Cloud Platform, this is the Billing Account ID of the billing subaccount.&quot;
&quot;provisioningId&quot;: &quot;A String&quot;, # Output only. Provisioning ID of the entitlement. For Google Workspace, this is the underlying Subscription ID. For Google Cloud, this is the Billing Account ID of the billing subaccount.&quot;
&quot;skuId&quot;: &quot;A String&quot;, # Output only. The SKU pertaining to the provisioning resource as specified in the Offer.
},
&quot;provisioningState&quot;: &quot;A String&quot;, # Output only. Current provisioning state of the entitlement.
Expand Down Expand Up @@ -559,6 +562,7 @@ <h3>Method Details</h3>
&quot;associationInfo&quot;: { # Association links that an entitlement has to other entitlements. # Association information to other entitlements.
&quot;baseEntitlement&quot;: &quot;A String&quot;, # The name of the base entitlement, for which this entitlement is an add-on.
},
&quot;billingAccount&quot;: &quot;A String&quot;, # Optional. The billing account resource name that is used to pay for this entitlement.
&quot;commitmentSettings&quot;: { # Commitment settings for commitment-based offers. # Commitment settings for a commitment-based Offer. Required for commitment based offers.
&quot;endTime&quot;: &quot;A String&quot;, # Output only. Commitment end timestamp.
&quot;renewalSettings&quot;: { # Renewal settings for renewable Offers. # Optional. Renewal settings applicable for a commitment-based Offer.
Expand All @@ -575,7 +579,7 @@ <h3>Method Details</h3>
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the entitlement is created.
&quot;name&quot;: &quot;A String&quot;, # Output only. Resource name of an entitlement in the form: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}.
&quot;offer&quot;: &quot;A String&quot;, # Required. The offer resource name for which the entitlement is to be created. Takes the form: accounts/{account_id}/offers/{offer_id}.
&quot;parameters&quot;: [ # Extended entitlement parameters. When creating an entitlement, valid parameter names and values are defined in the Offer.parameter_definitions. For Google Workspace, the following Parameters may be accepted as input: - max_units: The maximum assignable units for a flexible offer OR - num_units: The total commitment for commitment-based offers The response may additionally include the following output-only Parameters: - assigned_units: The number of licenses assigned to users. For GCP billing subaccounts, the following Parameter may be accepted as input: - display_name: The display name of the billing subaccount.
&quot;parameters&quot;: [ # Extended entitlement parameters. When creating an entitlement, valid parameter names and values are defined in the Offer.parameter_definitions. For Google Workspace, the following Parameters may be accepted as input: - max_units: The maximum assignable units for a flexible offer OR - num_units: The total commitment for commitment-based offers The response may additionally include the following output-only Parameters: - assigned_units: The number of licenses assigned to users. For Google Cloud billing subaccounts, the following Parameter may be accepted as input: - display_name: The display name of the billing subaccount.
{ # Definition for extended entitlement parameters.
&quot;editable&quot;: True or False, # Output only. Specifies whether this parameter is allowed to be changed. For example, for a Google Workspace Business Starter entitlement in commitment plan, num_units is editable when entitlement is active.
&quot;name&quot;: &quot;A String&quot;, # Name of the parameter.
Expand All @@ -592,7 +596,7 @@ <h3>Method Details</h3>
],
&quot;provisionedService&quot;: { # Service provisioned for an entitlement. # Output only. Service provisioning details for the entitlement.
&quot;productId&quot;: &quot;A String&quot;, # Output only. The product pertaining to the provisioning resource as specified in the Offer.
&quot;provisioningId&quot;: &quot;A String&quot;, # Output only. Provisioning ID of the entitlement. For Google Workspace, this is the underlying Subscription ID. For Google Cloud Platform, this is the Billing Account ID of the billing subaccount.&quot;
&quot;provisioningId&quot;: &quot;A String&quot;, # Output only. Provisioning ID of the entitlement. For Google Workspace, this is the underlying Subscription ID. For Google Cloud, this is the Billing Account ID of the billing subaccount.&quot;
&quot;skuId&quot;: &quot;A String&quot;, # Output only. The SKU pertaining to the provisioning resource as specified in the Offer.
},
&quot;provisioningState&quot;: &quot;A String&quot;, # Output only. Current provisioning state of the entitlement.
Expand Down Expand Up @@ -657,7 +661,7 @@ <h3>Method Details</h3>
],
&quot;provisionedService&quot;: { # Service provisioned for an entitlement. # Service provisioned for an Entitlement.
&quot;productId&quot;: &quot;A String&quot;, # Output only. The product pertaining to the provisioning resource as specified in the Offer.
&quot;provisioningId&quot;: &quot;A String&quot;, # Output only. Provisioning ID of the entitlement. For Google Workspace, this is the underlying Subscription ID. For Google Cloud Platform, this is the Billing Account ID of the billing subaccount.&quot;
&quot;provisioningId&quot;: &quot;A String&quot;, # Output only. Provisioning ID of the entitlement. For Google Workspace, this is the underlying Subscription ID. For Google Cloud, this is the Billing Account ID of the billing subaccount.&quot;
&quot;skuId&quot;: &quot;A String&quot;, # Output only. The SKU pertaining to the provisioning resource as specified in the Offer.
},
&quot;suspensionReason&quot;: &quot;A String&quot;, # Suspension reason for the Entitlement.
Expand Down Expand Up @@ -772,7 +776,7 @@ <h3>Method Details</h3>
},
],
&quot;plan&quot;: { # The payment plan for the Offer. Describes how to make a payment. # Describes the payment plan for the Offer.
&quot;billingAccount&quot;: &quot;A String&quot;, # Reseller Billing account to charge after an offer transaction. Only present for Google Cloud Platform offers.
&quot;billingAccount&quot;: &quot;A String&quot;, # Reseller Billing account to charge after an offer transaction. Only present for Google Cloud offers.
&quot;paymentCycle&quot;: { # Represents period in days/months/years. # Describes how frequently the reseller will be billed, such as once per month.
&quot;duration&quot;: 42, # Total duration of Period Type defined.
&quot;periodType&quot;: &quot;A String&quot;, # Period Type.
Expand Down

0 comments on commit fed3215

Please sign in to comment.