Cloud Bigtable V2 Client - Class Modification (1.26.2)

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

A create, update, or delete of a particular column family.

Generated from protobuf message google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification

Namespace

Google \ Cloud \ Bigtable \ Admin \ V2 \ ModifyColumnFamiliesRequest

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ idstring

The ID of the column family to be modified.

↳ createGoogle\Cloud\Bigtable\Admin\V2\ColumnFamily

Create a new column family with the specified schema, or fail if one already exists with the given ID.

↳ updateGoogle\Cloud\Bigtable\Admin\V2\ColumnFamily

Update an existing column family to the specified schema, or fail if no column family exists with the given ID.

↳ dropbool

Drop (delete) the column family with the given ID, or fail if no such family exists.

getId

The ID of the column family to be modified.

Returns
TypeDescription
string

setId

The ID of the column family to be modified.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getCreate

Create a new column family with the specified schema, or fail if one already exists with the given ID.

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

hasCreate

setCreate

Create a new column family with the specified schema, or fail if one already exists with the given ID.

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

getUpdate

Update an existing column family to the specified schema, or fail if no column family exists with the given ID.

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

hasUpdate

setUpdate

Update an existing column family to the specified schema, or fail if no column family exists with the given ID.

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

getDrop

Drop (delete) the column family with the given ID, or fail if no such family exists.

Returns
TypeDescription
bool

hasDrop

setDrop

Drop (delete) the column family with the given ID, or fail if no such family exists.

Parameter
NameDescription
varbool
Returns
TypeDescription
$this

getMod

Returns
TypeDescription
string