Method: namespaces.authorizeddomains.list

List authorized domains.

HTTP request

GET https://run.googleapis.com/apis/domains.cloudrun.com/v1/{parent}/authorizeddomains

Path parameters

Parameters
parent

string

Name of the parent Project resource. Example: projects/myproject. It takes the form namespaces/{namespace}.

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

  • run.authorizeddomains.list

Query parameters

Parameters
pageSize

integer

Maximum results to return per page.

pageToken

string

Continuation token for fetching the next page of results.

Request body

The request body must be empty.

Response body

A list of Authorized Domains.

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

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

object (AuthorizedDomain)

The authorized domains belonging to the user.

nextPageToken

string

Continuation token for fetching the next page of results.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

AuthorizedDomain

A domain that a user has been authorized to administer. To authorize use of a domain, verify ownership via Search Console.

JSON representation
{
  "name": string,
  "id": string
}
Fields
name
(deprecated)

string

Deprecated Read only. Full path to the AuthorizedDomain resource in the API. Example: projects/myproject/authorizedDomains/example.com.

id

string

Relative name of the domain authorized for use. Example: example.com.