CreateInstanceRequest
class CreateInstanceRequest extends Message
The request for [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance].
Protobuf type Google\Spanner\Admin\Instance\V1\CreateInstanceRequest
Methods
No description
Required. The name of the project in which to create the instance. Values
are of the form projects/<project>
.
Required. The name of the project in which to create the instance. Values
are of the form projects/<project>
.
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.
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.
Required. The instance to create. The name may be omitted, but if
specified must be <parent>/instances/<instance_id>
.
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;
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;
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;
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;
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;
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;