Cloud Bigtable V2 Client - Class Modification (1.24.1)

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
data array

Optional. Data for populating the Message object.

↳ id string

The ID of the column family to be modified.

↳ create Google\Cloud\Bigtable\Admin\V2\ColumnFamily

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

↳ update Google\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.

↳ drop bool

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
var string
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
var Google\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
var Google\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
var bool
Returns
TypeDescription
$this

getMod

Returns
TypeDescription
string