Method: accountType.accounts.partnerLinks.search

Searches for all partner links to and from a given account.

HTTP request

GET https://datamanager.googleapis.com/v1/{parent=accountType/*/accounts/*}/partnerLinks:search

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent, which owns this collection of partner links. Format: accountType/{accountType}/accounts/{accountId}

Query parameters

Parameters
pageSize

integer

The maximum number of partner links to return. The service may return fewer than this value. If unspecified, at most 10 partner links will be returned. The maximum value is 100; values above 100 will be coerced to 100.

pageToken

string

A page token, received from a previous partnerLinks.search call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to partnerLinks.search must match the call that provided the page token.

filter

string

Optional. The filter expression for filtering the partner links. The expression is a list of zero or more restrictions combined with logical operators AND and OR.

Restrictions have the form <field> <operator> <value> and may have a NOT modifier.

The supported fields for traversal are:

  • owningAccount.account_id
  • partnerAccount.account_id

Example: owningAccount.account_id = 123456789 OR partnerAccount.account_id = 987654321

Request body

The request body must be empty.

Response body

Response from the SearchPartnerLinksRequest.

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

JSON representation
{
  "partnerLinks": [
    {
      object (PartnerLink)
    }
  ],
  "nextPageToken": string
}
Fields
nextPageToken

string

A token, which can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/datamanager