Method: namespaces.authorizeddomains.list

Stay organized with collections Save and categorize content based on your preferences.

List authorized domains.

HTTP request

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

Where {endpoint} is one of the supported service endpoints.

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

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

A list of Authorized Domains.

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 Webmaster Central.

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.