Class BillingAccountsResource.BudgetsResource.PatchRequest
Updates a budget and returns the updated budget. WARNING: There are some fields exposed on the Google Cloud Console that aren't available on this API. Budget fields that are not exposed in this API will not be changed by this method.
Inheritance
BillingAccountsResource.BudgetsResource.PatchRequest
Inherited Members
Namespace: Google.Apis.CloudBillingBudget.v1beta1
Assembly: Google.Apis.CloudBillingBudget.v1beta1.dll
Syntax
public class BillingAccountsResource.BudgetsResource.PatchRequest : CloudBillingBudgetBaseServiceRequest<GoogleCloudBillingBudgetsV1beta1Budget>, IClientServiceRequest<GoogleCloudBillingBudgetsV1beta1Budget>, IClientServiceRequest
Constructors
PatchRequest(IClientService, GoogleCloudBillingBudgetsV1beta1UpdateBudgetRequest, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, GoogleCloudBillingBudgetsV1beta1UpdateBudgetRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudBillingBudgetsV1beta1UpdateBudgetRequest | body | |
string | name |
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
Name
Output only. Resource name of the budget. The resource name implies the scope of a budget. Values
are of the form billingAccounts/{billingAccountId}/budgets/{budgetId}
.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { 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 Patch parameter list.
Declaration
protected override void InitParameters()