Reference documentation and code samples for the Cloud Spanner Instance Admin V1 API class Google::Cloud::Spanner::Admin::Instance::V1::CreateInstancePartitionRequest.
The request for CreateInstancePartition.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#instance_partition
def instance_partition() -> ::Google::Cloud::Spanner::Admin::Instance::V1::InstancePartition
Returns
-
(::Google::Cloud::Spanner::Admin::Instance::V1::InstancePartition) — Required. The instance partition to create. The instance_partition.name may
be omitted, but if specified must be
<parent>/instancePartitions/<instance_partition_id>
.
#instance_partition=
def instance_partition=(value) -> ::Google::Cloud::Spanner::Admin::Instance::V1::InstancePartition
Parameter
-
value (::Google::Cloud::Spanner::Admin::Instance::V1::InstancePartition) — Required. The instance partition to create. The instance_partition.name may
be omitted, but if specified must be
<parent>/instancePartitions/<instance_partition_id>
.
Returns
-
(::Google::Cloud::Spanner::Admin::Instance::V1::InstancePartition) — Required. The instance partition to create. The instance_partition.name may
be omitted, but if specified must be
<parent>/instancePartitions/<instance_partition_id>
.
#instance_partition_id
def instance_partition_id() -> ::String
Returns
-
(::String) — Required. The ID of the instance partition to create. Valid identifiers are
of the form
[a-z][-a-z0-9]*[a-z0-9]
and must be between 2 and 64 characters in length.
#instance_partition_id=
def instance_partition_id=(value) -> ::String
Parameter
-
value (::String) — Required. The ID of the instance partition to create. Valid identifiers are
of the form
[a-z][-a-z0-9]*[a-z0-9]
and must be between 2 and 64 characters in length.
Returns
-
(::String) — Required. The ID of the instance partition to create. Valid identifiers are
of the form
[a-z][-a-z0-9]*[a-z0-9]
and must be between 2 and 64 characters in length.
#parent
def parent() -> ::String
Returns
-
(::String) — Required. The name of the instance in which to create the instance
partition. Values are of the form
projects/<project>/instances/<instance>
.
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. The name of the instance in which to create the instance
partition. Values are of the form
projects/<project>/instances/<instance>
.
Returns
-
(::String) — Required. The name of the instance in which to create the instance
partition. Values are of the form
projects/<project>/instances/<instance>
.