Cloud Bigtable V2 Client - Class UpdateTableRequest (1.29.2)

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

The request for UpdateTable.

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

Namespace

Google \ Cloud \ Bigtable \ Admin \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ table Google\Cloud\Bigtable\Admin\V2\Table

Required. The table to update. The table's name field is used to identify the table to update.

↳ update_mask Google\Protobuf\FieldMask

Required. The list of fields to update. A mask specifying which fields (e.g. change_stream_config) in the table field should be updated. This mask is relative to the table field, not to the request message. The wildcard (*) path is currently not supported. Currently UpdateTable is only supported for the following fields: * change_stream_config * change_stream_config.retention_period * deletion_protection If column_families is set in update_mask, it will return an UNIMPLEMENTED error.

getTable

Required. The table to update.

The table's name field is used to identify the table to update.

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

hasTable

clearTable

setTable

Required. The table to update.

The table's name field is used to identify the table to update.

Parameter
NameDescription
var Google\Cloud\Bigtable\Admin\V2\Table
Returns
TypeDescription
$this

getUpdateMask

Required. The list of fields to update.

A mask specifying which fields (e.g. change_stream_config) in the table field should be updated. This mask is relative to the table field, not to the request message. The wildcard (*) path is currently not supported. Currently UpdateTable is only supported for the following fields:

  • change_stream_config
  • change_stream_config.retention_period
  • deletion_protection If column_families is set in update_mask, it will return an UNIMPLEMENTED error.
Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The list of fields to update.

A mask specifying which fields (e.g. change_stream_config) in the table field should be updated. This mask is relative to the table field, not to the request message. The wildcard (*) path is currently not supported. Currently UpdateTable is only supported for the following fields:

  • change_stream_config
  • change_stream_config.retention_period
  • deletion_protection If column_families is set in update_mask, it will return an UNIMPLEMENTED error.
Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
table Google\Cloud\Bigtable\Admin\V2\Table

Required. The table to update. The table's name field is used to identify the table to update.

updateMask Google\Protobuf\FieldMask

Required. The list of fields to update. A mask specifying which fields (e.g. change_stream_config) in the table field should be updated. This mask is relative to the table field, not to the request message. The wildcard (*) path is currently not supported. Currently UpdateTable is only supported for the following fields:

  • change_stream_config
  • change_stream_config.retention_period
  • deletion_protection

If column_families is set in update_mask, it will return an UNIMPLEMENTED error.

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