Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products. If you have feedback or questions as you navigate the site, click Send Feedback.

Method: apps.domainMappings.patch

Updates the specified domain mapping. To map an SSL certificate to a domain mapping, update certificateId to point to an AuthorizedCertificate resource. A user must be authorized to administer the associated domain in order to update a DomainMapping resource.

HTTP request

PATCH https://appengine.googleapis.com/v1beta/{name=apps/*/domainMappings/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Name of the resource to update. Example: apps/myapp/domainMappings/example.com.

Authorization requires the following IAM permission on the specified resource name:

  • appengine.applications.update

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. Standard field mask for the set of fields to be updated.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of DomainMapping.

Response body

If successful, the response body contains an instance of Operation.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.