Cloud Bigtable V2 Client - Class CreateAuthorizedViewRequest (2.4.0)

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

The request for CreateAuthorizedView

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

Namespace

Google \ Cloud \ Bigtable \ Admin \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ parentstring

Required. This is the name of the table the AuthorizedView belongs to. Values are of the form projects/{project}/instances/{instance}/tables/{table}.

↳ authorized_view_idstring

Required. The id of the AuthorizedView to create. This AuthorizedView must not already exist. The authorized_view_id appended to parent forms the full AuthorizedView name of the form projects/{project}/instances/{instance}/tables/{table}/authorizedView/{authorized_view}.

↳ authorized_viewGoogle\Cloud\Bigtable\Admin\V2\AuthorizedView

Required. The AuthorizedView to create.

getParent

Required. This is the name of the table the AuthorizedView belongs to.

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

Returns
TypeDescription
string

setParent

Required. This is the name of the table the AuthorizedView belongs to.

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

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getAuthorizedViewId

Required. The id of the AuthorizedView to create. This AuthorizedView must not already exist. The authorized_view_id appended to parent forms the full AuthorizedView name of the form projects/{project}/instances/{instance}/tables/{table}/authorizedView/{authorized_view}.

Returns
TypeDescription
string

setAuthorizedViewId

Required. The id of the AuthorizedView to create. This AuthorizedView must not already exist. The authorized_view_id appended to parent forms the full AuthorizedView name of the form projects/{project}/instances/{instance}/tables/{table}/authorizedView/{authorized_view}.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getAuthorizedView

Required. The AuthorizedView to create.

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

hasAuthorizedView

clearAuthorizedView

setAuthorizedView

Required. The AuthorizedView to create.

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

static::build

Parameters
NameDescription
parentstring

Required. This is the name of the table the AuthorizedView belongs to. Values are of the form projects/{project}/instances/{instance}/tables/{table}. Please see Google\Cloud\Bigtable\Admin\V2\BigtableTableAdminClient::tableName() for help formatting this field.

authorizedViewGoogle\Cloud\Bigtable\Admin\V2\AuthorizedView

Required. The AuthorizedView to create.

authorizedViewIdstring

Required. The id of the AuthorizedView to create. This AuthorizedView must not already exist. The authorized_view_id appended to parent forms the full AuthorizedView name of the form projects/{project}/instances/{instance}/tables/{table}/authorizedView/{authorized_view}.

Returns
TypeDescription
Google\Cloud\Bigtable\Admin\V2\CreateAuthorizedViewRequest