Method: accounts.channelPartnerLinks.list

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.

HTTP request

GET https://cloudchannel.googleapis.com/v1/{parent=accounts/*}/channelPartnerLinks

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

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

Query parameters

Parameters
pageSize

integer

Optional. Requested page size. Server might return fewer results than requested. If unspecified, server will pick a default size (25). The maximum value is 200; the server will coerce values above 200.

pageToken

string

Optional. A token for a page of results other than the first page. Obtained using ListChannelPartnerLinksResponse.next_page_token of the previous CloudChannelService.ListChannelPartnerLinks call.

view

enum (ChannelPartnerLinkView)

Optional. The level of granularity the ChannelPartnerLink will display.

Request body

The request body must be empty.

Response body

Response message for CloudChannelService.ListChannelPartnerLinks.

If successful, the response body contains data with the following structure:

JSON representation
{
  "channelPartnerLinks": [
    {
      object (ChannelPartnerLink)
    }
  ],
  "nextPageToken": string
}
Fields
nextPageToken

string

A token to retrieve the next page of results. Pass to ListChannelPartnerLinksRequest.page_token to obtain that page.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.