Cloud Spanner V1 Client - Class CreateInstanceConfigMetadata (1.76.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
Name Description
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
Type Description
Google\Cloud\Spanner\Admin\Instance\V1\InstanceConfig|null

hasInstanceConfig

clearInstanceConfig

setInstanceConfig

The target instance config end state.

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

getProgress

The progress of the CreateInstanceConfig operation.

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

hasProgress

clearProgress

setProgress

The progress of the CreateInstanceConfig operation.

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

getCancelTime

The time at which this operation was cancelled.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCancelTime

clearCancelTime

setCancelTime

The time at which this operation was cancelled.

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