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
Inherited Members
Namespace: Google.Apis.CloudBillingBudget.v1
Assembly: Google.Apis.CloudBillingBudget.v1.dll
Syntax
public class BillingAccountsResource.BudgetsResource.PatchRequest : CloudBillingBudgetBaseServiceRequest<GoogleCloudBillingBudgetsV1Budget>, IClientServiceRequest<GoogleCloudBillingBudgetsV1Budget>, IClientServiceRequest
Constructors
PatchRequest(IClientService, GoogleCloudBillingBudgetsV1Budget, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, GoogleCloudBillingBudgetsV1Budget body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudBillingBudgetsV1Budget | body | |
string | name |
Properties
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
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
UpdateMask
Optional. Indicates which fields in the provided budget to update. Read-only fields (such as name
)
cannot be changed. If this is not provided, then only fields with non-default values from the
request are updated. See https://developers.google.com/protocol-buffers/docs/proto3#default for more
details about default values.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()