Show / Hide Table of Contents

Class AccountsResource.CustomersResource.PatchRequest

Updates an existing Customer resource for the reseller or distributor. Possible error codes: * PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: No Customer resource found for the name in the request. Return value: The updated Customer resource.

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

Constructors

PatchRequest(IClientService, GoogleCloudChannelV1Customer, string)

Constructs a new Patch request.

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

Properties

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

Name

Output only. Resource name of the customer. Format: accounts/{account_id}/customers/{customer_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<GoogleCloudChannelV1Customer>.RestPath

UpdateMask

The update mask that applies to the resource. Optional.

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<GoogleCloudChannelV1Customer>.GetBody()

InitParameters()

Initializes Patch parameter list.

Declaration
protected override void InitParameters()
Overrides
CloudchannelBaseServiceRequest<GoogleCloudChannelV1Customer>.InitParameters()

Implements

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