Method: namespaces.domainmappings.create

Creates a new domain mapping.

HTTP request

POST https://run.googleapis.com/apis/domains.cloudrun.com/v1alpha1/{parent}/domainmappings

Path parameters

Parameters
parent

string

The project ID or project number in which this domain mapping should be created. It takes the form namespaces/{namespace_id}.

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

  • run.services.create

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.

Try it!

Kunde den här sidan hjälpa dig? Berätta:

Skicka feedback om ...