Cloud Bigtable V2 Client - Class MutateRowRequest (1.27.0)

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

Request message for Bigtable.MutateRow.

Generated from protobuf message google.bigtable.v2.MutateRowRequest

Namespace

Google \ Cloud \ Bigtable \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ table_namestring

Required. The unique name of the table to which the mutation should be applied. Values are of the form projects/<project>/instances/<instance>/tables/<table>.

↳ app_profile_idstring

This value specifies routing for replication. If not specified, the "default" application profile will be used.

↳ row_keystring

Required. The key of the row to which the mutation should be applied.

↳ mutationsarray<Google\Cloud\Bigtable\V2\Mutation>

Required. Changes to be atomically applied to the specified row. Entries are applied in order, meaning that earlier mutations can be masked by later ones. Must contain at least one entry and at most 100000.

getTableName

Required. The unique name of the table to which the mutation should be applied. Values are of the form projects/<project>/instances/<instance>/tables/<table>.

Returns
TypeDescription
string

setTableName

Required. The unique name of the table to which the mutation should be applied. Values are of the form projects/<project>/instances/<instance>/tables/<table>.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getAppProfileId

This value specifies routing for replication. If not specified, the "default" application profile will be used.

Returns
TypeDescription
string

setAppProfileId

This value specifies routing for replication. If not specified, the "default" application profile will be used.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getRowKey

Required. The key of the row to which the mutation should be applied.

Returns
TypeDescription
string

setRowKey

Required. The key of the row to which the mutation should be applied.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getMutations

Required. Changes to be atomically applied to the specified row. Entries are applied in order, meaning that earlier mutations can be masked by later ones. Must contain at least one entry and at most 100000.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setMutations

Required. Changes to be atomically applied to the specified row. Entries are applied in order, meaning that earlier mutations can be masked by later ones. Must contain at least one entry and at most 100000.

Parameter
NameDescription
vararray<Google\Cloud\Bigtable\V2\Mutation>
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
tableNamestring

Required. The unique name of the table to which the mutation should be applied. Values are of the form projects/<project>/instances/<instance>/tables/<table>. Please see Google\Cloud\Bigtable\V2\BigtableClient::tableName() for help formatting this field.

rowKeystring

Required. The key of the row to which the mutation should be applied.

mutationsarray<Google\Cloud\Bigtable\V2\Mutation>

Required. Changes to be atomically applied to the specified row. Entries are applied in order, meaning that earlier mutations can be masked by later ones. Must contain at least one entry and at most 100000.

Returns
TypeDescription
Google\Cloud\Bigtable\V2\MutateRowRequest

static::buildFromTableNameRowKeyMutationsAppProfileId

Parameters
NameDescription
tableNamestring

Required. The unique name of the table to which the mutation should be applied. Values are of the form projects/<project>/instances/<instance>/tables/<table>. Please see Google\Cloud\Bigtable\V2\BigtableClient::tableName() for help formatting this field.

rowKeystring

Required. The key of the row to which the mutation should be applied.

mutationsarray<Google\Cloud\Bigtable\V2\Mutation>

Required. Changes to be atomically applied to the specified row. Entries are applied in order, meaning that earlier mutations can be masked by later ones. Must contain at least one entry and at most 100000.

appProfileIdstring

This value specifies routing for replication. If not specified, the "default" application profile will be used.

Returns
TypeDescription
Google\Cloud\Bigtable\V2\MutateRowRequest