Class BillingAccountsResource.EstimateCostScenarioRequest
Use custom pricing in the estimate, using a CostScenario
with a defined billingAccount
.
Inheritance
BillingAccountsResource.EstimateCostScenarioRequest
Implements
Inherited Members
Namespace: Google.Apis.Cloudbilling.v1beta
Assembly: Google.Apis.Cloudbilling.v1beta.dll
Syntax
public class BillingAccountsResource.EstimateCostScenarioRequest : CloudbillingBaseServiceRequest<EstimateCostScenarioForBillingAccountResponse>, IClientServiceRequest<EstimateCostScenarioForBillingAccountResponse>, IClientServiceRequest
Constructors
EstimateCostScenarioRequest(IClientService, EstimateCostScenarioForBillingAccountRequest, string)
Constructs a new EstimateCostScenario request.
Declaration
public EstimateCostScenarioRequest(IClientService service, EstimateCostScenarioForBillingAccountRequest body, string billingAccount)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
EstimateCostScenarioForBillingAccountRequest | body | |
string | billingAccount |
Properties
BillingAccount
Resource name of the billing account for the cost estimate. The resource name has the form
billingAccounts/{billing_account_id}
. For example, billingAccounts/012345-567890-ABCDEF
is the
resource name for billing account 012345-567890-ABCDEF
. Must be specified.
Declaration
[RequestParameter("billingAccount", RequestParameterType.Path)]
public virtual string BillingAccount { 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
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes EstimateCostScenario parameter list.
Declaration
protected override void InitParameters()