Show / Hide Table of Contents

Class AccountsResource.ChannelPartnerLinksResource

The "channelPartnerLinks" collection of methods.

Inheritance
object
AccountsResource.ChannelPartnerLinksResource
Inherited Members
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

Constructors

ChannelPartnerLinksResource(IClientService)

Constructs a new resource.

Declaration
public ChannelPartnerLinksResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

ChannelPartnerRepricingConfigs

Gets the ChannelPartnerRepricingConfigs resource.

Declaration
public virtual AccountsResource.ChannelPartnerLinksResource.ChannelPartnerRepricingConfigsResource ChannelPartnerRepricingConfigs { get; }
Property Value
Type Description
AccountsResource.ChannelPartnerLinksResource.ChannelPartnerRepricingConfigsResource

Customers

Gets the Customers resource.

Declaration
public virtual AccountsResource.ChannelPartnerLinksResource.CustomersResource Customers { get; }
Property Value
Type Description
AccountsResource.ChannelPartnerLinksResource.CustomersResource

Methods

Create(GoogleCloudChannelV1ChannelPartnerLink, string)

Initiates a channel partner link between a distributor and a reseller, or between resellers in an n-tier reseller channel. Invited partners need to follow the invite_link_uri provided in the response to accept. After accepting the invitation, a link is set up between the two parties. 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. * ALREADY_EXISTS: The ChannelPartnerLink sent in the request already exists. * NOT_FOUND: No Cloud Identity customer exists for provided domain. * 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 new ChannelPartnerLink resource.

Declaration
public virtual AccountsResource.ChannelPartnerLinksResource.CreateRequest Create(GoogleCloudChannelV1ChannelPartnerLink body, string parent)
Parameters
Type Name Description
GoogleCloudChannelV1ChannelPartnerLink body

The body of the request.

string parent

Required. Create a channel partner link for the provided reseller account's resource name. Parent uses the format: accounts/{account_id}

Returns
Type Description
AccountsResource.ChannelPartnerLinksResource.CreateRequest

Get(string)

Returns the requested ChannelPartnerLink resource. 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. * NOT_FOUND: ChannelPartnerLink resource not found because of an invalid channel partner link name. Return value: The ChannelPartnerLink resource.

Declaration
public virtual AccountsResource.ChannelPartnerLinksResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

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

Returns
Type Description
AccountsResource.ChannelPartnerLinksResource.GetRequest

List(string)

List ChannelPartnerLinks belonging to a distributor. 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. Return value: The list of the distributor account's ChannelPartnerLink resources.

Declaration
public virtual AccountsResource.ChannelPartnerLinksResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The resource name of the reseller account for listing channel partner links. Parent uses the format: accounts/{account_id}

Returns
Type Description
AccountsResource.ChannelPartnerLinksResource.ListRequest

Patch(GoogleCloudChannelV1UpdateChannelPartnerLinkRequest, string)

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.

Declaration
public virtual AccountsResource.ChannelPartnerLinksResource.PatchRequest Patch(GoogleCloudChannelV1UpdateChannelPartnerLinkRequest body, string name)
Parameters
Type Name Description
GoogleCloudChannelV1UpdateChannelPartnerLinkRequest body

The body of the request.

string 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.

Returns
Type Description
AccountsResource.ChannelPartnerLinksResource.PatchRequest
In this article
Back to top Generated by DocFX