List all domain mappings.
HTTP request
GET https://run.googleapis.com/apis/domains.cloudrun.com/v1/{parent}/domainmappings
Path parameters
parent
string
Required. The namespace from which the domain mappings should be listed. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID It takes the form namespaces/{namespace}
.
Authorization requires the following IAM
permission on the specified resource parent
:
-
run.domainmappings.list
Query parameters
Parameters | |
---|---|
limit
|
Optional. The maximum number of records that should be returned. |
includeUninitialized
|
Not currently used by Cloud Run. |
fieldSelector
|
Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run. |
labelSelector
|
Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn. |
resourceVersion
|
The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run. |
watch
|
Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run. |
continue
|
Optional. Encoded string to continue paging. |
Request body
The request body must be empty.
Response body
ListDomainMappingsResponse is a list of DomainMapping resources.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "apiVersion" : string , "kind" : string , "metadata" : { object ( |
Fields | |
---|---|
apiVersion
|
The API version for this call such as "domains.cloudrun.com/v1". |
kind
|
The kind of this resource, in this case "DomainMappingList". |
metadata
|
Metadata associated with this DomainMapping list. |
items[]
|
List of DomainMappings. |
unreachable[]
|
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 .