Class: Google::Apis::BigtableadminV2::CreateClusterRequest
- Inherits:
-
Object
- Object
- Google::Apis::BigtableadminV2::CreateClusterRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/bigtableadmin_v2/classes.rb,
generated/google/apis/bigtableadmin_v2/representations.rb,
generated/google/apis/bigtableadmin_v2/representations.rb
Overview
Request message for BigtableInstanceAdmin.CreateCluster.
Instance Attribute Summary collapse
-
#cluster ⇒ Google::Apis::BigtableadminV2::Cluster
A resizable group of nodes in a particular cloud location, capable of serving all Tables in the parent Instance.
-
#cluster_id ⇒ String
The ID to be used when referring to the new cluster within its instance, e.g., just
mycluster
rather thanprojects/myproject/instances/myinstance/clusters/mycluster
. -
#parent ⇒ String
The unique name of the instance in which to create the new cluster.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreateClusterRequest
constructor
A new instance of CreateClusterRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CreateClusterRequest
Returns a new instance of CreateClusterRequest
439 440 441 |
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 439 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cluster ⇒ Google::Apis::BigtableadminV2::Cluster
A resizable group of nodes in a particular cloud location, capable
of serving all Tables in the parent
Instance.
Corresponds to the JSON property cluster
423 424 425 |
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 423 def cluster @cluster end |
#cluster_id ⇒ String
The ID to be used when referring to the new cluster within its instance,
e.g., just mycluster
rather than
projects/myproject/instances/myinstance/clusters/mycluster
.
Corresponds to the JSON property clusterId
430 431 432 |
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 430 def cluster_id @cluster_id end |
#parent ⇒ String
The unique name of the instance in which to create the new cluster.
Values are of the form
projects/<project>/instances/<instance>
.
Corresponds to the JSON property parent
437 438 439 |
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 437 def parent @parent end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
444 445 446 447 448 |
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 444 def update!(**args) @cluster = args[:cluster] if args.key?(:cluster) @cluster_id = args[:cluster_id] if args.key?(:cluster_id) @parent = args[:parent] if args.key?(:parent) end |