Cloud Spanner V1 Client - Class CreateInstanceConfigMetadata (1.62.1)

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

Metadata type for the operation returned by CreateInstanceConfig.

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

Namespace

Google \ Cloud \ Spanner \ Admin \ Instance \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ instance_config Google\Cloud\Spanner\Admin\Instance\V1\InstanceConfig

The target instance config end state.

↳ progress Google\Cloud\Spanner\Admin\Instance\V1\OperationProgress

The progress of the CreateInstanceConfig operation.

↳ cancel_time Google\Protobuf\Timestamp

The time at which this operation was cancelled.

getInstanceConfig

The target instance config end state.

Returns
TypeDescription
Google\Cloud\Spanner\Admin\Instance\V1\InstanceConfig|null

hasInstanceConfig

clearInstanceConfig

setInstanceConfig

The target instance config end state.

Parameter
NameDescription
var Google\Cloud\Spanner\Admin\Instance\V1\InstanceConfig
Returns
TypeDescription
$this

getProgress

The progress of the CreateInstanceConfig operation.

Returns
TypeDescription
Google\Cloud\Spanner\Admin\Instance\V1\OperationProgress|null

hasProgress

clearProgress

setProgress

The progress of the CreateInstanceConfig operation.

Parameter
NameDescription
var Google\Cloud\Spanner\Admin\Instance\V1\OperationProgress
Returns
TypeDescription
$this

getCancelTime

The time at which this operation was cancelled.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCancelTime

clearCancelTime

setCancelTime

The time at which this operation was cancelled.

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