Reference documentation and code samples for the Cloud Bigtable Admin V2 API class Google::Cloud::Bigtable::Admin::V2::CreateInstanceRequest.
Request message for BigtableInstanceAdmin.CreateInstance.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#clusters
def clusters() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Bigtable::Admin::V2::Cluster}
Returns
-
(::Google::Protobuf::Map{::String => ::Google::Cloud::Bigtable::Admin::V2::Cluster}) — Required. The clusters to be created within the instance, mapped by desired
cluster ID, e.g., just
mycluster
rather thanprojects/myproject/instances/myinstance/clusters/mycluster
. Fields markedOutputOnly
must be left blank. Currently, at most four clusters can be specified.
#clusters=
def clusters=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::Bigtable::Admin::V2::Cluster}
Parameter
-
value (::Google::Protobuf::Map{::String => ::Google::Cloud::Bigtable::Admin::V2::Cluster}) — Required. The clusters to be created within the instance, mapped by desired
cluster ID, e.g., just
mycluster
rather thanprojects/myproject/instances/myinstance/clusters/mycluster
. Fields markedOutputOnly
must be left blank. Currently, at most four clusters can be specified.
Returns
-
(::Google::Protobuf::Map{::String => ::Google::Cloud::Bigtable::Admin::V2::Cluster}) — Required. The clusters to be created within the instance, mapped by desired
cluster ID, e.g., just
mycluster
rather thanprojects/myproject/instances/myinstance/clusters/mycluster
. Fields markedOutputOnly
must be left blank. Currently, at most four clusters can be specified.
#instance
def instance() -> ::Google::Cloud::Bigtable::Admin::V2::Instance
Returns
-
(::Google::Cloud::Bigtable::Admin::V2::Instance) — Required. The instance to create.
Fields marked
OutputOnly
must be left blank.
#instance=
def instance=(value) -> ::Google::Cloud::Bigtable::Admin::V2::Instance
Parameter
-
value (::Google::Cloud::Bigtable::Admin::V2::Instance) — Required. The instance to create.
Fields marked
OutputOnly
must be left blank.
Returns
-
(::Google::Cloud::Bigtable::Admin::V2::Instance) — Required. The instance to create.
Fields marked
OutputOnly
must be left blank.
#instance_id
def instance_id() -> ::String
Returns
-
(::String) — Required. The ID to be used when referring to the new instance within its
project, e.g., just
myinstance
rather thanprojects/myproject/instances/myinstance
.
#instance_id=
def instance_id=(value) -> ::String
Parameter
-
value (::String) — Required. The ID to be used when referring to the new instance within its
project, e.g., just
myinstance
rather thanprojects/myproject/instances/myinstance
.
Returns
-
(::String) — Required. The ID to be used when referring to the new instance within its
project, e.g., just
myinstance
rather thanprojects/myproject/instances/myinstance
.
#parent
def parent() -> ::String
Returns
-
(::String) — Required. The unique name of the project in which to create the new
instance. Values are of the form
projects/{project}
.
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. The unique name of the project in which to create the new
instance. Values are of the form
projects/{project}
.
Returns
-
(::String) — Required. The unique name of the project in which to create the new
instance. Values are of the form
projects/{project}
.