class Google::Apis::SpannerV1::UpdateInstanceRequest

The request for UpdateInstance.

Attributes

field_mask[RW]

Required. A mask specifying which fields in Instance should be updated. The field mask must always be specified; this prevents any future fields in Instance from being erased accidentally by clients that do not know about them. Corresponds to the JSON property `fieldMask` @return [String]

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]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/spanner_v1/classes.rb, line 4738
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 4743
def update!(**args)
  @field_mask = args[:field_mask] if args.key?(:field_mask)
  @instance = args[:instance] if args.key?(:instance)
end