Cloud Spanner V1 Client - Class CreateInstanceConfigMetadata (1.54.2)

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

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.

Generated from protobuf field .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1;

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

hasInstanceConfig

clearInstanceConfig

setInstanceConfig

The target instance config end state.

Generated from protobuf field .google.spanner.admin.instance.v1.InstanceConfig instance_config = 1;

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

getProgress

The progress of the CreateInstanceConfig operation.

Generated from protobuf field .google.spanner.admin.instance.v1.OperationProgress progress = 2;

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

hasProgress

clearProgress

setProgress

The progress of the CreateInstanceConfig operation.

Generated from protobuf field .google.spanner.admin.instance.v1.OperationProgress progress = 2;

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

getCancelTime

The time at which this operation was cancelled.

Generated from protobuf field .google.protobuf.Timestamp cancel_time = 3;

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCancelTime

clearCancelTime

setCancelTime

The time at which this operation was cancelled.

Generated from protobuf field .google.protobuf.Timestamp cancel_time = 3;

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