REST Resource: projects.instances.materializedViews

Resource: MaterializedView

A materialized view object that can be referenced in SQL queries.

JSON representation
{
  "name": string,
  "query": string,
  "etag": string,
  "deletionProtection": boolean
}
Fields
name

string

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

query

string

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

etag

string

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.

deletionProtection

boolean

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

Methods

create

Creates a materialized view within an instance.

delete

Deletes a materialized view from an instance.

get

Gets information about a materialized view.

getIamPolicy

Gets the access control policy for an instance resource.

list

Lists information about materialized views in an instance.

patch

Updates a materialized view within an instance.

setIamPolicy

Sets the access control policy on an instance resource.

testIamPermissions

Returns permissions that the caller has on the specified instance resource.