Class BillingAccountsResource.BudgetsResource.CreateRequest
Creates a new budget. See Quotas and limits for more information on the limits of the number of budgets you can create.
Inheritance
BillingAccountsResource.BudgetsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.CloudBillingBudget.v1beta1
Assembly: Google.Apis.CloudBillingBudget.v1beta1.dll
Syntax
public class BillingAccountsResource.BudgetsResource.CreateRequest : CloudBillingBudgetBaseServiceRequest<GoogleCloudBillingBudgetsV1beta1Budget>, IClientServiceRequest<GoogleCloudBillingBudgetsV1beta1Budget>, IClientServiceRequest
Constructors
CreateRequest(IClientService, GoogleCloudBillingBudgetsV1beta1CreateBudgetRequest, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, GoogleCloudBillingBudgetsV1beta1CreateBudgetRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudBillingBudgetsV1beta1CreateBudgetRequest | body | |
string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudBillingBudget.v1beta1.Data.GoogleCloudBillingBudgetsV1beta1Budget>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudBillingBudget.v1beta1.Data.GoogleCloudBillingBudgetsV1beta1Budget>.MethodName
Parent
Required. The name of the billing account to create the budget in. Values are of the form
billingAccounts/{billingAccountId}
.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudBillingBudget.v1beta1.Data.GoogleCloudBillingBudgetsV1beta1Budget>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudBillingBudget.v1beta1.Data.GoogleCloudBillingBudgetsV1beta1Budget>.GetBody()
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()