Class AccountsResource.CustomersResource.QueryEligibleBillingAccountsRequest
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.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Cloudchannel.v1
Assembly: Google.Apis.Cloudchannel.v1.dll
Syntax
public class AccountsResource.CustomersResource.QueryEligibleBillingAccountsRequest : CloudchannelBaseServiceRequest<GoogleCloudChannelV1QueryEligibleBillingAccountsResponse>, IClientServiceRequest<GoogleCloudChannelV1QueryEligibleBillingAccountsResponse>, IClientServiceRequest
Constructors
QueryEligibleBillingAccountsRequest(IClientService, string)
Constructs a new QueryEligibleBillingAccounts request.
Declaration
public QueryEligibleBillingAccountsRequest(IClientService service, string customer)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | customer |
Properties
Customer
Required. The resource name of the customer to list eligible billing accounts for. Format: accounts/{account_id}/customers/{customer_id}.
Declaration
[RequestParameter("customer", RequestParameterType.Path)]
public virtual string Customer { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Skus
Required. List of SKUs to list eligible billing accounts for. At least one SKU is required. Format: products/{product_id}/skus/{sku_id}.
Declaration
[RequestParameter("skus", RequestParameterType.Query)]
public virtual Repeatable<string> Skus { get; set; }
Property Value
Type | Description |
---|---|
Repeatable<string> |
Methods
InitParameters()
Initializes QueryEligibleBillingAccounts parameter list.
Declaration
protected override void InitParameters()