class CreateInstanceRequest extends Message

The request for [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance].

Protobuf type Google\Spanner\Admin\Instance\V1\CreateInstanceRequest

Methods

__construct()

No description

string
getParent()

Required. The name of the project in which to create the instance. Values are of the form projects/<project>.

setParent(string $var)

Required. The name of the project in which to create the instance. Values are of the form projects/<project>.

string
getInstanceId()

Required. The ID of the instance to create. Valid identifiers are of the form [a-z][-a-z0-9]*[a-z0-9] and must be between 6 and 30 characters in length.

setInstanceId(string $var)

Required. The ID of the instance to create. Valid identifiers are of the form [a-z][-a-z0-9]*[a-z0-9] and must be between 6 and 30 characters in length.

getInstance()

Required. The instance to create. The name may be omitted, but if specified must be <parent>/instances/<instance_id>.

setInstance(Instance $var)

Required. The instance to create. The name may be omitted, but if specified must be <parent>/instances/<instance_id>.

Details

at line 41
__construct()

at line 53
string getParent()

Required. The name of the project in which to create the instance. Values are of the form projects/<project>.

Generated from protobuf field string parent = 1;

Return Value

string

at line 65
setParent(string $var)

Required. The name of the project in which to create the instance. Values are of the form projects/<project>.

Generated from protobuf field string parent = 1;

Parameters

string $var

at line 79
string getInstanceId()

Required. The ID of the instance to create. Valid identifiers are of the form [a-z][-a-z0-9]*[a-z0-9] and must be between 6 and 30 characters in length.

Generated from protobuf field string instance_id = 2;

Return Value

string

at line 92
setInstanceId(string $var)

Required. The ID of the instance to create. Valid identifiers are of the form [a-z][-a-z0-9]*[a-z0-9] and must be between 6 and 30 characters in length.

Generated from protobuf field string instance_id = 2;

Parameters

string $var

at line 105
Instance getInstance()

Required. The instance to create. The name may be omitted, but if specified must be <parent>/instances/<instance_id>.

Generated from protobuf field .google.spanner.admin.instance.v1.Instance instance = 3;

Return Value

Instance

at line 117
setInstance(Instance $var)

Required. The instance to create. The name may be omitted, but if specified must be <parent>/instances/<instance_id>.

Generated from protobuf field .google.spanner.admin.instance.v1.Instance instance = 3;

Parameters

Instance $var