Show / Hide Table of Contents

Class AccountsResource.PatchRequest

Updates the specified business account. Personal accounts cannot be updated using this method.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Account>
MyBusinessAccountManagementBaseServiceRequest<Account>
AccountsResource.PatchRequest
Implements
IClientServiceRequest<Account>
IClientServiceRequest
Inherited Members
MyBusinessAccountManagementBaseServiceRequest<Account>.Xgafv
MyBusinessAccountManagementBaseServiceRequest<Account>.AccessToken
MyBusinessAccountManagementBaseServiceRequest<Account>.Alt
MyBusinessAccountManagementBaseServiceRequest<Account>.Callback
MyBusinessAccountManagementBaseServiceRequest<Account>.Fields
MyBusinessAccountManagementBaseServiceRequest<Account>.Key
MyBusinessAccountManagementBaseServiceRequest<Account>.OauthToken
MyBusinessAccountManagementBaseServiceRequest<Account>.PrettyPrint
MyBusinessAccountManagementBaseServiceRequest<Account>.QuotaUser
MyBusinessAccountManagementBaseServiceRequest<Account>.UploadType
MyBusinessAccountManagementBaseServiceRequest<Account>.UploadProtocol
ClientServiceRequest<Account>.Execute()
ClientServiceRequest<Account>.ExecuteAsStream()
ClientServiceRequest<Account>.ExecuteAsync()
ClientServiceRequest<Account>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Account>.ExecuteAsStreamAsync()
ClientServiceRequest<Account>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Account>.CreateRequest(bool?)
ClientServiceRequest<Account>.GenerateRequestUri()
ClientServiceRequest<Account>.GetDefaultETagAction(string)
ClientServiceRequest<Account>.ETagAction
ClientServiceRequest<Account>.ModifyRequest
ClientServiceRequest<Account>.ValidateParameters
ClientServiceRequest<Account>.ApiVersion
ClientServiceRequest<Account>.RequestParameters
ClientServiceRequest<Account>.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.MyBusinessAccountManagement.v1
Assembly: Google.Apis.MyBusinessAccountManagement.v1.dll
Syntax
public class AccountsResource.PatchRequest : MyBusinessAccountManagementBaseServiceRequest<Account>, IClientServiceRequest<Account>, IClientServiceRequest

Constructors

PatchRequest(IClientService, Account, string)

Constructs a new Patch request.

Declaration
public PatchRequest(IClientService service, Account body, string name)
Parameters
Type Name Description
IClientService service
Account body
string name

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Account>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Account>.MethodName

Name

Immutable. The resource name, in the format accounts/{account_id}.

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<Account>.RestPath

UpdateMask

Required. The specific fields that should be updated. The only editable field is accountName.

Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type Description
object

ValidateOnly

Optional. If true, the request is validated without actually updating the account.

Declaration
[RequestParameter("validateOnly", RequestParameterType.Query)]
public virtual bool? ValidateOnly { get; set; }
Property Value
Type Description
bool?

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes Patch parameter list.

Declaration
protected override void InitParameters()
Overrides
MyBusinessAccountManagementBaseServiceRequest<Account>.InitParameters()

Implements

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