Create a new domain mapping.
HTTP request
POST https://run.googleapis.com/apis/domains.cloudrun.com/v1/{parent}/domainmappings
Path parameters
Parameters | |
---|---|
parent |
Required. The namespace in which the domain mapping should be created. 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 Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
dryRun |
Indicates that the server should validate the request and populate default values without persisting the request. Supported values: |
Request body
The request body contains an instance of DomainMapping
.
Response body
If successful, the response body contains a newly created instance of DomainMapping
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.