Method: projects.locations.instances.patch

Updates an existing Instance in a given project and location.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Required. Unique name of the resource in this scope including project and location using the form: projects/{projectId}/locations/{locationId}/instances/{instanceId}

Note: Memcached instances are managed and addressed at the regional level so locationId here refers to a Google Cloud region; however, users may choose which zones Memcached nodes should be provisioned in within an instance. Refer to zones field for more details.

Query parameters


string (FieldMask format)

Required. Mask of fields to update.

  • displayName

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 Instance.

Response body

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

Authorization scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.