Cloud Spanner V1 Client - Class CreateInstancePartitionMetadata (1.81.0)

Reference documentation and code samples for the Cloud Spanner V1 Client class CreateInstancePartitionMetadata.

Metadata type for the operation returned by CreateInstancePartition.

Generated from protobuf message google.spanner.admin.instance.v1.CreateInstancePartitionMetadata

Namespace

Google \ Cloud \ Spanner \ Admin \ Instance \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ instance_partition Google\Cloud\Spanner\Admin\Instance\V1\InstancePartition

The instance partition being created.

↳ start_time Google\Protobuf\Timestamp

The time at which the CreateInstancePartition request was received.

↳ cancel_time Google\Protobuf\Timestamp

The time at which this operation was cancelled. If set, this operation is in the process of undoing itself (which is guaranteed to succeed) and cannot be cancelled again.

↳ end_time Google\Protobuf\Timestamp

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

getInstancePartition

The instance partition being created.

Returns
Type Description
Google\Cloud\Spanner\Admin\Instance\V1\InstancePartition|null

hasInstancePartition

clearInstancePartition

setInstancePartition

The instance partition being created.

Parameter
Name Description
var Google\Cloud\Spanner\Admin\Instance\V1\InstancePartition
Returns
Type Description
$this

getStartTime

The time at which the CreateInstancePartition request was received.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

The time at which the CreateInstancePartition request was received.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getCancelTime

The time at which this operation was cancelled. If set, this operation is in the process of undoing itself (which is guaranteed to succeed) and cannot be cancelled again.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCancelTime

clearCancelTime

setCancelTime

The time at which this operation was cancelled. If set, this operation is in the process of undoing itself (which is guaranteed to succeed) and cannot be cancelled again.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getEndTime

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

Returns
Type Description
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

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

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this