Method: organizations.locations.customers.list

Lists customers of a partner identified by its Google Cloud organization ID

HTTP request

GET https://cloudcontrolspartner.googleapis.com/v1beta/{parent=organizations/*/locations/*}/customers

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Parent resource Format: organizations/{organization}/locations/{location}

Query parameters

Parameters
pageSize

integer

The maximum number of Customers to return. The service may return fewer than this value. If unspecified, at most 500 Customers will be returned.

pageToken

string

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

filter

string

Optional. Filtering results

orderBy

string

Optional. Hint for how to order the results

Request body

The request body must be empty.

Response body

Response message for list customer Customers requests

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

JSON representation
{
  "customers": [
    {
      object (Customer)
    }
  ],
  "nextPageToken": string,
  "unreachable": [
    string
  ]
}
Fields
customers[]

object (Customer)

List of customers

nextPageToken

string

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

unreachable[]

string

Locations that could not be reached.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • cloudcontrolspartner.customers.list

For more information, see the IAM documentation.