Method: accounts.channelPartnerLinks.get

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.

HTTP request

GET https://cloudchannel.googleapis.com/v1alpha1/{name=accounts/*/channelPartnerLinks/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

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.

Query parameters

Parameters
view

enum (ChannelPartnerLinkView)

Optional. The level of granularity the ChannelPartnerLink will display.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of ChannelPartnerLink.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the Authentication Overview.