Cloud Bigtable V2 Client - Class AuthorizedView (1.31.1)

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

AuthorizedViews represent subsets of a particular Cloud Bigtable table. Users can configure access to each Authorized View independently from the table and use the existing Data APIs to access the subset of data.

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

Namespace

Google \ Cloud \ Bigtable \ Admin \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ namestring

Identifier. The name of this AuthorizedView. Values are of the form projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}

↳ subset_viewGoogle\Cloud\Bigtable\Admin\V2\AuthorizedView\SubsetView

An AuthorizedView permitting access to an explicit subset of a Table.

↳ etagstring

The etag for this AuthorizedView. If this is provided on update, it must match the server's etag. The server returns ABORTED error on a mismatched etag.

↳ deletion_protectionbool

Set to true to make the AuthorizedView protected against deletion. The parent Table and containing Instance cannot be deleted if an AuthorizedView has this bit set.

getName

Identifier. The name of this AuthorizedView.

Values are of the form projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}

Returns
TypeDescription
string

setName

Identifier. The name of this AuthorizedView.

Values are of the form projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getSubsetView

An AuthorizedView permitting access to an explicit subset of a Table.

Returns
TypeDescription
Google\Cloud\Bigtable\Admin\V2\AuthorizedView\SubsetView|null

hasSubsetView

setSubsetView

An AuthorizedView permitting access to an explicit subset of a Table.

Parameter
NameDescription
varGoogle\Cloud\Bigtable\Admin\V2\AuthorizedView\SubsetView
Returns
TypeDescription
$this

getEtag

The etag for this AuthorizedView.

If this is provided on update, it must match the server's etag. The server returns ABORTED error on a mismatched etag.

Returns
TypeDescription
string

setEtag

The etag for this AuthorizedView.

If this is provided on update, it must match the server's etag. The server returns ABORTED error on a mismatched etag.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getDeletionProtection

Set to true to make the AuthorizedView protected against deletion.

The parent Table and containing Instance cannot be deleted if an AuthorizedView has this bit set.

Returns
TypeDescription
bool

setDeletionProtection

Set to true to make the AuthorizedView protected against deletion.

The parent Table and containing Instance cannot be deleted if an AuthorizedView has this bit set.

Parameter
NameDescription
varbool
Returns
TypeDescription
$this

getAuthorizedView

Returns
TypeDescription
string