Method: projects.instances.tables.patch

Updates a specified table.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



The unique name of the table. Values are of the form projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*. Views: NAME_ONLY, SCHEMA_VIEW, REPLICATION_VIEW, STATS_VIEW, FULL

Query parameters


string (FieldMask format)

Required. The list of fields to update. A mask specifying which fields (e.g. changeStreamConfig) in the table field should be updated. This mask is relative to the table field, not to the request message. The wildcard (*) path is currently not supported. Currently tables.patch is only supported for the following fields:

  • changeStreamConfig
  • changeStreamConfig.retention_period
  • deletionProtection

If columnFamilies is set in updateMask, it will return an UNIMPLEMENTED error.

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

Response body

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

Authorization scopes

Requires one of the following OAuth scopes:


For more information, see the Authentication Overview.