Show / Hide Table of Contents

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
object
ClientServiceRequest
ClientServiceRequest<BillingAccount>
CloudbillingBaseServiceRequest<BillingAccount>
BillingAccountsResource.PatchRequest
Implements
IClientServiceRequest<BillingAccount>
IClientServiceRequest
Inherited Members
CloudbillingBaseServiceRequest<BillingAccount>.Xgafv
CloudbillingBaseServiceRequest<BillingAccount>.AccessToken
CloudbillingBaseServiceRequest<BillingAccount>.Alt
CloudbillingBaseServiceRequest<BillingAccount>.Callback
CloudbillingBaseServiceRequest<BillingAccount>.Fields
CloudbillingBaseServiceRequest<BillingAccount>.Key
CloudbillingBaseServiceRequest<BillingAccount>.OauthToken
CloudbillingBaseServiceRequest<BillingAccount>.PrettyPrint
CloudbillingBaseServiceRequest<BillingAccount>.QuotaUser
CloudbillingBaseServiceRequest<BillingAccount>.UploadType
CloudbillingBaseServiceRequest<BillingAccount>.UploadProtocol
ClientServiceRequest<BillingAccount>.Execute()
ClientServiceRequest<BillingAccount>.ExecuteAsStream()
ClientServiceRequest<BillingAccount>.ExecuteAsync()
ClientServiceRequest<BillingAccount>.ExecuteAsync(CancellationToken)
ClientServiceRequest<BillingAccount>.ExecuteAsStreamAsync()
ClientServiceRequest<BillingAccount>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<BillingAccount>.CreateRequest(bool?)
ClientServiceRequest<BillingAccount>.GenerateRequestUri()
ClientServiceRequest<BillingAccount>.GetDefaultETagAction(string)
ClientServiceRequest<BillingAccount>.ETagAction
ClientServiceRequest<BillingAccount>.ModifyRequest
ClientServiceRequest<BillingAccount>.ValidateParameters
ClientServiceRequest<BillingAccount>.ApiVersion
ClientServiceRequest<BillingAccount>.RequestParameters
ClientServiceRequest<BillingAccount>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
ClientServiceRequest<BillingAccount>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<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
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<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
object

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<BillingAccount>.GetBody()

InitParameters()

Initializes Patch parameter list.

Declaration
protected override void InitParameters()
Overrides
CloudbillingBaseServiceRequest<BillingAccount>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX