Stay organized with collections Save and categorize content based on your preferences.
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
.
POST https://appengine.googleapis.com/v1/{parent=apps/*}/domainMappings
The URL uses gRPC Transcoding syntax.
Path parameters Parametersparent
string
Name of the parent Application resource. Example: apps/myapp
.
Authorization requires the following IAM permission on the specified resource parent
:
appengine.applications.update
overrideStrategy
enum (
DomainOverrideStrategy
)
Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected.
Request bodyThe request body contains an instance of DomainMapping
.
If successful, the response body contains a newly created instance of Operation
.
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
DomainOverrideStrategyOverride strategy for mutating an existing mapping.
EnumsUNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY
Strategy unspecified. Defaults to STRICT
. STRICT
Overrides not allowed. If a mapping already exists for the specified domain, the request will return an ALREADY_EXISTS (409). OVERRIDE
Overrides allowed. If a mapping already exists for the specified domain, the request will overwrite it. Note that this might stop another Google product from serving. For example, if the domain is mapped to another App Engine application, that app will no longer serve from that domain.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-16 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-16 UTC."],[[["This page details how to map a domain to an application using the App Engine Admin API, requiring admin authorization."],["The HTTP request method is `POST` to `https://appengine.googleapis.com/v1/{parent=apps/*}/domainMappings`, following gRPC Transcoding syntax."],["The required `parent` path parameter specifies the application, with a required IAM permission `appengine.applications.update`."],["The `overrideStrategy` query parameter determines if existing domain mappings can be overwritten, with `STRICT` as the default to prevent overwrites."],["A successful request returns a newly created `Operation` instance, and authorization requires the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4