v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1336153187.7 KB
projects

Updates a materialized view within an instance.

patch/v2/{+name}

Path parameters

namestring required

Identifier. The unique name of the materialized view. Format: projects/{project}/instances/{instance}/materializedViews/{materialized_view} Views: SCHEMA_VIEW, REPLICATION_VIEW, FULL.

Query parameters

updateMaskstring

Optional. The list of fields to update.

updateMaskstring

Required. The subset of app profile fields which should be replaced. If unset, all fields will be replaced.

Request body

etagstring

Optional. The etag for this materialized view. This may be sent on update requests to ensure that the client has an up-to-date value before proceeding. The server returns an ABORTED error on a mismatched etag. Views: SCHEMA_VIEW, REPLICATION_VIEW, FULL.

deletionProtectionboolean

Set to true to make the MaterializedView protected against deletion. Views: SCHEMA_VIEW, REPLICATION_VIEW, FULL.

clusterStatesobject

Output only. Map from cluster ID to per-cluster materialized view state. If it could not be determined whether or not the materialized view has data in a particular cluster (for example, if its zone is unavailable), then there will be an entry for the cluster with STATE_NOT_KNOWN state. Views: REPLICATION_VIEW, FULL.

namestring

Identifier. The unique name of the materialized view. Format: projects/{project}/instances/{instance}/materializedViews/{materialized_view} Views: SCHEMA_VIEW, REPLICATION_VIEW, FULL.

querystring

Required. Immutable. The materialized view's select query. Views: SCHEMA_VIEW, FULL.

Response

Successful response