projects

POST /v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/domainMappings

Changed on

Maps a domain to an application. A user must be authorized to administer a domain in order to map it to an application. For a list of available authorized domains, see AuthorizedDomains.ListAuthorizedDomains.

Request

Path parameters

projectsIdstring required

Part of parent. Required. Name of the parent Application resource. Example: apps/myapp.

locationsIdstring required

Part of parent. See documentation of projectsId.

applicationsIdstring required

Part of parent. See documentation of projectsId.

Query parameters

overrideStrategy'UNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY' | 'STRICT' | 'OVERRIDE'

Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected.

Request body

idstring

Relative name of the domain serving the application. Example: example.com.

namestring

Output only. Full path to the DomainMapping resource in the API. Example: apps/myapp/domainMapping/example.com.@OutputOnly

Response

Successful response

doneboolean

If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.

metadataobject

Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.

namestring

The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.

responseobject

The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.

Changes

    • breaking

      removed the request body

    • breaking

      removed the media type */* for the response with the status