Show / Hide Table of Contents

Class AccountsResource.ChannelPartnerLinksResource.PatchRequest

Updates a channel partner link. Distributors call this method to change a link's status. For example, to suspend a partner link. You must be a distributor to call this method. 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. * Link state cannot change from invited to active or suspended. * Cannot send reseller_cloud_identity_id, invite_url, or name in update mask. * NOT_FOUND: ChannelPartnerLink resource not found. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The updated ChannelPartnerLink resource.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleCloudChannelV1ChannelPartnerLink>
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ChannelPartnerLink>
AccountsResource.ChannelPartnerLinksResource.PatchRequest
Implements
IClientServiceRequest<GoogleCloudChannelV1ChannelPartnerLink>
IClientServiceRequest
Inherited Members
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ChannelPartnerLink>.Xgafv
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ChannelPartnerLink>.AccessToken
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ChannelPartnerLink>.Alt
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ChannelPartnerLink>.Callback
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ChannelPartnerLink>.Fields
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ChannelPartnerLink>.Key
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ChannelPartnerLink>.OauthToken
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ChannelPartnerLink>.PrettyPrint
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ChannelPartnerLink>.QuotaUser
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ChannelPartnerLink>.UploadType
CloudchannelBaseServiceRequest<GoogleCloudChannelV1ChannelPartnerLink>.UploadProtocol
ClientServiceRequest<GoogleCloudChannelV1ChannelPartnerLink>.Execute()
ClientServiceRequest<GoogleCloudChannelV1ChannelPartnerLink>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudChannelV1ChannelPartnerLink>.ExecuteAsync()
ClientServiceRequest<GoogleCloudChannelV1ChannelPartnerLink>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudChannelV1ChannelPartnerLink>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudChannelV1ChannelPartnerLink>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudChannelV1ChannelPartnerLink>.CreateRequest(bool?)
ClientServiceRequest<GoogleCloudChannelV1ChannelPartnerLink>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudChannelV1ChannelPartnerLink>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleCloudChannelV1ChannelPartnerLink>.ETagAction
ClientServiceRequest<GoogleCloudChannelV1ChannelPartnerLink>.ModifyRequest
ClientServiceRequest<GoogleCloudChannelV1ChannelPartnerLink>.ValidateParameters
ClientServiceRequest<GoogleCloudChannelV1ChannelPartnerLink>.ApiVersion
ClientServiceRequest<GoogleCloudChannelV1ChannelPartnerLink>.RequestParameters
ClientServiceRequest<GoogleCloudChannelV1ChannelPartnerLink>.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.ChannelPartnerLinksResource.PatchRequest : CloudchannelBaseServiceRequest<GoogleCloudChannelV1ChannelPartnerLink>, IClientServiceRequest<GoogleCloudChannelV1ChannelPartnerLink>, IClientServiceRequest

Constructors

PatchRequest(IClientService, GoogleCloudChannelV1UpdateChannelPartnerLinkRequest, string)

Constructs a new Patch request.

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

Properties

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

Name

Required. The resource name of the channel partner link to cancel. Name uses the format: accounts/{account_id}/channelPartnerLinks/{id} where {id} is the Cloud Identity ID of the partner.

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

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes Patch parameter list.

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

Implements

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