class Google::Apis::BigtableadminV1::CreateClusterRequest

Request message for BigtableInstanceAdmin.CreateCluster.

Attributes

cluster[RW]

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` @return [Google::Apis::BigtableadminV1::Cluster]

cluster_id[RW]

Required. 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` @return [String]

parent[RW]

Required. 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` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/bigtableadmin_v1/classes.rb, line 297
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/bigtableadmin_v1/classes.rb, line 302
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