Method: domains.list

Full name: projects.locations.global.domains.list

Lists domains in a project.

HTTP request

GET https://managedidentities.googleapis.com/v1/{parent=projects/*/locations/global}/domains

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The resource name of the domain location using the form: projects/{projectId}/locations/global

Authorization requires the following IAM permission on the specified resource parent:

  • managedidentities.domains.list

Query parameters

Parameters
pageSize

integer

Optional. The maximum number of items to return. If not specified, a default value of 1000 will be used. Regardless of the pageSize value, the response may include a partial list. Callers should rely on a response's nextPageToken to determine if there are additional results to list.

pageToken

string

Optional. The nextPageToken value returned from a previous ListDomainsRequest request, if any.

filter

string

Optional. A filter specifying constraints of a list operation. For example, Domain.fqdn="mydomain.myorginization".

orderBy

string

Optional. Specifies the ordering of results. See Sorting order for more information.

Request body

The request body must be empty.

Response body

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

Response message for [domains.list][google.cloud.managedidentities.v1.ListDomains]

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

object (Domain)

A list of Managed Identities Service domains in the project.

nextPageToken

string

A token to retrieve the next page of results, or empty if there are no more results in the list.

unreachable[]

string

A list of 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.