class Google::Apis::SpannerV1::CreateInstanceRequest

The request for CreateInstance.

Attributes

instance[RW]

An isolated set of Cloud Spanner resources on which databases can be hosted. Corresponds to the JSON property `instance` @return [Google::Apis::SpannerV1::Instance]

instance_id[RW]

Required. The ID of the instance to create. Valid identifiers are of the form ` a-z*` and must be between 2 and 64 characters in length. Corresponds to the JSON property `instanceId` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/spanner_v1/classes.rb, line 949
def update!(**args)
  @instance = args[:instance] if args.key?(:instance)
  @instance_id = args[:instance_id] if args.key?(:instance_id)
end