gcloud alpha app domain-mappings update - updates a domain mapping
gcloud alpha app domain-mappings update DOMAIN [--certificate-management=CERTIFICATE_MANAGEMENT] [--certificate-id=CERTIFICATE_ID | --no-certificate-id] [GCLOUD_WIDE_FLAG ...]
(ALPHA) Updates a domain mapping.
To update an App Engine domain mapping, run:
$ gcloud alpha app domain-mappings update '*.example.com' \ --certificate-id=1234
To remove a certificate from a domain:
$ gcloud alpha app domain-mappings update '*.example.com' \ --no-certificate-id
- DOMAIN
A valid domain which may begin with a wildcard, such as: example.com or *.example.com
- --certificate-management=CERTIFICATE_MANAGEMENT
Type of certificate management. 'automatic' will provision an SSL certificate automatically while 'manual' requires the user to provide a certificate id to provision. CERTIFICATE_MANAGEMENT must be one of: automatic, manual.
- At most one of these can be specified:
- --certificate-id=CERTIFICATE_ID
A certificate id to use for this domain. May not be used on a domain mapping with automatically managed certificates. Use the gcloud app ssl-certificates list to see available certificates for this app.
- --no-certificate-id
Do not associate any certificate with this domain.
These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist. These variants are also available:
$ gcloud app domain-mappings update
$ gcloud beta app domain-mappings update