Class BillingAccountsResource.PatchRequest
Updates a billing account's fields. Currently the only field that can be edited is display_name
. The
current authenticated user must have the billing.accounts.update
IAM permission, which is typically given
to the administrator of the billing account.
Inheritance
BillingAccountsResource.PatchRequest
Inherited Members
Namespace: Google.Apis.Cloudbilling.v1
Assembly: Google.Apis.Cloudbilling.v1.dll
Syntax
public class BillingAccountsResource.PatchRequest : CloudbillingBaseServiceRequest<BillingAccount>, IClientServiceRequest<BillingAccount>, IClientServiceRequest
Constructors
PatchRequest(IClientService, BillingAccount, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, BillingAccount body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
BillingAccount | 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
Required. The name of the billing account resource to be updated.
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
The update mask applied to the resource. Only "display_name" is currently supported.
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()