class Google::Apis::BigtableadminV1::CreateInstanceRequest
Request message for BigtableInstanceAdmin.CreateInstance.
Attributes
Required. The clusters to be created within the instance, mapped by desired cluster ID, e.g., just `mycluster` rather than `projects/myproject/instances/ myinstance/clusters/mycluster`. Fields marked `OutputOnly` must be left blank. Currently, at most four clusters can be specified. Corresponds to the JSON property `clusters` @return [Hash<String,Google::Apis::BigtableadminV1::Cluster>]
A collection of Bigtable Tables and the resources that serve them. All tables in an instance are served from all Clusters in the instance. Corresponds to the JSON property `instance` @return [Google::Apis::BigtableadminV1::Instance]
Required. The ID to be used when referring to the new instance within its project, e.g., just `myinstance` rather than `projects/myproject/instances/ myinstance`. Corresponds to the JSON property `instanceId` @return [String]
Required. The unique name of the project in which to create the new instance. Values are of the form `projects/`project“. Corresponds to the JSON property `parent` @return [String]
Public Class Methods
# File lib/google/apis/bigtableadmin_v1/classes.rb, line 371 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/bigtableadmin_v1/classes.rb, line 376 def update!(**args) @clusters = args[:clusters] if args.key?(:clusters) @instance = args[:instance] if args.key?(:instance) @instance_id = args[:instance_id] if args.key?(:instance_id) @parent = args[:parent] if args.key?(:parent) end