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
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<BillingAccount>
BillingAccountsResource.PatchRequest
Implements
Google.Apis.Requests.IClientServiceRequest<BillingAccount>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Cloudbilling.v1.Data.BillingAccount>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Cloudbilling.v1.Data.BillingAccount>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Cloudbilling.v1.Data.BillingAccount>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Cloudbilling.v1.Data.BillingAccount>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Cloudbilling.v1.Data.BillingAccount>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Cloudbilling.v1.Data.BillingAccount>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Cloudbilling.v1.Data.BillingAccount>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Cloudbilling.v1.Data.BillingAccount>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Cloudbilling.v1.Data.BillingAccount>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Cloudbilling.v1.Data.BillingAccount>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Cloudbilling.v1.Data.BillingAccount>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Cloudbilling.v1.Data.BillingAccount>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Cloudbilling.v1.Data.BillingAccount>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Cloudbilling.v1.Data.BillingAccount>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Cloudbilling.v1
Assembly: Google.Apis.Cloudbilling.v1.dll
Syntax
public class 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 |
---|---|---|
Google.Apis.Services.IClientService | service | |
BillingAccount | body | |
System.String | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Cloudbilling.v1.Data.BillingAccount>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Cloudbilling.v1.Data.BillingAccount>.MethodName
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 |
---|---|
System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Cloudbilling.v1.Data.BillingAccount>.RestPath
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 |
---|---|
System.Object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Cloudbilling.v1.Data.BillingAccount>.GetBody()
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Cloudbilling.v1.CloudbillingBaseServiceRequest<Google.Apis.Cloudbilling.v1.Data.BillingAccount>.InitParameters()
Implements
Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest