Package google.cloud.channel.v1

Index

CloudChannelReportsService

CloudChannelReportsService lets Google Cloud resellers and distributors retrieve and combine a variety of data in Cloud Channel for multiple products (Google Cloud, Google Voice, and Google Workspace.)

Deprecated: This service is being deprecated. Please use Export Channel Services data to BigQuery instead.

FetchReportResults

rpc FetchReportResults(FetchReportResultsRequest) returns (FetchReportResultsResponse)

Retrieves data generated by CloudChannelReportsService.RunReportJob.

Deprecated: Please use Export Channel Services data to BigQuery instead.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.reports.usage.readonly

For more information, see the Authentication Overview.

ListReports

rpc ListReports(ListReportsRequest) returns (ListReportsResponse)

Lists the reports that RunReportJob can run. These reports include an ID, a description, and the list of columns that will be in the result.

Deprecated: Please use Export Channel Services data to BigQuery instead.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.reports.usage.readonly

For more information, see the Authentication Overview.

RunReportJob

rpc RunReportJob(RunReportJobRequest) returns (Operation)

Begins generation of data for a given report. The report identifier is a UID (for example, 613bf59q).

Possible error codes:

  • PERMISSION_DENIED: The user doesn't have access to this report.
  • INVALID_ARGUMENT: Required request parameters are missing or invalid.
  • NOT_FOUND: The report identifier was not found.
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.

Return value: The ID of a long-running operation.

To get the results of the operation, call the GetOperation method of CloudChannelOperationsService. The Operation metadata contains an instance of OperationMetadata.

To get the results of report generation, call CloudChannelReportsService.FetchReportResults with the RunReportJobResponse.report_job.

Deprecated: Please use Export Channel Services data to BigQuery instead.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.reports.usage.readonly

For more information, see the Authentication Overview.

CloudChannelService

CloudChannelService lets Google cloud resellers and distributors manage their customers, channel partners, entitlements, and reports.

Using this service: 1. Resellers and distributors can manage a customer entity. 2. Distributors can register an authorized reseller in their channel and provide them with delegated admin access. 3. Resellers and distributors can manage customer entitlements.

CloudChannelService exposes the following resources: - Customers: An entity-usually an enterprise-managed by a reseller or distributor.

  • Entitlements: An entity that provides a customer with the means to use a service. Entitlements are created or updated as a result of a successful fulfillment.

  • ChannelPartnerLinks: An entity that identifies links between distributors and their indirect resellers in a channel.

ActivateEntitlement

rpc ActivateEntitlement(ActivateEntitlementRequest) returns (Operation)

Activates a previously suspended entitlement. Entitlements suspended for pending ToS acceptance can't be activated using this method.

An entitlement activation is a long-running operation and it updates the state of the customer entitlement.

Possible error codes:

  • PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request.
  • INVALID_ARGUMENT: Required request parameters are missing or invalid.
  • NOT_FOUND: Entitlement resource not found.
  • SUSPENSION_NOT_RESELLER_INITIATED: Can only activate reseller-initiated suspensions and entitlements that have accepted the TOS.
  • NOT_SUSPENDED: Can only activate suspended entitlements not in an ACTIVE state.
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.

Return value: The ID of a long-running operation.

To get the results of the operation, call the GetOperation method of CloudChannelOperationsService. The Operation metadata will contain an instance of OperationMetadata.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

CancelEntitlement

rpc CancelEntitlement(CancelEntitlementRequest) returns (Operation)

Cancels a previously fulfilled entitlement.

An entitlement cancellation is a long-running operation.

Possible error codes:

  • PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request.
  • FAILED_PRECONDITION: There are Google Cloud projects linked to the Google Cloud entitlement's Cloud Billing subaccount.
  • INVALID_ARGUMENT: Required request parameters are missing or invalid.
  • NOT_FOUND: Entitlement resource not found.
  • DELETION_TYPE_NOT_ALLOWED: Cancel is only allowed for Google Workspace add-ons, or entitlements for Google Cloud's development platform.
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.

Return value: The ID of a long-running operation.

To get the results of the operation, call the GetOperation method of CloudChannelOperationsService. The response will contain google.protobuf.Empty on success. The Operation metadata will contain an instance of OperationMetadata.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

ChangeOffer

rpc ChangeOffer(ChangeOfferRequest) returns (Operation)

Updates the Offer for an existing customer entitlement.

An entitlement update is a long-running operation and it updates the entitlement as a result of fulfillment.

Possible error codes:

  • PERMISSION_DENIED: The customer doesn't belong to the reseller.
  • INVALID_ARGUMENT: Required request parameters are missing or invalid.
  • NOT_FOUND: Offer or Entitlement resource not found.
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.

Return value: The ID of a long-running operation.

To get the results of the operation, call the GetOperation method of CloudChannelOperationsService. The Operation metadata will contain an instance of OperationMetadata.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

ChangeParameters

rpc ChangeParameters(ChangeParametersRequest) returns (Operation)

Change parameters of the entitlement.

An entitlement update is a long-running operation and it updates the entitlement as a result of fulfillment.

Possible error codes:

  • PERMISSION_DENIED: The customer doesn't belong to the reseller.
  • INVALID_ARGUMENT: Required request parameters are missing or invalid. For example, the number of seats being changed is greater than the allowed number of max seats, or decreasing seats for a commitment based plan.
  • NOT_FOUND: Entitlement resource not found.
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.

Return value: The ID of a long-running operation.

To get the results of the operation, call the GetOperation method of CloudChannelOperationsService. The Operation metadata will contain an instance of OperationMetadata.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

ChangeRenewalSettings

rpc ChangeRenewalSettings(ChangeRenewalSettingsRequest) returns (Operation)

Updates the renewal settings for an existing customer entitlement.

An entitlement update is a long-running operation and it updates the entitlement as a result of fulfillment.

Possible error codes:

  • PERMISSION_DENIED: The customer doesn't belong to the reseller.
  • INVALID_ARGUMENT: Required request parameters are missing or invalid.
  • NOT_FOUND: Entitlement resource not found.
  • NOT_COMMITMENT_PLAN: Renewal Settings are only applicable for a commitment plan. Can't enable or disable renewals for non-commitment plans.
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.

Return value: The ID of a long-running operation.

To get the results of the operation, call the GetOperation method of CloudChannelOperationsService. The Operation metadata will contain an instance of OperationMetadata.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

CheckCloudIdentityAccountsExist

rpc CheckCloudIdentityAccountsExist(CheckCloudIdentityAccountsExistRequest) returns (CheckCloudIdentityAccountsExistResponse)

Confirms the existence of Cloud Identity accounts based on the domain and if the Cloud Identity accounts are owned by the reseller.

Possible error codes:

  • PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request.
  • INVALID_ARGUMENT: Required request parameters are missing or invalid.
  • INVALID_VALUE: Invalid domain value in the request.

Return value: A list of CloudIdentityCustomerAccount resources for the domain (may be empty)

Note: in the v1alpha1 version of the API, a NOT_FOUND error returns if no CloudIdentityCustomerAccount resources match the domain.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

CreateChannelPartnerRepricingConfig

rpc CreateChannelPartnerRepricingConfig(CreateChannelPartnerRepricingConfigRequest) returns (ChannelPartnerRepricingConfig)

Creates a ChannelPartnerRepricingConfig. Call this method to set modifications for a specific ChannelPartner's bill. You can only create configs if the RepricingConfig.effective_invoice_month is a future month. If needed, you can create a config for the current month, with some restrictions.

When creating a config for a future month, make sure there are no existing configs for that RepricingConfig.effective_invoice_month.

The following restrictions are for creating configs in the current month.

Possible Error Codes:

  • PERMISSION_DENIED: If the account making the request and the account being queried are different.
  • INVALID_ARGUMENT: Missing or invalid required parameters in the request. Also displays if the updated config is for the current month or past months.
  • NOT_FOUND: The ChannelPartnerRepricingConfig specified does not exist or is not associated with the given account.
  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, contact Cloud Channel support.

Return Value: If successful, the updated ChannelPartnerRepricingConfig resource, otherwise returns an error.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

CreateCustomer

rpc CreateCustomer(CreateCustomerRequest) returns (Customer)

Creates a new Customer resource under the reseller or distributor account.

Possible error codes:

  • PERMISSION_DENIED:
  • INVALID_ARGUMENT:
    • Required request parameters are missing or invalid.
    • Domain field value doesn't match the primary email domain.

Return value: The newly created Customer resource.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

CreateCustomerRepricingConfig

rpc CreateCustomerRepricingConfig(CreateCustomerRepricingConfigRequest) returns (CustomerRepricingConfig)

Creates a CustomerRepricingConfig. Call this method to set modifications for a specific customer's bill. You can only create configs if the RepricingConfig.effective_invoice_month is a future month. If needed, you can create a config for the current month, with some restrictions.

When creating a config for a future month, make sure there are no existing configs for that RepricingConfig.effective_invoice_month.

The following restrictions are for creating configs in the current month.

Possible Error Codes:

  • PERMISSION_DENIED: If the account making the request and the account being queried are different.
  • INVALID_ARGUMENT: Missing or invalid required parameters in the request. Also displays if the updated config is for the current month or past months.
  • NOT_FOUND: The CustomerRepricingConfig specified does not exist or is not associated with the given account.
  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, contact Cloud Channel support.

Return Value: If successful, the updated CustomerRepricingConfig resource, otherwise returns an error.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

CreateEntitlement

rpc CreateEntitlement(CreateEntitlementRequest) returns (Operation)

Creates an entitlement for a customer.

Possible error codes:

  • PERMISSION_DENIED:
  • INVALID_ARGUMENT:
    • Required request parameters are missing or invalid.
    • There is already a customer entitlement for a SKU from the same product family.
  • INVALID_VALUE: Make sure the OfferId is valid. If it is, contact Google Channel support for further troubleshooting.
  • NOT_FOUND: The customer or offer resource was not found.
  • ALREADY_EXISTS:
    • The SKU was already purchased for the customer.
    • The customer's primary email already exists. Retry after changing the customer's primary contact email.
  • CONDITION_NOT_MET or FAILED_PRECONDITION:
    • The domain required for purchasing a SKU has not been verified.
    • A pre-requisite SKU required to purchase an Add-On SKU is missing. For example, Google Workspace Business Starter is required to purchase Vault or Drive.
    • (Developer accounts only) Reseller and resold domain must meet the following naming requirements:
      • Domain names must start with goog-test.
      • Domain names must include the reseller domain.
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.

Return value: The ID of a long-running operation.

To get the results of the operation, call the GetOperation method of CloudChannelOperationsService. The Operation metadata will contain an instance of OperationMetadata.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

DeleteChannelPartnerRepricingConfig

rpc DeleteChannelPartnerRepricingConfig(DeleteChannelPartnerRepricingConfigRequest) returns (Empty)

Deletes the given ChannelPartnerRepricingConfig permanently. You can only delete configs if their RepricingConfig.effective_invoice_month is set to a date after the current month.

Possible error codes:

  • PERMISSION_DENIED: The account making the request does not own this customer.
  • INVALID_ARGUMENT: Required request parameters are missing or invalid.
  • FAILED_PRECONDITION: The ChannelPartnerRepricingConfig is active or in the past.
  • NOT_FOUND: No ChannelPartnerRepricingConfig found for the name in the request.
Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

DeleteCustomer

rpc DeleteCustomer(DeleteCustomerRequest) returns (Empty)

Deletes the given Customer permanently.

Possible error codes:

  • PERMISSION_DENIED: The account making the request does not own this customer.
  • INVALID_ARGUMENT: Required request parameters are missing or invalid.
  • FAILED_PRECONDITION: The customer has existing entitlements.
  • NOT_FOUND: No Customer resource found for the name in the request.
Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

DeleteCustomerRepricingConfig

rpc DeleteCustomerRepricingConfig(DeleteCustomerRepricingConfigRequest) returns (Empty)

Deletes the given CustomerRepricingConfig permanently. You can only delete configs if their RepricingConfig.effective_invoice_month is set to a date after the current month.

Possible error codes:

  • PERMISSION_DENIED: The account making the request does not own this customer.
  • INVALID_ARGUMENT: Required request parameters are missing or invalid.
  • FAILED_PRECONDITION: The CustomerRepricingConfig is active or in the past.
  • NOT_FOUND: No CustomerRepricingConfig found for the name in the request.
Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

GetChannelPartnerRepricingConfig

rpc GetChannelPartnerRepricingConfig(GetChannelPartnerRepricingConfigRequest) returns (ChannelPartnerRepricingConfig)

Gets information about how a Distributor modifies their bill before sending it to a ChannelPartner.

Possible Error Codes:

  • PERMISSION_DENIED: If the account making the request and the account being queried are different.
  • NOT_FOUND: The ChannelPartnerRepricingConfig was not found.
  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, contact Cloud Channel support.

Return Value: If successful, the ChannelPartnerRepricingConfig resource, otherwise returns an error.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

GetCustomer

rpc GetCustomer(GetCustomerRequest) returns (Customer)

Returns the requested Customer resource.

Possible error codes:

  • PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request.
  • INVALID_ARGUMENT: Required request parameters are missing or invalid.
  • NOT_FOUND: The customer resource doesn't exist. Usually the result of an invalid name parameter.

Return value: The Customer resource.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

GetCustomerRepricingConfig

rpc GetCustomerRepricingConfig(GetCustomerRepricingConfigRequest) returns (CustomerRepricingConfig)

Gets information about how a Reseller modifies their bill before sending it to a Customer.

Possible Error Codes:

  • PERMISSION_DENIED: If the account making the request and the account being queried are different.
  • NOT_FOUND: The CustomerRepricingConfig was not found.
  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, contact Cloud Channel support.

Return Value: If successful, the CustomerRepricingConfig resource, otherwise returns an error.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

GetEntitlement

rpc GetEntitlement(GetEntitlementRequest) returns (Entitlement)

Returns the requested Entitlement resource.

Possible error codes:

  • PERMISSION_DENIED: The customer doesn't belong to the reseller.
  • INVALID_ARGUMENT: Required request parameters are missing or invalid.
  • NOT_FOUND: The customer entitlement was not found.

Return value: The requested Entitlement resource.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

ImportCustomer

rpc ImportCustomer(ImportCustomerRequest) returns (Customer)

Imports a Customer from the Cloud Identity associated with the provided Cloud Identity ID or domain before a TransferEntitlements call. If a linked Customer already exists and overwrite_if_exists is true, it will update that Customer's data.

Possible error codes:

  • PERMISSION_DENIED:
  • NOT_FOUND: Cloud Identity doesn't exist or was deleted.
  • INVALID_ARGUMENT: Required parameters are missing, or the auth_token is expired or invalid.
  • ALREADY_EXISTS: A customer already exists and has conflicting critical fields. Requires an overwrite.

Return value: The Customer.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

ListChannelPartnerRepricingConfigs

rpc ListChannelPartnerRepricingConfigs(ListChannelPartnerRepricingConfigsRequest) returns (ListChannelPartnerRepricingConfigsResponse)

Lists information about how a Reseller modifies their bill before sending it to a ChannelPartner.

Possible Error Codes:

  • PERMISSION_DENIED: If the account making the request and the account being queried are different.
  • NOT_FOUND: The ChannelPartnerRepricingConfig specified does not exist or is not associated with the given account.
  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, contact Cloud Channel support.

Return Value: If successful, the ChannelPartnerRepricingConfig resources. The data for each resource is displayed in the ascending order of:

If unsuccessful, returns an error.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

ListCustomerRepricingConfigs

rpc ListCustomerRepricingConfigs(ListCustomerRepricingConfigsRequest) returns (ListCustomerRepricingConfigsResponse)

Lists information about how a Reseller modifies their bill before sending it to a Customer.

Possible Error Codes:

  • PERMISSION_DENIED: If the account making the request and the account being queried are different.
  • NOT_FOUND: The CustomerRepricingConfig specified does not exist or is not associated with the given account.
  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, contact Cloud Channel support.

Return Value: If successful, the CustomerRepricingConfig resources. The data for each resource is displayed in the ascending order of:

If unsuccessful, returns an error.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

ListCustomers

rpc ListCustomers(ListCustomersRequest) returns (ListCustomersResponse)

List Customers.

Possible error codes:

  • PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request.
  • INVALID_ARGUMENT: Required request parameters are missing or invalid.

Return value: List of Customers, or an empty list if there are no customers.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

ListEntitlementChanges

rpc ListEntitlementChanges(ListEntitlementChangesRequest) returns (ListEntitlementChangesResponse)

List entitlement history.

Possible error codes:

  • PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different.
  • INVALID_ARGUMENT: Missing or invalid required fields in the request.
  • NOT_FOUND: The parent resource doesn't exist. Usually the result of an invalid name parameter.
  • INTERNAL: Any non-user error related to a technical issue in the backend. In this case, contact CloudChannel support.
  • UNKNOWN: Any non-user error related to a technical issue in the backend. In this case, contact Cloud Channel support.

Return value: List of EntitlementChanges.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

ListEntitlements

rpc ListEntitlements(ListEntitlementsRequest) returns (ListEntitlementsResponse)

Lists Entitlements belonging to a customer.

Possible error codes:

  • PERMISSION_DENIED: The customer doesn't belong to the reseller.
  • INVALID_ARGUMENT: Required request parameters are missing or invalid.

Return value: A list of the customer's Entitlements.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

ListOffers

rpc ListOffers(ListOffersRequest) returns (ListOffersResponse)

Lists the Offers the reseller can sell.

Possible error codes:

  • INVALID_ARGUMENT: Required request parameters are missing or invalid.
Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

ListProducts

rpc ListProducts(ListProductsRequest) returns (ListProductsResponse)

Lists the Products the reseller is authorized to sell.

Possible error codes:

  • INVALID_ARGUMENT: Required request parameters are missing or invalid.
Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

ListPurchasableOffers

rpc ListPurchasableOffers(ListPurchasableOffersRequest) returns (ListPurchasableOffersResponse)

Lists the following:

  • Offers that you can purchase for a customer.
  • Offers that you can change for an entitlement.

Possible error codes:

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

ListPurchasableSkus

rpc ListPurchasableSkus(ListPurchasableSkusRequest) returns (ListPurchasableSkusResponse)

Lists the following:

  • SKUs that you can purchase for a customer
  • SKUs that you can upgrade or downgrade for an entitlement.

Possible error codes:

  • PERMISSION_DENIED: The customer doesn't belong to the reseller.
  • INVALID_ARGUMENT: Required request parameters are missing or invalid.
Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

ListSkuGroupBillableSkus

rpc ListSkuGroupBillableSkus(ListSkuGroupBillableSkusRequest) returns (ListSkuGroupBillableSkusResponse)

Lists the Billable SKUs in a given SKU group.

Possible error codes: PERMISSION_DENIED: If the account making the request and the account being queried for are different, or the account doesn't exist. INVALID_ARGUMENT: Missing or invalid required parameters in the request. INTERNAL: Any non-user error related to technical issue in the backend. In this case, contact cloud channel support.

Return Value: If successful, the BillableSku resources. The data for each resource is displayed in the ascending order of:

If unsuccessful, returns an error.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

ListSkuGroups

rpc ListSkuGroups(ListSkuGroupsRequest) returns (ListSkuGroupsResponse)

Lists the Rebilling supported SKU groups the account is authorized to sell. Reference: https://cloud.google.com/skus/sku-groups

Possible Error Codes:

  • PERMISSION_DENIED: If the account making the request and the account being queried are different, or the account doesn't exist.
  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, contact Cloud Channel support.

Return Value: If successful, the SkuGroup resources. The data for each resource is displayed in the alphabetical order of SKU group display name. The data for each resource is displayed in the ascending order of SkuGroup.display_name

If unsuccessful, returns an error.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

ListSkus

rpc ListSkus(ListSkusRequest) returns (ListSkusResponse)

Lists the SKUs for a product the reseller is authorized to sell.

Possible error codes:

  • INVALID_ARGUMENT: Required request parameters are missing or invalid.
Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

ListSubscribers

rpc ListSubscribers(ListSubscribersRequest) returns (ListSubscribersResponse)

Lists service accounts with subscriber privileges on the Pub/Sub topic created for this Channel Services account or integrator.

Possible error codes:

  • PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin.
  • INVALID_ARGUMENT: Required request parameters are missing or invalid.
  • NOT_FOUND: The topic resource doesn't exist.
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.

Return value: A list of service email addresses.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

ListTransferableOffers

rpc ListTransferableOffers(ListTransferableOffersRequest) returns (ListTransferableOffersResponse)

List TransferableOffers of a customer based on Cloud Identity ID or Customer Name in the request.

Use this method when a reseller gets the entitlement information of an unowned customer. The reseller should provide the customer's Cloud Identity ID or Customer Name.

Possible error codes:

  • PERMISSION_DENIED:
    • The customer doesn't belong to the reseller and has no auth token.
    • The customer provided incorrect reseller information when generating auth token.
    • The reseller account making the request is different from the reseller account in the query.
    • The reseller is not authorized to transact on this Product. See https://support.google.com/channelservices/answer/9759265
  • INVALID_ARGUMENT: Required request parameters are missing or invalid.

Return value: List of TransferableOffer for the given customer and SKU.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

ListTransferableSkus

rpc ListTransferableSkus(ListTransferableSkusRequest) returns (ListTransferableSkusResponse)

List TransferableSkus of a customer based on the Cloud Identity ID or Customer Name in the request.

Use this method to list the entitlements information of an unowned customer. You should provide the customer's Cloud Identity ID or Customer Name.

Possible error codes:

  • PERMISSION_DENIED:
    • The customer doesn't belong to the reseller and has no auth token.
    • The supplied auth token is invalid.
    • The reseller account making the request is different from the reseller account in the query.
  • INVALID_ARGUMENT: Required request parameters are missing or invalid.

Return value: A list of the customer's TransferableSku.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

LookupOffer

rpc LookupOffer(LookupOfferRequest) returns (Offer)

Returns the requested Offer resource.

Possible error codes:

  • PERMISSION_DENIED: The entitlement doesn't belong to the reseller.
  • INVALID_ARGUMENT: Required request parameters are missing or invalid.
  • NOT_FOUND: Entitlement or offer was not found.

Return value: The Offer resource.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

ProvisionCloudIdentity

rpc ProvisionCloudIdentity(ProvisionCloudIdentityRequest) returns (Operation)

Creates a Cloud Identity for the given customer using the customer's information, or the information provided here.

Possible error codes:

  • PERMISSION_DENIED:
  • INVALID_ARGUMENT: Required request parameters are missing or invalid.
  • NOT_FOUND: The customer was not found.
  • ALREADY_EXISTS: The customer's primary email already exists. Retry after changing the customer's primary contact email.
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.

Return value: The ID of a long-running operation.

To get the results of the operation, call the GetOperation method of CloudChannelOperationsService. The Operation metadata contains an instance of OperationMetadata.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

QueryEligibleBillingAccounts

rpc QueryEligibleBillingAccounts(QueryEligibleBillingAccountsRequest) returns (QueryEligibleBillingAccountsResponse)

Lists the billing accounts that are eligible to purchase particular SKUs for a given customer.

Possible error codes:

  • PERMISSION_DENIED: The customer doesn't belong to the reseller.
  • INVALID_ARGUMENT: Required request parameters are missing or invalid.

Return value: Based on the provided list of SKUs, returns a list of SKU groups that must be purchased using the same billing account and the billing accounts eligible to purchase each SKU group.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

RegisterSubscriber

rpc RegisterSubscriber(RegisterSubscriberRequest) returns (RegisterSubscriberResponse)

Registers a service account with subscriber privileges on the Pub/Sub topic for this Channel Services account or integrator. After you create a subscriber, you get the events through SubscriberEvent

Possible error codes:

  • PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin.
  • INVALID_ARGUMENT: Required request parameters are missing or invalid.
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.

Return value: The topic name with the registered service email address.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

StartPaidService

rpc StartPaidService(StartPaidServiceRequest) returns (Operation)

Starts paid service for a trial entitlement.

Starts paid service for a trial entitlement immediately. This method is only applicable if a plan is set up for a trial entitlement but has some trial days remaining.

Possible error codes:

  • PERMISSION_DENIED: The customer doesn't belong to the reseller.
  • INVALID_ARGUMENT: Required request parameters are missing or invalid.
  • NOT_FOUND: Entitlement resource not found.
  • FAILED_PRECONDITION/NOT_IN_TRIAL: This method only works for entitlement on trial plans.
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.

Return value: The ID of a long-running operation.

To get the results of the operation, call the GetOperation method of CloudChannelOperationsService. The Operation metadata will contain an instance of OperationMetadata.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

SuspendEntitlement

rpc SuspendEntitlement(SuspendEntitlementRequest) returns (Operation)

Suspends a previously fulfilled entitlement.

An entitlement suspension is a long-running operation.

Possible error codes:

  • PERMISSION_DENIED: The customer doesn't belong to the reseller.
  • INVALID_ARGUMENT: Required request parameters are missing or invalid.
  • NOT_FOUND: Entitlement resource not found.
  • NOT_ACTIVE: Entitlement is not active.
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.

Return value: The ID of a long-running operation.

To get the results of the operation, call the GetOperation method of CloudChannelOperationsService. The Operation metadata will contain an instance of OperationMetadata.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

TransferEntitlements

rpc TransferEntitlements(TransferEntitlementsRequest) returns (Operation)

Transfers customer entitlements to new reseller.

Possible error codes:

  • PERMISSION_DENIED:
  • INVALID_ARGUMENT: Required request parameters are missing or invalid.
  • NOT_FOUND: The customer or offer resource was not found.
  • ALREADY_EXISTS: The SKU was already transferred for the customer.
  • CONDITION_NOT_MET or FAILED_PRECONDITION:
    • The SKU requires domain verification to transfer, but the domain is not verified.
    • An Add-On SKU (example, Vault or Drive) is missing the pre-requisite SKU (example, G Suite Basic).
    • (Developer accounts only) Reseller and resold domain must meet the following naming requirements:
      • Domain names must start with goog-test.
      • Domain names must include the reseller domain.
    • Specify all transferring entitlements.
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.

Return value: The ID of a long-running operation.

To get the results of the operation, call the GetOperation method of CloudChannelOperationsService. The Operation metadata will contain an instance of OperationMetadata.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

TransferEntitlementsToGoogle

rpc TransferEntitlementsToGoogle(TransferEntitlementsToGoogleRequest) returns (Operation)

Transfers customer entitlements from their current reseller to Google.

Possible error codes:

  • PERMISSION_DENIED: The customer doesn't belong to the reseller.
  • INVALID_ARGUMENT: Required request parameters are missing or invalid.
  • NOT_FOUND: The customer or offer resource was not found.
  • ALREADY_EXISTS: The SKU was already transferred for the customer.
  • CONDITION_NOT_MET or FAILED_PRECONDITION:
    • The SKU requires domain verification to transfer, but the domain is not verified.
    • An Add-On SKU (example, Vault or Drive) is missing the pre-requisite SKU (example, G Suite Basic).
    • (Developer accounts only) Reseller and resold domain must meet the following naming requirements:
      • Domain names must start with goog-test.
      • Domain names must include the reseller domain.
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.

Return value: The ID of a long-running operation.

To get the results of the operation, call the GetOperation method of CloudChannelOperationsService. The response will contain google.protobuf.Empty on success. The Operation metadata will contain an instance of OperationMetadata.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

UnregisterSubscriber

rpc UnregisterSubscriber(UnregisterSubscriberRequest) returns (UnregisterSubscriberResponse)

Unregisters a service account with subscriber privileges on the Pub/Sub topic created for this Channel Services account or integrator. If there are no service accounts left with subscriber privileges, this deletes the topic. You can call ListSubscribers to check for these accounts.

Possible error codes:

  • PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different, or the impersonated user is not a super admin.
  • INVALID_ARGUMENT: Required request parameters are missing or invalid.
  • NOT_FOUND: The topic resource doesn't exist.
  • INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.
  • UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support.

Return value: The topic name that unregistered the service email address. Returns a success response if the service email address wasn't registered with the topic.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

UpdateChannelPartnerRepricingConfig

rpc UpdateChannelPartnerRepricingConfig(UpdateChannelPartnerRepricingConfigRequest) returns (ChannelPartnerRepricingConfig)

Updates a ChannelPartnerRepricingConfig. Call this method to set modifications for a specific ChannelPartner's bill. This method overwrites the existing CustomerRepricingConfig.

You can only update configs if the RepricingConfig.effective_invoice_month is a future month. To make changes to configs for the current month, use CreateChannelPartnerRepricingConfig, taking note of its restrictions. You cannot update the RepricingConfig.effective_invoice_month.

When updating a config in the future:

  • This config must already exist.

Possible Error Codes:

  • PERMISSION_DENIED: If the account making the request and the account being queried are different.
  • INVALID_ARGUMENT: Missing or invalid required parameters in the request. Also displays if the updated config is for the current month or past months.
  • NOT_FOUND: The ChannelPartnerRepricingConfig specified does not exist or is not associated with the given account.
  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, contact Cloud Channel support.

Return Value: If successful, the updated ChannelPartnerRepricingConfig resource, otherwise returns an error.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

UpdateCustomer

rpc UpdateCustomer(UpdateCustomerRequest) returns (Customer)

Updates an existing Customer resource for the reseller or distributor.

Possible error codes:

  • PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request.
  • INVALID_ARGUMENT: Required request parameters are missing or invalid.
  • NOT_FOUND: No Customer resource found for the name in the request.

Return value: The updated Customer resource.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

UpdateCustomerRepricingConfig

rpc UpdateCustomerRepricingConfig(UpdateCustomerRepricingConfigRequest) returns (CustomerRepricingConfig)

Updates a CustomerRepricingConfig. Call this method to set modifications for a specific customer's bill. This method overwrites the existing CustomerRepricingConfig.

You can only update configs if the RepricingConfig.effective_invoice_month is a future month. To make changes to configs for the current month, use CreateCustomerRepricingConfig, taking note of its restrictions. You cannot update the RepricingConfig.effective_invoice_month.

When updating a config in the future:

  • This config must already exist.

Possible Error Codes:

  • PERMISSION_DENIED: If the account making the request and the account being queried are different.
  • INVALID_ARGUMENT: Missing or invalid required parameters in the request. Also displays if the updated config is for the current month or past months.
  • NOT_FOUND: The CustomerRepricingConfig specified does not exist or is not associated with the given account.
  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, contact Cloud Channel support.

Return Value: If successful, the updated CustomerRepricingConfig resource, otherwise returns an error.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.

ActivateEntitlementRequest

Request message for CloudChannelService.ActivateEntitlement.

Fields
name

string

Required. The resource name of the entitlement to activate. Name uses the format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}

request_id

string

Optional. You can specify an optional unique request ID, and if you need to retry your request, the server will know to ignore the request if it's complete.

For example, you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if it received the original operation with the same request ID. If it did, it will ignore the second request.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

AdminUser

Information needed to create an Admin User for Google Workspace.

Fields
email

string

Primary email of the admin user.

given_name

string

Given name of the admin user.

family_name

string

Family name of the admin user.

AssociationInfo

Association links that an entitlement has to other entitlements.

Fields
base_entitlement

string

The name of the base entitlement, for which this entitlement is an add-on.

BillableSku

Represents the Billable SKU information.

Fields
sku

string

Resource name of Billable SKU. Format: billableSkus/{sku}. Example: billableSkus/6E1B-6634-470F".

sku_display_name

string

Unique human readable name for the SKU.

service

string

Resource name of Service which contains Repricing SKU. Format: services/{service}. Example: "services/B7D9-FDCB-15D8".

service_display_name

string

Unique human readable name for the Service.

BillingAccount

Represents a billing account.

Fields
name

string

Output only. Resource name of the billing account. Format: accounts/{account_id}/billingAccounts/{billing_account_id}.

display_name

string

Display name of the billing account.

create_time

Timestamp

Output only. The time when this billing account was created.

currency_code

string

Output only. The 3-letter currency code defined in ISO 4217.

region_code

string

Output only. The CLDR region code.

BillingAccountPurchaseInfo

Represents a billing account that can be used to make a purchase.

Fields
billing_account

BillingAccount

The billing account resource.

CancelEntitlementRequest

Request message for CloudChannelService.CancelEntitlement.

Fields
name

string

Required. The resource name of the entitlement to cancel. Name uses the format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}

request_id

string

Optional. You can specify an optional unique request ID, and if you need to retry your request, the server will know to ignore the request if it's complete.

For example, you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if it received the original operation with the same request ID. If it did, it will ignore the second request.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

ChangeOfferRequest

Request message for CloudChannelService.ChangeOffer.

Fields
name

string

Required. The resource name of the entitlement to update. Name uses the format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}

offer

string

Required. New Offer. Format: accounts/{account_id}/offers/{offer_id}.

parameters[]

Parameter

Optional. Parameters needed to purchase the Offer. To view the available Parameters refer to the Offer.parameter_definitions from the desired offer.

purchase_order_id

string

Optional. Purchase order id provided by the reseller.

request_id

string

Optional. You can specify an optional unique request ID, and if you need to retry your request, the server will know to ignore the request if it's complete.

For example, you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if it received the original operation with the same request ID. If it did, it will ignore the second request.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

billing_account

string

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.

price_reference_id

string

Optional. Price reference ID for the offer. Optional field only for offers that require additional price information. Used to guarantee that the pricing is consistent between quoting the offer and placing the order.

Not yet implemented: if populated in a request, this field isn't evaluated in the API.

ChangeParametersRequest

Request message for CloudChannelService.ChangeParameters.

Fields
name

string

Required. The name of the entitlement to update. Name uses the format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}

parameters[]

Parameter

Required. Entitlement parameters to update. You can only change editable parameters.

To view the available Parameters for a request, refer to the Offer.parameter_definitions from the desired offer.

request_id

string

Optional. You can specify an optional unique request ID, and if you need to retry your request, the server will know to ignore the request if it's complete.

For example, you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if it received the original operation with the same request ID. If it did, it will ignore the second request.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

purchase_order_id

string

Optional. Purchase order ID provided by the reseller.

ChangeRenewalSettingsRequest

Request message for CloudChannelService.ChangeRenewalSettings.

Fields
name

string

Required. The name of the entitlement to update. Name uses the format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}

renewal_settings

RenewalSettings

Required. New renewal settings.

request_id

string

Optional. You can specify an optional unique request ID, and if you need to retry your request, the server will know to ignore the request if it's complete.

For example, you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if it received the original operation with the same request ID. If it did, it will ignore the second request.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

ChannelPartnerLinkState

ChannelPartnerLinkState represents state of a channel partner link.

Enums
INVITED An invitation has been sent to the reseller to create a channel partner link.
ACTIVE Status when the reseller is active.
REVOKED Status when the reseller has been revoked by the distributor.
SUSPENDED Status when the reseller is suspended by Google or distributor.

ChannelPartnerLinkView

The level of granularity the ChannelPartnerLink will display.

Enums
UNSPECIFIED The default / unset value. The API will default to the BASIC view.
BASIC Includes all fields except the ChannelPartnerLink.channel_partner_cloud_identity_info.
FULL Includes all fields.

ChannelPartnerRepricingConfig

Configuration for how a distributor will rebill a channel partner (also known as a distributor-authorized reseller).

Fields
name

string

Output only. Resource name of the ChannelPartnerRepricingConfig. Format: accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}.

repricing_config

RepricingConfig

Required. The configuration for bill modifications made by a reseller before sending it to ChannelPartner.

update_time

Timestamp

Output only. Timestamp of an update to the repricing rule. If update_time is after RepricingConfig.effective_invoice_month then it indicates this was set mid-month.

CheckCloudIdentityAccountsExistRequest

Request message for CloudChannelService.CheckCloudIdentityAccountsExist.

Fields
parent

string

Required. The reseller account's resource name. Parent uses the format: accounts/{account_id}

domain

string

Required. Domain to fetch for Cloud Identity account customers, including domain and team customers. For team customers, please use the domain for their emails.

primary_admin_email

string

Optional. Primary admin email to fetch for Cloud Identity account team customer.

CheckCloudIdentityAccountsExistResponse

Response message for CloudChannelService.CheckCloudIdentityAccountsExist.

Fields
cloud_identity_accounts[]

CloudIdentityCustomerAccount

The Cloud Identity accounts associated with the domain.

CloudIdentityCustomerAccount

Entity representing a Cloud Identity account that may be associated with a Channel Services API partner.

Fields
existing

bool

Returns true if a Cloud Identity account exists for a specific domain.

owned

bool

Returns true if the Cloud Identity account is associated with a customer of the Channel Services partner (with active subscriptions or purchase consents).

customer_name

string

If owned = true, the name of the customer that owns the Cloud Identity account. Customer_name uses the format: accounts/{account_id}/customers/{customer_id}

customer_cloud_identity_id

string

If existing = true, the Cloud Identity ID of the customer.

customer_type

CustomerType

If existing = true, the type of the customer.

channel_partner_cloud_identity_id

string

If existing = true, and is 2-tier customer, the channel partner of the customer.

CloudIdentityInfo

Cloud Identity information for the Cloud Channel Customer.

Fields
customer_type

CustomerType

CustomerType indicates verification type needed for using services.

primary_domain

string

Output only. The primary domain name.

is_domain_verified

bool

Output only. Whether the domain is verified. This field is not returned for a Customer's cloud_identity_info resource. Partners can use the domains.get() method of the Workspace SDK's Directory API, or listen to the PRIMARY_DOMAIN_VERIFIED Pub/Sub event in to track domain verification of their resolve Workspace customers.

alternate_email

string

The alternate email.

phone_number

string

Phone number associated with the Cloud Identity.

language_code

string

Language code.

admin_console_uri

string

Output only. URI of Customer's Admin console dashboard.

edu_data

EduData

Edu information about the customer.

CustomerType

CustomerType of the customer

Enums
CUSTOMER_TYPE_UNSPECIFIED Not used.
DOMAIN Domain-owning customer which needs domain verification to use services.
TEAM Team customer which needs email verification to use services.

Column

The definition of a report column. Specifies the data properties in the corresponding position of the report rows.

Fields
column_id

string

The unique name of the column (for example, customer_domain, channel_partner, customer_cost). You can use column IDs in RunReportJobRequest.filter. To see all reports and their columns, call CloudChannelReportsService.ListReports.

display_name

string

The column's display name.

data_type

DataType

The type of the values for this column.

DataType

Available data types for columns. Corresponds to the fields in the ReportValue oneof field.

Enums
DATA_TYPE_UNSPECIFIED Not used.
STRING ReportValues for this column will use string_value.
INT ReportValues for this column will use int_value.
DECIMAL ReportValues for this column will use decimal_value.
MONEY ReportValues for this column will use money_value.
DATE ReportValues for this column will use date_value.
DATE_TIME ReportValues for this column will use date_time_value.

CommitmentSettings

Commitment settings for commitment-based offers.

Fields
start_time

Timestamp

Output only. Commitment start timestamp.

end_time

Timestamp

Output only. Commitment end timestamp.

renewal_settings

RenewalSettings

Optional. Renewal settings applicable for a commitment-based Offer.

ConditionalOverride

Specifies the override to conditionally apply.

Fields
adjustment

RepricingAdjustment

Required. Information about the applied override's adjustment.

rebilling_basis

RebillingBasis

Required. The RebillingBasis to use for the applied override. Shows the relative cost based on your repricing costs.

repricing_condition

RepricingCondition

Required. Specifies the condition which, if met, will apply the override.

Constraints

Represents the constraints for buying the Offer.

Fields
customer_constraints

CustomerConstraints

Represents constraints required to purchase the Offer for a customer.

ContactInfo

Contact information for a customer account.

Fields
first_name

string

The customer account contact's first name. Optional for Team customers.

last_name

string

The customer account contact's last name. Optional for Team customers.

display_name

string

Output only. The customer account contact's display name, formatted as a combination of the customer's first and last name.

email

string

The customer account's contact email. Required for entitlements that create admin.google.com accounts, and serves as the customer's username for those accounts. Use this email to invite Team customers.

title

string

Optional. The customer account contact's job title.

phone

string

The customer account's contact phone number.

CreateChannelPartnerLinkRequest

Request message for CloudChannelService.CreateChannelPartnerLink

Fields
parent

string

Required. Create a channel partner link for the provided reseller account's resource name. Parent uses the format: accounts/{account_id}

CreateChannelPartnerRepricingConfigRequest

Request message for CloudChannelService.CreateChannelPartnerRepricingConfig.

Fields
parent

string

Required. The resource name of the ChannelPartner that will receive the repricing config. Parent uses the format: accounts/{account_id}/channelPartnerLinks/{channel_partner_id}

channel_partner_repricing_config

ChannelPartnerRepricingConfig

Required. The ChannelPartnerRepricingConfig object to update.

CreateCustomerRepricingConfigRequest

Request message for CloudChannelService.CreateCustomerRepricingConfig.

Fields
parent

string

Required. The resource name of the customer that will receive this repricing config. Parent uses the format: accounts/{account_id}/customers/{customer_id}

customer_repricing_config

CustomerRepricingConfig

Required. The CustomerRepricingConfig object to update.

CreateCustomerRequest

Request message for CloudChannelService.CreateCustomer

Fields
parent

string

Required. The resource name of reseller account in which to create the customer. Parent uses the format: accounts/{account_id}

customer

Customer

Required. The customer to create.

CreateEntitlementRequest

Request message for CloudChannelService.CreateEntitlement

Fields
parent

string

Required. The resource name of the reseller's customer account in which to create the entitlement. Parent uses the format: accounts/{account_id}/customers/{customer_id}

entitlement

Entitlement

Required. The entitlement to create.

request_id

string

Optional. You can specify an optional unique request ID, and if you need to retry your request, the server will know to ignore the request if it's complete.

For example, you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if it received the original operation with the same request ID. If it did, it will ignore the second request.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Customer

Entity representing a customer of a reseller or distributor.

Fields
name

string

Output only. Resource name of the customer. Format: accounts/{account_id}/customers/{customer_id}

org_display_name

string

Required. Name of the organization that the customer entity represents.

org_postal_address

PostalAddress

Required. The organization address for the customer. To enforce US laws and embargoes, we require a region, postal code, and address lines. You must provide valid addresses for every customer. To set the customer's language, use the Customer-level language code.

primary_contact_info

ContactInfo

Primary contact info.

alternate_email

string

Secondary contact email. You need to provide an alternate email to create different domains if a primary contact email already exists. Users will receive a notification with credentials when you create an admin.google.com account. Secondary emails are also recovery email addresses. Alternate emails are optional when you create Team customers.

domain

string

Required. The customer's primary domain. Must match the primary contact email's domain.

create_time

Timestamp

Output only. Time when the customer was created.

update_time

Timestamp

Output only. Time when the customer was updated.

cloud_identity_id

string

Output only. The customer's Cloud Identity ID if the customer has a Cloud Identity resource.

language_code

string

Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.

cloud_identity_info

CloudIdentityInfo

Output only. Cloud Identity information for the customer. Populated only if a Cloud Identity account exists for this customer.

channel_partner_id

string

Cloud Identity ID of the customer's channel partner. Populated only if a channel partner exists for this customer.

correlation_id

string

Optional. External CRM ID for the customer. Populated only if a CRM ID exists for this customer.

CustomerConstraints

Represents constraints required to purchase the Offer for a customer.

Fields
allowed_regions[]

string

Allowed geographical regions of the customer.

allowed_customer_types[]

CustomerType

Allowed Customer Type.

promotional_order_types[]

PromotionalOrderType

Allowed Promotional Order Type. Present for Promotional offers.

CustomerEvent

Represents Pub/Sub message content describing customer update.

Fields
customer

string

Resource name of the customer. Format: accounts/{account_id}/customers/{customer_id}

event_type

Type

Type of event which happened for the customer.

Type

Type of customer event.

Enums
TYPE_UNSPECIFIED Not used.
PRIMARY_DOMAIN_CHANGED Primary domain for customer was changed.
PRIMARY_DOMAIN_VERIFIED Primary domain of the customer has been verified.

CustomerRepricingConfig

Configuration for how a reseller will reprice a Customer.

Fields
name

string

Output only. Resource name of the CustomerRepricingConfig. Format: accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.

repricing_config

RepricingConfig

Required. The configuration for bill modifications made by a reseller before sending it to customers.

update_time

Timestamp

Output only. Timestamp of an update to the repricing rule. If update_time is after RepricingConfig.effective_invoice_month then it indicates this was set mid-month.

DateRange

A representation of usage or invoice date ranges.

Fields
usage_start_date_time

DateTime

The earliest usage date time (inclusive).

If you use time groupings (daily, weekly, etc), each group uses midnight to midnight (Pacific time). The usage start date is rounded down to include all usage from the specified date. We recommend that clients pass usage_start_date_time in Pacific time.

usage_end_date_time

DateTime

The latest usage date time (exclusive).

If you use time groupings (daily, weekly, etc), each group uses midnight to midnight (Pacific time). The usage end date is rounded down to include all usage from the specified date. We recommend that clients pass usage_start_date_time in Pacific time.

invoice_start_date

Date

The earliest invoice date (inclusive).

If this value is not the first day of a month, this will move it back to the first day of the given month.

invoice_end_date

Date

The latest invoice date (inclusive).

If this value is not the last day of a month, this will move it forward to the last day of the given month.

DeleteChannelPartnerRepricingConfigRequest

Request message for DeleteChannelPartnerRepricingConfig.

Fields
name

string

Required. The resource name of the channel partner repricing config rule to delete.

DeleteCustomerRepricingConfigRequest

Request message for CloudChannelService.DeleteCustomerRepricingConfig.

Fields
name

string

Required. The resource name of the customer repricing config rule to delete. Format: accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.

DeleteCustomerRequest

Request message for CloudChannelService.DeleteCustomer.

Fields
name

string

Required. The resource name of the customer to delete.

EduData

Required Edu Attributes

Fields
institute_type

InstituteType

Designated institute type of customer.

institute_size

InstituteSize

Size of the institute.

website

string

Web address for the edu customer's institution.

InstituteSize

Number of students and staff the institute has.

Enums
INSTITUTE_SIZE_UNSPECIFIED Not used.
SIZE_1_100 1 - 100
SIZE_101_500 101 - 500
SIZE_501_1000 501 - 1,000
SIZE_1001_2000 1,001 - 2,000
SIZE_2001_5000 2,001 - 5,000
SIZE_5001_10000 5,001 - 10,000
SIZE_10001_OR_MORE 10,001 +

InstituteType

Enum to specify the institute type.

Enums
INSTITUTE_TYPE_UNSPECIFIED Not used.
K12 Elementary/Secondary Schools & Districts
UNIVERSITY Higher Education Universities & Colleges

Entitlement

An entitlement is a representation of a customer's ability to use a service.

Fields
name

string

Output only. Resource name of an entitlement in the form: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}.

create_time

Timestamp

Output only. The time at which the entitlement is created.

update_time

Timestamp

Output only. The time at which the entitlement is updated.

offer

string

Required. The offer resource name for which the entitlement is to be created. Takes the form: accounts/{account_id}/offers/{offer_id}.

commitment_settings

CommitmentSettings

Commitment settings for a commitment-based Offer. Required for commitment based offers.

provisioning_state

ProvisioningState

Output only. Current provisioning state of the entitlement.

provisioned_service

ProvisionedService

Output only. Service provisioning details for the entitlement.

suspension_reasons[]

SuspensionReason

Output only. Enumerable of all current suspension reasons for an entitlement.

purchase_order_id

string

Optional. This purchase order (PO) information is for resellers to use for their company tracking usage. If a purchaseOrderId value is given, it appears in the API responses and shows up in the invoice. The property accepts up to 80 plain text characters. This is only supported for Google Workspace entitlements.

trial_settings

TrialSettings

Output only. Settings for trial offers.

association_info

AssociationInfo

Association information to other entitlements.

parameters[]

Parameter

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.
billing_account

string

Optional. The billing account resource name that is used to pay for this entitlement.

price_reference_id

string

Optional. Price reference ID for the offer. Optional field only for offers that require additional price information. Used to guarantee that the pricing is consistent between quoting the offer and placing the order.

Not yet implemented: if this field is populated in a request, it isn't evaluated in the API.

ProvisioningState

Indicates the current provisioning state of the entitlement.

Enums
PROVISIONING_STATE_UNSPECIFIED Not used.
ACTIVE The entitlement is currently active.
SUSPENDED The entitlement is currently suspended.

SuspensionReason

Suspension reason for an entitlement if provisioning_state = SUSPENDED.

Enums
SUSPENSION_REASON_UNSPECIFIED Not used.
RESELLER_INITIATED Entitlement was manually suspended by the Reseller.
TRIAL_ENDED Trial ended.
RENEWAL_WITH_TYPE_CANCEL Entitlement renewal was canceled.
PENDING_TOS_ACCEPTANCE Entitlement was automatically suspended on creation for pending ToS acceptance on customer.
OTHER Other reasons (internal reasons, abuse, etc.).

EntitlementChange

Change event entry for Entitlement order history

Fields
entitlement

string

Required. Resource name of an entitlement in the form: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}

offer

string

Required. Resource name of the Offer at the time of change. Takes the form: accounts/{account_id}/offers/{offer_id}.

provisioned_service

ProvisionedService

Service provisioned for an Entitlement.

change_type

ChangeType

The change action type.

create_time

Timestamp

The submitted time of the change.

operator_type

OperatorType

Operator type responsible for the change.

parameters[]

Parameter

Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc.

operator

string

Human-readable identifier that shows what operator made a change. When the operator_type is RESELLER, this is the user's email address. For all other operator types, this is empty.

Union field change_reason. The reason the change was made change_reason can be only one of the following:
suspension_reason

SuspensionReason

Suspension reason for the Entitlement.

cancellation_reason

CancellationReason

Cancellation reason for the Entitlement.

activation_reason

ActivationReason

The Entitlement's activation reason

other_change_reason

string

e.g. purchase_number change reason, entered by CRS.

ActivationReason

The Entitlement's activation reason

Enums
ACTIVATION_REASON_UNSPECIFIED Not used.
RESELLER_REVOKED_SUSPENSION Reseller reactivated a suspended Entitlement.
CUSTOMER_ACCEPTED_PENDING_TOS Customer accepted pending terms of service.
RENEWAL_SETTINGS_CHANGED Reseller updated the renewal settings on an entitlement that was suspended due to cancellation, and this update reactivated the entitlement.
OTHER_ACTIVATION_REASON Other reasons (Activated temporarily for cancellation, added a payment plan to a trial entitlement, etc.)

CancellationReason

Cancellation reason for the entitlement

Enums
CANCELLATION_REASON_UNSPECIFIED Not used.
SERVICE_TERMINATED Reseller triggered a cancellation of the service.
RELATIONSHIP_ENDED Relationship between the reseller and customer has ended due to a transfer.
PARTIAL_TRANSFER Entitlement transferred away from reseller while still keeping other entitlement(s) with the reseller.

ChangeType

Specifies the type of change action

Enums
CHANGE_TYPE_UNSPECIFIED Not used.
CREATED New Entitlement was created.
PRICE_PLAN_SWITCHED Price plan associated with an Entitlement was changed.
COMMITMENT_CHANGED Number of seats committed for a commitment Entitlement was changed.
RENEWED An annual Entitlement was renewed.
SUSPENDED Entitlement was suspended.
ACTIVATED Entitlement was activated.
CANCELLED Entitlement was cancelled.
SKU_CHANGED Entitlement was upgraded or downgraded for ex. from Google Workspace Business Standard to Google Workspace Business Plus.
RENEWAL_SETTING_CHANGED The settings for renewal of an Entitlement have changed.
PAID_SUBSCRIPTION_STARTED Use for Google Workspace subscription. Either a trial was converted to a paid subscription or a new subscription with no trial is created.
LICENSE_CAP_CHANGED License cap was changed for the entitlement.
SUSPENSION_DETAILS_CHANGED The suspension details have changed (but it is still suspended).
TRIAL_END_DATE_EXTENDED The trial end date was extended.
TRIAL_STARTED Entitlement started trial.

OperatorType

Specifies the type of operator responsible for the change

Enums
OPERATOR_TYPE_UNSPECIFIED Not used.
CUSTOMER_SERVICE_REPRESENTATIVE Customer service representative.
SYSTEM System auto job.
CUSTOMER Customer user.
RESELLER Reseller user.

EntitlementEvent

Represents Pub/Sub message content describing entitlement update.

Fields
entitlement

string

Resource name of an entitlement of the form: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}

event_type

Type

Type of event which happened for the entitlement.

Type

Type of entitlement event.

Enums
TYPE_UNSPECIFIED Not used.
CREATED A new entitlement was created.
PRICE_PLAN_SWITCHED The offer type associated with an entitlement was changed. This is not triggered if an entitlement converts from a commit offer to a flexible offer as part of a renewal.
COMMITMENT_CHANGED Annual commitment for a commit plan was changed.
RENEWED An annual entitlement was renewed.
SUSPENDED Entitlement was suspended.
ACTIVATED Entitlement was unsuspended.
CANCELLED Entitlement was cancelled.
SKU_CHANGED Entitlement was upgraded or downgraded (e.g. from Google Workspace Business Standard to Google Workspace Business Plus).
RENEWAL_SETTING_CHANGED The renewal settings of an entitlement has changed.
PAID_SERVICE_STARTED Paid service has started on trial entitlement.
LICENSE_ASSIGNMENT_CHANGED License was assigned to or revoked from a user.
LICENSE_CAP_CHANGED License cap was changed for the entitlement.

FetchReportResultsRequest

Request message for CloudChannelReportsService.FetchReportResults.

Fields
report_job

string

Required. The report job created by CloudChannelReportsService.RunReportJob. Report_job uses the format: accounts/{account_id}/reportJobs/{report_job_id}

page_size

int32

Optional. Requested page size of the report. The server may return fewer results than requested. If you don't specify a page size, the server uses a sensible default (may change over time).

The maximum value is 30,000; the server will change larger values to 30,000.

page_token

string

Optional. A token that specifies a page of results beyond the first page. Obtained through FetchReportResultsResponse.next_page_token of the previous CloudChannelReportsService.FetchReportResults call.

partition_keys[]

string

Optional. List of keys specifying which report partitions to return. If empty, returns all partitions.

FetchReportResultsResponse

Response message for CloudChannelReportsService.FetchReportResults. Contains a tabular representation of the report results.

Fields
report_metadata

ReportResultsMetadata

The metadata for the report results (display name, columns, row count, and date ranges).

rows[]

Row

The report's lists of values. Each row follows the settings and ordering of the columns from report_metadata.

next_page_token

string

Pass this token to FetchReportResultsRequest.page_token to retrieve the next page of results.

GetChannelPartnerLinkRequest

Request message for CloudChannelService.GetChannelPartnerLink.

Fields
name

string

Required. The resource name of the channel partner link to retrieve. Name uses the format: accounts/{account_id}/channelPartnerLinks/{id} where {id} is the Cloud Identity ID of the partner.

view

ChannelPartnerLinkView

Optional. The level of granularity the ChannelPartnerLink will display.

GetChannelPartnerRepricingConfigRequest

Request message for CloudChannelService.GetChannelPartnerRepricingConfig

Fields
name

string

Required. The resource name of the ChannelPartnerRepricingConfig Format: accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}.

GetCustomerRepricingConfigRequest

Request message for CloudChannelService.GetCustomerRepricingConfig.

Fields
name

string

Required. The resource name of the CustomerRepricingConfig. Format: accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.

GetCustomerRequest

Request message for CloudChannelService.GetCustomer.

Fields
name

string

Required. The resource name of the customer to retrieve. Name uses the format: accounts/{account_id}/customers/{customer_id}

GetEntitlementRequest

Request message for CloudChannelService.GetEntitlement.

Fields
name

string

Required. The resource name of the entitlement to retrieve. Name uses the format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}

ImportCustomerRequest

Request message for CloudChannelService.ImportCustomer

Fields
parent

string

Required. The resource name of the reseller's account. Parent takes the format: accounts/{account_id} or accounts/{account_id}/channelPartnerLinks/{channel_partner_id}

auth_token

string

Optional. The super admin of the resold customer generates this token to authorize a reseller to access their Cloud Identity and purchase entitlements on their behalf. You can omit this token after authorization. See https://support.google.com/a/answer/7643790 for more details.

overwrite_if_exists

bool

Required. Choose to overwrite an existing customer if found. This must be set to true if there is an existing customer with a conflicting region code or domain.

channel_partner_id

string

Optional. Cloud Identity ID of a channel partner who will be the direct reseller for the customer's order. This field is required for 2-tier transfer scenarios and can be provided via the request Parent binding as well.

customer

string

Optional. Specifies the customer that will receive imported Cloud Identity information. Format: accounts/{account_id}/customers/{customer_id}

Union field customer_identity. Specifies the identity of the transfer customer. A customer's cloud_identity_id or domain is required to look up the customer's Cloud Identity. For Team customers, only the cloud_identity_id option is valid. customer_identity can be only one of the following:
domain

string

Required. Customer domain.

cloud_identity_id

string

Required. Customer's Cloud Identity ID

primary_admin_email

string

Required. Customer's primary admin email.

ListChannelPartnerLinksRequest

Request message for CloudChannelService.ListChannelPartnerLinks

Fields
parent

string

Required. The resource name of the reseller account for listing channel partner links. Parent uses the format: accounts/{account_id}

page_size

int32

Optional. Requested page size. Server might return fewer results than requested. If unspecified, server will pick a default size (25). The maximum value is 200; the server will coerce values above 200.

page_token

string

Optional. A token for a page of results other than the first page. Obtained using ListChannelPartnerLinksResponse.next_page_token of the previous CloudChannelService.ListChannelPartnerLinks call.

view

ChannelPartnerLinkView

Optional. The level of granularity the ChannelPartnerLink will display.

ListChannelPartnerLinksResponse

Response message for CloudChannelService.ListChannelPartnerLinks.

Fields
next_page_token

string

A token to retrieve the next page of results. Pass to ListChannelPartnerLinksRequest.page_token to obtain that page.

ListChannelPartnerRepricingConfigsRequest

Request message for CloudChannelService.ListChannelPartnerRepricingConfigs.

Fields
parent

string

Required. The resource name of the account's ChannelPartnerLink. Parent uses the format: accounts/{account_id}/channelPartnerLinks/{channel_partner_id}. Supports accounts/{account_id}/channelPartnerLinks/- to retrieve configs for all channel partners.

page_size

int32

Optional. The maximum number of repricing configs to return. The service may return fewer than this value. If unspecified, returns a maximum of 50 rules. The maximum value is 100; values above 100 will be coerced to 100.

page_token

string

Optional. A token identifying a page of results beyond the first page. Obtained through ListChannelPartnerRepricingConfigsResponse.next_page_token of the previous CloudChannelService.ListChannelPartnerRepricingConfigs call.

filter

string

Optional. A filter for [CloudChannelService.ListChannelPartnerRepricingConfigs] results (channel_partner_link only). You can use this filter when you support a BatchGet-like query. To use the filter, you must set parent=accounts/{account_id}/channelPartnerLinks/-.

Example: channel_partner_link = accounts/account_id/channelPartnerLinks/c1 OR channel_partner_link = accounts/account_id/channelPartnerLinks/c2.

ListChannelPartnerRepricingConfigsResponse

Response message for CloudChannelService.ListChannelPartnerRepricingConfigs.

Fields
channel_partner_repricing_configs[]

ChannelPartnerRepricingConfig

The repricing configs for this channel partner.

next_page_token

string

A token to retrieve the next page of results. Pass to ListChannelPartnerRepricingConfigsRequest.page_token to obtain that page.

ListCustomerRepricingConfigsRequest

Request message for CloudChannelService.ListCustomerRepricingConfigs.

Fields
parent

string

Required. The resource name of the customer. Parent uses the format: accounts/{account_id}/customers/{customer_id}. Supports accounts/{account_id}/customers/- to retrieve configs for all customers.

page_size

int32

Optional. The maximum number of repricing configs to return. The service may return fewer than this value. If unspecified, returns a maximum of 50 rules. The maximum value is 100; values above 100 will be coerced to 100.

page_token

string

Optional. A token identifying a page of results beyond the first page. Obtained through ListCustomerRepricingConfigsResponse.next_page_token of the previous CloudChannelService.ListCustomerRepricingConfigs call.

filter

string

Optional. A filter for [CloudChannelService.ListCustomerRepricingConfigs] results (customer only). You can use this filter when you support a BatchGet-like query. To use the filter, you must set parent=accounts/{account_id}/customers/-.

Example: customer = accounts/account_id/customers/c1 OR customer = accounts/account_id/customers/c2.

ListCustomerRepricingConfigsResponse

Response message for CloudChannelService.ListCustomerRepricingConfigs.

Fields
customer_repricing_configs[]

CustomerRepricingConfig

The repricing configs for this channel partner.

next_page_token

string

A token to retrieve the next page of results. Pass to ListCustomerRepricingConfigsRequest.page_token to obtain that page.

ListCustomersRequest

Request message for CloudChannelService.ListCustomers

Fields
parent

string

Required. The resource name of the reseller account to list customers from. Parent uses the format: accounts/{account_id}.

page_size

int32

Optional. The maximum number of customers to return. The service may return fewer than this value. If unspecified, returns at most 10 customers. The maximum value is 50.

page_token

string

Optional. A token identifying a page of results other than the first page. Obtained through ListCustomersResponse.next_page_token of the previous CloudChannelService.ListCustomers call.

filter

string

Optional. Filters applied to the [CloudChannelService.ListCustomers] results. See https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers for more information.

ListCustomersResponse

Response message for CloudChannelService.ListCustomers.

Fields
customers[]

Customer

The customers belonging to a reseller or distributor.

next_page_token

string

A token to retrieve the next page of results. Pass to ListCustomersRequest.page_token to obtain that page.

ListEntitlementChangesRequest

Request message for CloudChannelService.ListEntitlementChanges

Fields
parent

string

Required. The resource name of the entitlement for which to list entitlement changes. The - wildcard may be used to match entitlements across a customer. Formats:

  • accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
  • accounts/{account_id}/customers/{customer_id}/entitlements/-
page_size

int32

Optional. The maximum number of entitlement changes to return. The service may return fewer than this value. If unspecified, returns at most 10 entitlement changes. The maximum value is 50; the server will coerce values above 50.

page_token

string

Optional. A page token, received from a previous CloudChannelService.ListEntitlementChanges call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to CloudChannelService.ListEntitlementChanges must match the call that provided the page token.

filter

string

Optional. Filters applied to the list results.

ListEntitlementChangesResponse

Response message for CloudChannelService.ListEntitlementChanges

Fields
entitlement_changes[]

EntitlementChange

The list of entitlement changes.

next_page_token

string

A token to list the next page of results.

ListEntitlementsRequest

Request message for CloudChannelService.ListEntitlements

Fields
parent

string

Required. The resource name of the reseller's customer account to list entitlements for. Parent uses the format: accounts/{account_id}/customers/{customer_id}

page_size

int32

Optional. Requested page size. Server might return fewer results than requested. If unspecified, return at most 50 entitlements. The maximum value is 100; the server will coerce values above 100.

page_token

string

Optional. A token for a page of results other than the first page. Obtained using ListEntitlementsResponse.next_page_token of the previous CloudChannelService.ListEntitlements call.

ListEntitlementsResponse

Response message for CloudChannelService.ListEntitlements.

Fields
entitlements[]

Entitlement

The reseller customer's entitlements.

next_page_token

string

A token to list the next page of results. Pass to ListEntitlementsRequest.page_token to obtain that page.

ListOffersRequest

Request message for ListOffers.

Fields
parent

string

Required. The resource name of the reseller account from which to list Offers. Parent uses the format: accounts/{account_id}.

page_size

int32

Optional. Requested page size. Server might return fewer results than requested. If unspecified, returns at most 500 Offers. The maximum value is 1000; the server will coerce values above 1000.

page_token

string

Optional. A token for a page of results other than the first page.

filter

string

Optional. The expression to filter results by name (name of the Offer), sku.name (name of the SKU), or sku.product.name (name of the Product). Example 1: sku.product.name=products/p1 AND sku.name!=products/p1/skus/s1 Example 2: name=accounts/a1/offers/o1

language_code

string

Optional. The BCP-47 language code. For example, "en-US". The response will localize in the corresponding language code, if specified. The default value is "en-US".

show_future_offers

bool

Optional. A boolean flag that determines if a response returns future offers 30 days from now. If the show_future_offers is true, the response will only contain offers that are scheduled to be available 30 days from now.

ListOffersResponse

Response message for ListOffers.

Fields
offers[]

Offer

The list of Offers requested.

next_page_token

string

A token to retrieve the next page of results.

ListProductsRequest

Request message for ListProducts.

Fields
account

string

Required. The resource name of the reseller account. Format: accounts/{account_id}.

page_size

int32

Optional. Requested page size. Server might return fewer results than requested. If unspecified, returns at most 100 Products. The maximum value is 1000; the server will coerce values above 1000.

page_token

string

Optional. A token for a page of results other than the first page.

language_code

string

Optional. The BCP-47 language code. For example, "en-US". The response will localize in the corresponding language code, if specified. The default value is "en-US".

ListProductsResponse

Response message for ListProducts.

Fields
products[]

Product

List of Products requested.

next_page_token

string

A token to retrieve the next page of results.

ListPurchasableOffersRequest

Request message for ListPurchasableOffers.

Fields
customer

string

Required. The resource name of the customer to list Offers for. Format: accounts/{account_id}/customers/{customer_id}.

page_size

int32

Optional. Requested page size. Server might return fewer results than requested. If unspecified, returns at most 100 Offers. The maximum value is 1000; the server will coerce values above 1000.

page_token

string

Optional. A token for a page of results other than the first page.

language_code

string

Optional. The BCP-47 language code. For example, "en-US". The response will localize in the corresponding language code, if specified. The default value is "en-US".

Union field purchase_option. Defines the intended purchase. purchase_option can be only one of the following:
create_entitlement_purchase

CreateEntitlementPurchase

List Offers for CreateEntitlement purchase.

change_offer_purchase

ChangeOfferPurchase

List Offers for ChangeOffer purchase.

ChangeOfferPurchase

List Offers for ChangeOffer purchase.

Fields
entitlement

string

Required. Resource name of the entitlement. Format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}

new_sku

string

Optional. Resource name of the new target SKU. Provide this SKU when upgrading or downgrading an entitlement. Format: products/{product_id}/skus/{sku_id}

billing_account

string

Optional. Resource name of the new target Billing Account. Provide this Billing Account when setting up billing for a trial subscription. Format: accounts/{account_id}/billingAccounts/{billing_account_id}.

This field is only relevant for multi-currency accounts. It should be left empty for single currency accounts.

CreateEntitlementPurchase

List Offers for CreateEntitlement purchase.

Fields
sku

string

Required. SKU that the result should be restricted to. Format: products/{product_id}/skus/{sku_id}.

billing_account

string

Optional. Billing account that the result should be restricted to. Format: accounts/{account_id}/billingAccounts/{billing_account_id}.

ListPurchasableOffersResponse

Response message for ListPurchasableOffers.

Fields
purchasable_offers[]

PurchasableOffer

The list of Offers requested.

next_page_token

string

A token to retrieve the next page of results.

ListPurchasableSkusRequest

Request message for ListPurchasableSkus.

Fields
customer

string

Required. The resource name of the customer to list SKUs for. Format: accounts/{account_id}/customers/{customer_id}.

page_size

int32

Optional. Requested page size. Server might return fewer results than requested. If unspecified, returns at most 100 SKUs. The maximum value is 1000; the server will coerce values above 1000.

page_token

string

Optional. A token for a page of results other than the first page.

language_code

string

Optional. The BCP-47 language code. For example, "en-US". The response will localize in the corresponding language code, if specified. The default value is "en-US".

Union field purchase_option. Defines the intended purchase. purchase_option can be only one of the following:
create_entitlement_purchase

CreateEntitlementPurchase

List SKUs for CreateEntitlement purchase.

change_offer_purchase

ChangeOfferPurchase

List SKUs for ChangeOffer purchase with a new SKU.

ChangeOfferPurchase

List SKUs for upgrading or downgrading an entitlement. Make the purchase using CloudChannelService.ChangeOffer.

Fields
entitlement

string

Required. Resource name of the entitlement. Format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}

change_type

ChangeType

Required. Change Type for the entitlement.

ChangeType

Change Type enum.

Enums
CHANGE_TYPE_UNSPECIFIED Not used.
UPGRADE SKU is an upgrade on the current entitlement.
DOWNGRADE SKU is a downgrade on the current entitlement.

CreateEntitlementPurchase

List SKUs for a new entitlement. Make the purchase using CloudChannelService.CreateEntitlement.

Fields
product

string

Required. List SKUs belonging to this Product. Format: products/{product_id}. Supports products/- to retrieve SKUs for all products.

ListPurchasableSkusResponse

Response message for ListPurchasableSkus.

Fields
purchasable_skus[]

PurchasableSku

The list of SKUs requested.

next_page_token

string

A token to retrieve the next page of results.

ListReportsRequest

Request message for CloudChannelReportsService.ListReports.

Fields
parent

string

Required. The resource name of the partner account to list available reports for. Parent uses the format: accounts/{account_id}

page_size

int32

Optional. Requested page size of the report. The server might return fewer results than requested. If unspecified, returns 20 reports. The maximum value is 100.

page_token

string

Optional. A token that specifies a page of results beyond the first page. Obtained through ListReportsResponse.next_page_token of the previous CloudChannelReportsService.ListReports call.

language_code

string

Optional. The BCP-47 language code, such as "en-US". If specified, the response is localized to the corresponding language code if the original data sources support it. Default is "en-US".

ListReportsResponse

Response message for CloudChannelReportsService.ListReports.

Fields
reports[]

Report

The reports available to the partner.

next_page_token

string

Pass this token to FetchReportResultsRequest.page_token to retrieve the next page of results.

ListSkuGroupBillableSkusRequest

Request message for ListSkuGroupBillableSkus.

Fields
parent

string

Required. Resource name of the SKU group. Format: accounts/{account}/skuGroups/{sku_group}.

page_size

int32

Optional. The maximum number of SKUs to return. The service may return fewer than this value. If unspecified, returns a maximum of 100000 SKUs. The maximum value is 100000; values above 100000 will be coerced to 100000.

page_token

string

Optional. A token identifying a page of results beyond the first page. Obtained through ListSkuGroupBillableSkusResponse.next_page_token of the previous CloudChannelService.ListSkuGroupBillableSkus call.

ListSkuGroupBillableSkusResponse

Response message for ListSkuGroupBillableSkus.

Fields
billable_skus[]

BillableSku

The list of billable SKUs in the requested SKU group.

next_page_token

string

A token to retrieve the next page of results. Pass to ListSkuGroupBillableSkusRequest.page_token to obtain that page.

ListSkuGroupsRequest

Request message for ListSkuGroups.

Fields
parent

string

Required. The resource name of the account from which to list SKU groups. Parent uses the format: accounts/{account}.

page_size

int32

Optional. The maximum number of SKU groups to return. The service may return fewer than this value. If unspecified, returns a maximum of 1000 SKU groups. The maximum value is 1000; values above 1000 will be coerced to 1000.

page_token

string

Optional. A token identifying a page of results beyond the first page. Obtained through ListSkuGroupsResponse.next_page_token of the previous CloudChannelService.ListSkuGroups call.

ListSkuGroupsResponse

Response message for ListSkuGroups.

Fields
sku_groups[]

SkuGroup

The list of SKU groups requested.

next_page_token

string

A token to retrieve the next page of results. Pass to ListSkuGroupsRequest.page_token to obtain that page.

ListSkusRequest

Request message for ListSkus.

Fields
parent

string

Required. The resource name of the Product to list SKUs for. Parent uses the format: products/{product_id}. Supports products/- to retrieve SKUs for all products.

account

string

Required. Resource name of the reseller. Format: accounts/{account_id}.

page_size

int32

Optional. Requested page size. Server might return fewer results than requested. If unspecified, returns at most 100 SKUs. The maximum value is 1000; the server will coerce values above 1000.

page_token

string

Optional. A token for a page of results other than the first page. Optional.

language_code

string

Optional. The BCP-47 language code. For example, "en-US". The response will localize in the corresponding language code, if specified. The default value is "en-US".

ListSkusResponse

Response message for ListSkus.

Fields
skus[]

Sku

The list of SKUs requested.

next_page_token

string

A token to retrieve the next page of results.

ListSubscribersRequest

Request Message for ListSubscribers.

Fields
account

string

Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset.

page_size

int32

Optional. The maximum number of service accounts to return. The service may return fewer than this value. If unspecified, returns at most 100 service accounts. The maximum value is 1000; the server will coerce values above 1000.

page_token

string

Optional. A page token, received from a previous ListSubscribers call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListSubscribers must match the call that provided the page token.

integrator

string

Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset.

ListSubscribersResponse

Response Message for ListSubscribers.

Fields
topic

string

Name of the topic registered with the reseller.

service_accounts[]

string

List of service accounts which have subscriber access to the topic.

next_page_token

string

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

ListTransferableOffersRequest

Request message for CloudChannelService.ListTransferableOffers

Fields
parent

string

Required. The resource name of the reseller's account.

page_size

int32

Requested page size. Server might return fewer results than requested. If unspecified, returns at most 100 offers. The maximum value is 1000; the server will coerce values above 1000.

page_token

string

A token for a page of results other than the first page. Obtained using ListTransferableOffersResponse.next_page_token of the previous CloudChannelService.ListTransferableOffers call.

sku

string

Required. The SKU to look up Offers for.

language_code

string

Optional. The BCP-47 language code. For example, "en-US". The response will localize in the corresponding language code, if specified. The default value is "en-US".

billing_account

string

Optional. The Billing Account to look up Offers for. Format: accounts/{account_id}/billingAccounts/{billing_account_id}.

This field is only relevant for multi-currency accounts. It should be left empty for single currency accounts.

Union field transferred_customer_identity. Specifies the identity of transferred customer. Either a cloud_identity_id of the customer or the customer name is required to look up transferrable Offers. transferred_customer_identity can be only one of the following:
cloud_identity_id

string

Customer's Cloud Identity ID

customer_name

string

A reseller should create a customer and use the resource name of that customer here.

ListTransferableOffersResponse

Response message for CloudChannelService.ListTransferableOffers.

Fields
transferable_offers[]

TransferableOffer

Information about Offers for a customer that can be used for transfer.

next_page_token

string

A token to retrieve the next page of results. Pass to ListTransferableOffersRequest.page_token to obtain that page.

ListTransferableSkusRequest

Request message for CloudChannelService.ListTransferableSkus

Fields
parent

string

Required. The reseller account's resource name. Parent uses the format: accounts/{account_id}

page_size

int32

The requested page size. Server might return fewer results than requested. If unspecified, returns at most 100 SKUs. The maximum value is 1000; the server will coerce values above 1000. Optional.

page_token

string

A token for a page of results other than the first page. Obtained using ListTransferableSkusResponse.next_page_token of the previous CloudChannelService.ListTransferableSkus call. Optional.

auth_token

string

Optional. The super admin of the resold customer generates this token to authorize a reseller to access their Cloud Identity and purchase entitlements on their behalf. You can omit this token after authorization. See https://support.google.com/a/answer/7643790 for more details.

language_code

string

The BCP-47 language code. For example, "en-US". The response will localize in the corresponding language code, if specified. The default value is "en-US". Optional.

Union field transferred_customer_identity. Specifies the identity of transferred customer. Either a cloud_identity_id of the customer or the customer name is required to look up transferable SKUs. transferred_customer_identity can be only one of the following:
cloud_identity_id

string

Customer's Cloud Identity ID

customer_name

string

A reseller is required to create a customer and use the resource name of the created customer here. Customer_name uses the format: accounts/{account_id}/customers/{customer_id}

ListTransferableSkusResponse

Response message for CloudChannelService.ListTransferableSkus.

Fields
transferable_skus[]

TransferableSku

Information about existing SKUs for a customer that needs a transfer.

next_page_token

string

A token to retrieve the next page of results. Pass to ListTransferableSkusRequest.page_token to obtain that page.

LookupOfferRequest

Request message for LookupOffer.

Fields
entitlement

string

Required. The resource name of the entitlement to retrieve the Offer. Entitlement uses the format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}

MarketingInfo

Represents the marketing information for a Product, SKU or Offer.

Fields
display_name

string

Human readable name.

description

string

Human readable description. Description can contain HTML.

Media

Represents media information.

Fields
title

string

Title of the media.

content

string

URL of the media.

type

MediaType

Type of the media.

MediaType

Type of media used.

Enums
MEDIA_TYPE_UNSPECIFIED Not used.
MEDIA_TYPE_IMAGE Type of image.

Offer

Represents an offer made to resellers for purchase. An offer is associated with a Sku, has a plan for payment, a price, and defines the constraints for buying.

Fields
name

string

Resource Name of the Offer. Format: accounts/{account_id}/offers/{offer_id}

marketing_info

MarketingInfo

Marketing information for the Offer.

sku

Sku

SKU the offer is associated with.

plan

Plan

Describes the payment plan for the Offer.

constraints

Constraints

Constraints on transacting the Offer.

price_by_resources[]

PriceByResource

Price for each monetizable resource type.

start_time

Timestamp

Start of the Offer validity time.

end_time

Timestamp

Output only. End of the Offer validity time.

parameter_definitions[]

ParameterDefinition

Parameters required to use current Offer to purchase.

deal_code

string

The deal code of the offer to get a special promotion or discount.

OperationMetadata

Provides contextual information about a google.longrunning.Operation.

Fields
operation_type

OperationType

The RPC that initiated this Long Running Operation.

OperationType

RPCs that return a Long Running Operation.

Enums
OPERATION_TYPE_UNSPECIFIED Not used.
CREATE_ENTITLEMENT Long Running Operation was triggered by CreateEntitlement.
CHANGE_RENEWAL_SETTINGS Long Running Operation was triggered by ChangeRenewalSettings.
START_PAID_SERVICE Long Running Operation was triggered by StartPaidService.
ACTIVATE_ENTITLEMENT Long Running Operation was triggered by ActivateEntitlement.
SUSPEND_ENTITLEMENT Long Running Operation was triggered by SuspendEntitlement.
CANCEL_ENTITLEMENT Long Running Operation was triggered by CancelEntitlement.
TRANSFER_ENTITLEMENTS Long Running Operation was triggered by TransferEntitlements.
TRANSFER_ENTITLEMENTS_TO_GOOGLE Long Running Operation was triggered by TransferEntitlementsToGoogle.
CHANGE_OFFER Long Running Operation was triggered by ChangeOffer.
CHANGE_PARAMETERS Long Running Operation was triggered by ChangeParameters.
PROVISION_CLOUD_IDENTITY Long Running Operation was triggered by ProvisionCloudIdentity.

Parameter

Definition for extended entitlement parameters.

Fields
name

string

Name of the parameter.

value

Value

Value of the parameter.

editable

bool

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.

ParameterDefinition

Parameter's definition. Specifies what parameter is required to use the current Offer to purchase.

Fields
name

string

Name of the parameter.

parameter_type

ParameterType

Data type of the parameter. Minimal value, Maximum value and allowed values will use specified data type here.

min_value

Value

Minimal value of the parameter, if applicable. Inclusive. For example, minimal commitment when purchasing Anthos is 0.01. Applicable to INT64 and DOUBLE parameter types.

max_value

Value

Maximum value of the parameter, if applicable. Inclusive. For example, maximum seats when purchasing Google Workspace Business Standard. Applicable to INT64 and DOUBLE parameter types.

allowed_values[]

Value

If not empty, parameter values must be drawn from this list. For example, [us-west1, us-west2, ...] Applicable to STRING parameter type.

optional

bool

If set to true, parameter is optional to purchase this Offer.

ParameterType

Data type of the parameter.

Enums
PARAMETER_TYPE_UNSPECIFIED Not used.
INT64 Int64 type.
STRING String type.
DOUBLE Double type.
BOOLEAN Boolean type.

PaymentPlan

Describes how the reseller will be billed.

Enums
PAYMENT_PLAN_UNSPECIFIED Not used.
COMMITMENT Commitment.
FLEXIBLE No commitment.
FREE Free.
TRIAL Trial.
OFFLINE Price and ordering not available through API.

PaymentType

Specifies when the payment needs to happen.

Enums
PAYMENT_TYPE_UNSPECIFIED Not used.
PREPAY Prepay. Amount has to be paid before service is rendered.
POSTPAY Postpay. Reseller is charged at the end of the Payment cycle.

PercentageAdjustment

An adjustment that applies a flat markup or markdown to an entire bill.

Fields
percentage

Decimal

The percentage of the bill to adjust. For example: Mark down by 1% => "-1.00" Mark up by 1% => "1.00" Pass-Through => "0.00"

Period

Represents period in days/months/years.

Fields
duration

int32

Total duration of Period Type defined.

period_type

PeriodType

Period Type.

PeriodType

Period Type.

Enums
PERIOD_TYPE_UNSPECIFIED Not used.
DAY Day.
MONTH Month.
YEAR Year.

Plan

The payment plan for the Offer. Describes how to make a payment.

Fields
payment_plan

PaymentPlan

Describes how a reseller will be billed.

payment_type

PaymentType

Specifies when the payment needs to happen.

payment_cycle

Period

Describes how frequently the reseller will be billed, such as once per month.

trial_period

Period

Present for Offers with a trial period. For trial-only Offers, a paid service needs to start before the trial period ends for continued service. For Regular Offers with a trial period, the regular pricing goes into effect when trial period ends, or if paid service is started before the end of the trial period.

billing_account

string

Reseller Billing account to charge after an offer transaction. Only present for Google Cloud offers.

Price

Represents the price of the Offer.

Fields
base_price

Money

Base price.

discount

double

Discount percentage, represented as decimal. For example, a 20% discount will be represent as 0.2.

effective_price

Money

Effective Price after applying the discounts.

external_price_uri

string

Link to external price list, such as link to Google Voice rate card.

PriceByResource

Represents price by resource type.

Fields
resource_type

ResourceType

Resource Type. Example: SEAT

price

Price

Price of the Offer. Present if there are no price phases.

price_phases[]

PricePhase

Specifies the price by time range.

PricePhase

Specifies the price by the duration of months. For example, a 20% discount for the first six months, then a 10% discount starting on the seventh month.

Fields
period_type

PeriodType

Defines the phase period type.

first_period

int32

Defines first period for the phase.

last_period

int32

Defines first period for the phase.

price

Price

Price of the phase. Present if there are no price tiers.

price_tiers[]

PriceTier

Price by the resource tiers.

PriceTier

Defines price at resource tier level. For example, an offer with following definition :

  • Tier 1: Provide 25% discount for all seats between 1 and 25.
  • Tier 2: Provide 10% discount for all seats between 26 and 100.
  • Tier 3: Provide flat 15% discount for all seats above 100.

Each of these tiers is represented as a PriceTier.

Fields
first_resource

int32

First resource for which the tier price applies.

last_resource

int32

Last resource for which the tier price applies.

price

Price

Price of the tier.

Product

A Product is the entity a customer uses when placing an order. For example, Google Workspace, Google Voice, etc.

Fields
name

string

Resource Name of the Product. Format: products/{product_id}

marketing_info

MarketingInfo

Marketing information for the product.

PromotionalOrderType

Constraints type for Promotional offers.

Enums
PROMOTIONAL_TYPE_UNSPECIFIED Not used.
NEW_UPGRADE Order used for new customers, trial conversions and upgrades.
TRANSFER All orders for transferring an existing customer.
PROMOTION_SWITCH Orders for modifying an existing customer's promotion on the same SKU.

ProvisionCloudIdentityRequest

Request message for CloudChannelService.ProvisionCloudIdentity

Fields
customer

string

Required. Resource name of the customer. Format: accounts/{account_id}/customers/{customer_id}

cloud_identity_info

CloudIdentityInfo

CloudIdentity-specific customer information.

user

AdminUser

Admin user information.

validate_only

bool

Validate the request and preview the review, but do not post it.

ProvisionedService

Service provisioned for an entitlement.

Fields
provisioning_id

string

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.

product_id

string

Output only. The product pertaining to the provisioning resource as specified in the Offer.

sku_id

string

Output only. The SKU pertaining to the provisioning resource as specified in the Offer.

PurchasableOffer

Offer that you can purchase for a customer. This is used in the ListPurchasableOffer API response.

Fields
offer

Offer

Offer.

price_reference_id

string

Optional. Price reference ID for the offer. Optional field only for offers that require additional price information. Used to guarantee that the pricing is consistent between quoting the offer and placing the order.

PurchasableSku

SKU that you can purchase. This is used in ListPurchasableSku API response.

Fields
sku

Sku

SKU

QueryEligibleBillingAccountsRequest

Request message for QueryEligibleBillingAccounts.

Fields
customer

string

Required. The resource name of the customer to list eligible billing accounts for. Format: accounts/{account_id}/customers/{customer_id}.

skus[]

string

Required. List of SKUs to list eligible billing accounts for. At least one SKU is required. Format: products/{product_id}/skus/{sku_id}.

QueryEligibleBillingAccountsResponse

Response message for QueryEligibleBillingAccounts.

Fields
sku_purchase_groups[]

SkuPurchaseGroup

List of SKU purchase groups where each group represents a set of SKUs that must be purchased using the same billing account. Each SKU from [QueryEligibleBillingAccountsRequest.skus] will appear in exactly one SKU group.

RebillingBasis

Specifies the different costs that the modified bill can be based on.

Enums
REBILLING_BASIS_UNSPECIFIED Not used.
COST_AT_LIST Use the list cost, also known as the MSRP.
DIRECT_CUSTOMER_COST Pass through all discounts except the Reseller Program Discount. If this is the default cost base and no adjustments are specified, the output cost will be exactly what the customer would see if they viewed the bill in the Google Cloud Console.

RegisterSubscriberRequest

Request Message for RegisterSubscriber.

Fields
account

string

Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset.

service_account

string

Required. Service account that provides subscriber access to the registered topic.

integrator

string

Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset.

RegisterSubscriberResponse

Response Message for RegisterSubscriber.

Fields
topic

string

Name of the topic the subscriber will listen to.

RenewalSettings

Renewal settings for renewable Offers.

Fields
enable_renewal

bool

If false, the plan will be completed at the end date.

resize_unit_count

bool

If true and enable_renewal = true, the unit (for example seats or licenses) will be set to the number of active units at renewal time.

payment_plan

PaymentPlan

Describes how a reseller will be billed.

payment_cycle

Period

Describes how frequently the reseller will be billed, such as once per month.

Report

The ID and description of a report that was used to generate report data. For example, "Google Cloud Daily Spend", "Google Workspace License Activity", etc.

Fields
name

string

Required. The report's resource name. Specifies the account and report used to generate report data. The report_id identifier is a UID (for example, 613bf59q).

Name uses the format: accounts/{account_id}/reports/{report_id}

display_name

string

A human-readable name for this report.

columns[]

Column

The list of columns included in the report. This defines the schema of the report results.

description

string

A description of other aspects of the report, such as the products it supports.

ReportJob

The result of a [RunReportJob][] operation. Contains the name to use in FetchReportResultsRequest.report_job and the status of the operation.

Fields
name

string

Required. The resource name of a report job. Name uses the format: accounts/{account_id}/reportJobs/{report_job_id}

report_status

ReportStatus

The current status of report generation.

ReportResultsMetadata

The features describing the data. Returned by CloudChannelReportsService.RunReportJob and CloudChannelReportsService.FetchReportResults.

Fields
report

Report

Details of the completed report.

row_count

int64

The total number of rows of data in the final report.

date_range

DateRange

The date range of reported usage.

preceding_date_range

DateRange

The usage dates immediately preceding date_range with the same duration. Use this to calculate trending usage and costs. This is only populated if you request trending data.

For example, if date_range is July 1-15, preceding_date_range will be June 16-30.

ReportStatus

Status of a report generation process.

Fields
state

State

The current state of the report generation process.

start_time

Timestamp

The report generation's start time.

end_time

Timestamp

The report generation's completion time.

State

Available states of report generation.

Enums
STATE_UNSPECIFIED Not used.
STARTED Report processing started.
WRITING Data generated from the report is being staged.
AVAILABLE Report data is available for access.
FAILED Report failed.

ReportValue

A single report value.

Fields
Union field value. A single report value. value can be only one of the following:
string_value

string

A value of type string.

int_value

int64

A value of type int.

decimal_value

Decimal

A value of type google.type.Decimal, representing non-integer numeric values.

money_value

Money

A value of type google.type.Money (currency code, whole units, decimal units).

date_value

Date

A value of type google.type.Date (year, month, day).

date_time_value

DateTime

A value of type google.type.DateTime (year, month, day, hour, minute, second, and UTC offset or timezone.)

RepricingAdjustment

A type that represents the various adjustments you can apply to a bill.

Fields
Union field adjustment. A oneof that represents the different types for this adjustment. adjustment can be only one of the following:
percentage_adjustment

PercentageAdjustment

Flat markup or markdown on an entire bill.

RepricingCondition

Represents the various repricing conditions you can use for a conditional override.

Fields
Union field condition. Represents the types of existing conditional statements. condition can be only one of the following:
sku_group_condition

SkuGroupCondition

SKU Group condition for override.

RepricingConfig

Configuration for repricing a Google bill over a period of time.

Fields
effective_invoice_month

Date

Required. The YearMonth when these adjustments activate. The Day field needs to be "0" since we only accept YearMonth repricing boundaries.

adjustment

RepricingAdjustment

Required. Information about the adjustment.

rebilling_basis

RebillingBasis

Required. The RebillingBasis to use for this bill. Specifies the relative cost based on repricing costs you will apply.

conditional_overrides[]

ConditionalOverride

The conditional overrides to apply for this configuration. If you list multiple overrides, only the first valid override is used. If you don't list any overrides, the API uses the normal adjustment and rebilling basis.

Union field granularity. Required. Defines the granularity for repricing. granularity can be only one of the following:
entitlement_granularity

EntitlementGranularity

Applies the repricing configuration at the entitlement level.

Note: If a ChannelPartnerRepricingConfig using RepricingConfig.EntitlementGranularity becomes effective, then no existing or future RepricingConfig.ChannelPartnerGranularity will apply to the RepricingConfig.EntitlementGranularity.entitlement. This is the recommended value for both CustomerRepricingConfig and ChannelPartnerRepricingConfig.

channel_partner_granularity
(deprecated)

ChannelPartnerGranularity

Applies the repricing configuration at the channel partner level. Only ChannelPartnerRepricingConfig supports this value. Deprecated: This is no longer supported. Use RepricingConfig.entitlement_granularity instead.

ChannelPartnerGranularity

This type has no fields.

Applies the repricing configuration at the channel partner level. The channel partner value is derived from the resource name. Takes an empty json object. Deprecated: This is no longer supported. Use RepricingConfig.EntitlementGranularity instead.

EntitlementGranularity

Applies the repricing configuration at the entitlement level.

Fields
entitlement

string

Resource name of the entitlement. Format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}

ResourceType

Represents the type for a monetizable resource(any entity on which billing happens). For example, this could be MINUTES for Google Voice and GB for Google Drive. One SKU can map to multiple monetizable resources.

Enums
RESOURCE_TYPE_UNSPECIFIED Not used.
SEAT Seat.
MAU Monthly active user.
GB GB (used for storage SKUs).
LICENSED_USER Active licensed users(for Voice SKUs).
MINUTES Voice usage.
IAAS_USAGE For IaaS SKUs like Google Cloud, monetization is based on usage accrued on your billing account irrespective of the type of monetizable resource. This enum represents an aggregated resource/container for all usage SKUs on a billing account. Currently, only applicable to Google Cloud.
SUBSCRIPTION For Google Cloud subscriptions like Anthos or SAP.

Row

A row of report values.

Fields
values[]

ReportValue

The list of values in the row.

partition_key

string

The key for the partition this row belongs to. This field is empty if the report is not partitioned.

RunReportJobRequest

Request message for CloudChannelReportsService.RunReportJob.

Fields
name

string

Required. The report's resource name. Specifies the account and report used to generate report data. The report_id identifier is a UID (for example, 613bf59q). Name uses the format: accounts/{account_id}/reports/{report_id}

date_range

DateRange

Optional. The range of usage or invoice dates to include in the result.

filter

string

Optional. A structured string that defines conditions on dimension columns to restrict the report output.

Filters support logical operators (AND, OR, NOT) and conditional operators (=, !=, <, >, <=, and >=) using column_id as keys.

For example: (customer:"accounts/C123abc/customers/S456def" OR customer:"accounts/C123abc/customers/S789ghi") AND invoice_start_date.year >= 2022

language_code

string

Optional. The BCP-47 language code, such as "en-US". If specified, the response is localized to the corresponding language code if the original data sources support it. Default is "en-US".

RunReportJobResponse

Response message for CloudChannelReportsService.RunReportJob.

Fields
report_job

ReportJob

Pass report_job.name to FetchReportResultsRequest.report_job to retrieve the report's results.

report_metadata

ReportResultsMetadata

The metadata for the report's results (display name, columns, row count, and date range). If you view this before the operation finishes, you may see incomplete data.

Sku

Represents a product's purchasable Stock Keeping Unit (SKU). SKUs represent the different variations of the product. For example, Google Workspace Business Standard and Google Workspace Business Plus are Google Workspace product SKUs.

Fields
name

string

Resource Name of the SKU. Format: products/{product_id}/skus/{sku_id}

marketing_info

MarketingInfo

Marketing information for the SKU.

product

Product

Product the SKU is associated with.

SkuGroup

Represents the SKU group information.

Fields
name

string

Resource name of SKU group. Format: accounts/{account}/skuGroups/{sku_group}. Example: "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041".

display_name

string

Unique human readable identifier for the SKU group.

SkuGroupCondition

A condition that applies the override if a line item SKU is found in the SKU group.

Fields
sku_group

string

Specifies a SKU group (https://cloud.google.com/skus/sku-groups). Resource name of SKU group. Format: accounts/{account}/skuGroups/{sku_group}. Example: "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041".

SkuPurchaseGroup

Represents a set of SKUs that must be purchased using the same billing account.

Fields
skus[]

string

Resource names of the SKUs included in this group. Format: products/{product_id}/skus/{sku_id}.

billing_account_purchase_infos[]

BillingAccountPurchaseInfo

List of billing accounts that are eligible to purhcase these SKUs.

StartPaidServiceRequest

Request message for CloudChannelService.StartPaidService.

Fields
name

string

Required. The name of the entitlement to start a paid service for. Name uses the format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}

request_id

string

Optional. You can specify an optional unique request ID, and if you need to retry your request, the server will know to ignore the request if it's complete.

For example, you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if it received the original operation with the same request ID. If it did, it will ignore the second request.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

SubscriberEvent

Represents information which resellers will get as part of notification from Pub/Sub.

Fields
Union field event. Specifies the Pub/Sub event provided to the partners. This is a required field. event can be only one of the following:
customer_event

CustomerEvent

Customer event sent as part of Pub/Sub event to partners.

entitlement_event

EntitlementEvent

Entitlement event sent as part of Pub/Sub event to partners.

SuspendEntitlementRequest

Request message for CloudChannelService.SuspendEntitlement.

Fields
name

string

Required. The resource name of the entitlement to suspend. Name uses the format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}

request_id

string

Optional. You can specify an optional unique request ID, and if you need to retry your request, the server will know to ignore the request if it's complete.

For example, you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if it received the original operation with the same request ID. If it did, it will ignore the second request.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

TransferEligibility

Specifies transfer eligibility of a SKU.

Fields
is_eligible

bool

Whether reseller is eligible to transfer the SKU.

description

string

Localized description if reseller is not eligible to transfer the SKU.

ineligibility_reason

Reason

Specified the reason for ineligibility.

Reason

Reason of ineligibility.

Enums
REASON_UNSPECIFIED Not used.
PENDING_TOS_ACCEPTANCE Reseller needs to accept TOS before transferring the SKU.
SKU_NOT_ELIGIBLE Reseller not eligible to sell the SKU.
SKU_SUSPENDED SKU subscription is suspended
CHANNEL_PARTNER_NOT_AUTHORIZED_FOR_SKU The reseller is not authorized to transact on this Product. See https://support.google.com/channelservices/answer/9759265

TransferEntitlementsRequest

Request message for CloudChannelService.TransferEntitlements.

Fields
parent

string

Required. The resource name of the reseller's customer account that will receive transferred entitlements. Parent uses the format: accounts/{account_id}/customers/{customer_id}

entitlements[]

Entitlement

Required. The new entitlements to create or transfer.

auth_token

string

The super admin of the resold customer generates this token to authorize a reseller to access their Cloud Identity and purchase entitlements on their behalf. You can omit this token after authorization. See https://support.google.com/a/answer/7643790 for more details.

request_id

string

Optional. You can specify an optional unique request ID, and if you need to retry your request, the server will know to ignore the request if it's complete.

For example, you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if it received the original operation with the same request ID. If it did, it will ignore the second request.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

TransferEntitlementsResponse

Response message for CloudChannelService.TransferEntitlements. This is put in the response field of google.longrunning.Operation.

Fields
entitlements[]

Entitlement

The transferred entitlements.

TransferEntitlementsToGoogleRequest

Request message for CloudChannelService.TransferEntitlementsToGoogle.

Fields
parent

string

Required. The resource name of the reseller's customer account where the entitlements transfer from. Parent uses the format: accounts/{account_id}/customers/{customer_id}

entitlements[]

Entitlement

Required. The entitlements to transfer to Google.

request_id

string

Optional. You can specify an optional unique request ID, and if you need to retry your request, the server will know to ignore the request if it's complete.

For example, you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if it received the original operation with the same request ID. If it did, it will ignore the second request.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

TransferableOffer

TransferableOffer represents an Offer that can be used in Transfer. Read-only.

Fields
offer

Offer

Offer with parameter constraints updated to allow the Transfer.

price_reference_id

string

Optional. Price reference ID for the offer. Optional field only for offers that require additional price information. Used to guarantee that the pricing is consistent between quoting the offer and placing the order.

TransferableSku

TransferableSku represents information a reseller needs to view existing provisioned services for a customer that they do not own. Read-only.

Fields
transfer_eligibility

TransferEligibility

Describes the transfer eligibility of a SKU.

sku

Sku

The SKU pertaining to the provisioning resource as specified in the Offer.

legacy_sku

Sku

Optional. The customer to transfer has an entitlement with the populated legacy SKU.

TrialSettings

Settings for trial offers.

Fields
trial

bool

Determines if the entitlement is in a trial or not:

  • true - The entitlement is in trial.
  • false - The entitlement is not in trial.
end_time

Timestamp

Date when the trial ends. The value is in milliseconds using the UNIX Epoch format. See an example Epoch converter.

UnregisterSubscriberRequest

Request Message for UnregisterSubscriber.

Fields
account

string

Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset.

service_account

string

Required. Service account to unregister from subscriber access to the topic.

integrator

string

Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset.

UnregisterSubscriberResponse

Response Message for UnregisterSubscriber.

Fields
topic

string

Name of the topic the service account subscriber access was removed from.

UpdateChannelPartnerLinkRequest

Request message for CloudChannelService.UpdateChannelPartnerLink

Fields
name

string

Required. The resource name of the channel partner link to cancel. Name uses the format: accounts/{account_id}/channelPartnerLinks/{id} where {id} is the Cloud Identity ID of the partner.

update_mask

FieldMask

Required. The update mask that applies to the resource. The only allowable value for an update mask is channel_partner_link.link_state.

UpdateChannelPartnerRepricingConfigRequest

Request message for CloudChannelService.UpdateChannelPartnerRepricingConfig.

Fields
channel_partner_repricing_config

ChannelPartnerRepricingConfig

Required. The ChannelPartnerRepricingConfig object to update.

UpdateCustomerRepricingConfigRequest

Request message for CloudChannelService.UpdateCustomerRepricingConfig.

Fields
customer_repricing_config

CustomerRepricingConfig

Required. The CustomerRepricingConfig object to update.

UpdateCustomerRequest

Request message for CloudChannelService.UpdateCustomer.

Fields
customer

Customer

Required. New contents of the customer.

update_mask

FieldMask

The update mask that applies to the resource. Optional.

Value

Data type and value of a parameter.

Fields
Union field kind. The kind of value. kind can be only one of the following:
int64_value

int64

Represents an int64 value.

string_value

string

Represents a string value.

double_value

double

Represents a double value.

proto_value

Any

Represents an 'Any' proto value.

bool_value

bool

Represents a boolean value.