Cloud Bigtable V2 Client - Class MaterializedView (2.11.1)

Reference documentation and code samples for the Cloud Bigtable V2 Client class MaterializedView.

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

Generated from protobuf message google.bigtable.admin.v2.MaterializedView

Namespace

Google \ Cloud \ Bigtable \ Admin \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ namestring

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

↳ querystring

Required. Immutable. The materialized view's select query.

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

↳ deletion_protectionbool

Set to true to make the MaterializedView protected against deletion.

getName

Identifier. The unique name of the materialized view.

Format: projects/{project}/instances/{instance}/materializedViews/{materialized_view}

Returns
TypeDescription
string

setName

Identifier. The unique name of the materialized view.

Format: projects/{project}/instances/{instance}/materializedViews/{materialized_view}

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getQuery

Required. Immutable. The materialized view's select query.

Returns
TypeDescription
string

setQuery

Required. Immutable. The materialized view's select query.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getEtag

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.

Returns
TypeDescription
string

setEtag

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.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getDeletionProtection

Set to true to make the MaterializedView protected against deletion.

Returns
TypeDescription
bool

setDeletionProtection

Set to true to make the MaterializedView protected against deletion.

Parameter
NameDescription
varbool
Returns
TypeDescription
$this