Cloud Spanner V1 Client - Class MoveInstanceRequest (1.89.0)

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

The request for MoveInstance.

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

Namespace

Google \ Cloud \ Spanner \ Admin \ Instance \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The instance to move. Values are of the form projects/<project>/instances/<instance>.

↳ target_config string

Required. The target instance configuration where to move the instance. Values are of the form projects/<project>/instanceConfigs/<config>.

getName

Required. The instance to move.

Values are of the form projects/<project>/instances/<instance>.

Returns
Type Description
string

setName

Required. The instance to move.

Values are of the form projects/<project>/instances/<instance>.

Parameter
Name Description
var string
Returns
Type Description
$this

getTargetConfig

Required. The target instance configuration where to move the instance.

Values are of the form projects/<project>/instanceConfigs/<config>.

Returns
Type Description
string

setTargetConfig

Required. The target instance configuration where to move the instance.

Values are of the form projects/<project>/instanceConfigs/<config>.

Parameter
Name Description
var string
Returns
Type Description
$this