Cloud Bigtable V2 Client - Class CreateClusterMetadata (1.23.0)

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

The metadata for the Operation returned by CreateCluster.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ original_request Google\Cloud\Bigtable\Admin\V2\CreateClusterRequest

The request that prompted the initiation of this CreateCluster operation.

↳ request_time Google\Protobuf\Timestamp

The time at which the original request was received.

↳ finish_time Google\Protobuf\Timestamp

The time at which the operation failed or was completed successfully.

↳ tables array|Google\Protobuf\Internal\MapField

Keys: the full name of each table that existed in the instance when CreateCluster was first called, i.e. projects/<project>/instances/<instance>/tables/<table>. Any table added to the instance by a later API call will be created in the new cluster by that API call, not this one. Values: information on how much of a table's data has been copied to the newly-created cluster so far.

getOriginalRequest

The request that prompted the initiation of this CreateCluster operation.

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

hasOriginalRequest

clearOriginalRequest

setOriginalRequest

The request that prompted the initiation of this CreateCluster operation.

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

getRequestTime

The time at which the original request was received.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasRequestTime

clearRequestTime

setRequestTime

The time at which the original request was received.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getFinishTime

The time at which the operation failed or was completed successfully.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasFinishTime

clearFinishTime

setFinishTime

The time at which the operation failed or was completed successfully.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getTables

Keys: the full name of each table that existed in the instance when CreateCluster was first called, i.e.

projects/<project>/instances/<instance>/tables/<table>. Any table added to the instance by a later API call will be created in the new cluster by that API call, not this one. Values: information on how much of a table's data has been copied to the newly-created cluster so far.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setTables

Keys: the full name of each table that existed in the instance when CreateCluster was first called, i.e.

projects/<project>/instances/<instance>/tables/<table>. Any table added to the instance by a later API call will be created in the new cluster by that API call, not this one. Values: information on how much of a table's data has been copied to the newly-created cluster so far.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this