REST Resource: apps.domainMappings Stay organized with collections Save and categorize content based on your preferences.
Resource: DomainMapping
A domain serving an App Engine application.
| JSON representation |
|---|
{"name":string,"id":string,"sslSettings":{object ( |
| Fields | |
|---|---|
name |
Full path to the Note: This field is used in responses only. Any value specified here in a request is ignored. |
id |
Relative name of the domain serving the application. Example: |
sslSettings |
SSL configuration for this domain. If unconfigured, this domain will not serve with SSL. |
resourceRecords[] |
The resource records required to configure this domain mapping. These records must be added to the domain's DNS configuration in order to serve the application via this domain mapping. Note: This field is used in responses only. Any value specified here in a request is ignored. |
SslSettings
SSL configuration for aDomainMapping resource.
| JSON representation |
|---|
{"certificateId":string,"sslManagementType":enum ( |
| Fields | |
|---|---|
certificateId |
ID of the By default, a managed certificate is automatically created for every domain mapping. To omit SSL support or to configure SSL manually, specify |
sslManagementType |
SSL management type for this domain. If |
pendingManagedCertificateId |
ID of the managed Note: This field is used in responses only. Any value specified here in a request is ignored. |
SslManagementType
The SSL management type for this domain.
| Enums | |
|---|---|
SSL_MANAGEMENT_TYPE_UNSPECIFIED | Defaults toAUTOMATIC. |
AUTOMATIC | SSL support for this domain is configured automatically. The mapped SSL certificate will be automatically renewed. |
MANUAL | SSL support for this domain is configured manually by the user. Either the domain has no SSL support or a user-obtained SSL certificate has been explictly mapped to this domain. |
ResourceRecord
A DNS resource record.
| JSON representation |
|---|
{"name":string,"rrdata":string,"type":enum ( |
| Fields | |
|---|---|
name |
Relative name of the object affected by this record. Only applicable for |
rrdata |
Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1). |
type |
Resource record type. Example: |
RecordType
A resource record type.
| Enums | |
|---|---|
RECORD_TYPE_UNSPECIFIED | An unknown resource record. |
A | An A resource record. Data is an IPv4 address. |
AAAA | An AAAA resource record. Data is an IPv6 address. |
CNAME | A CNAME resource record. Data is a domain name to be aliased. |
Methods | |
|---|---|
| Maps a domain to an application. |
| Deletes the specified domain mapping. |
| Gets the specified domain mapping. |
| Lists the domain mappings on an application. |
| Updates the specified domain mapping. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-16 UTC.