Cloud Bigtable V2 Client - Class CreateAuthorizedViewRequest (2.2.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
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

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_id string

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_view Google\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
Type Description
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
Name Description
var string
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this

getAuthorizedView

Required. The AuthorizedView to create.

Returns
Type Description
Google\Cloud\Bigtable\Admin\V2\AuthorizedView|null

hasAuthorizedView

clearAuthorizedView

setAuthorizedView

Required. The AuthorizedView to create.

Parameter
Name Description
var Google\Cloud\Bigtable\Admin\V2\AuthorizedView
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

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.

authorizedView Google\Cloud\Bigtable\Admin\V2\AuthorizedView

Required. The AuthorizedView to create.

authorizedViewId string

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
Type Description
Google\Cloud\Bigtable\Admin\V2\CreateAuthorizedViewRequest