Class: Google::Apis::SpannerV1::MoveInstanceRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/spanner_v1/classes.rb,
lib/google/apis/spanner_v1/representations.rb,
lib/google/apis/spanner_v1/representations.rb

Overview

The request for MoveInstance.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MoveInstanceRequest

Returns a new instance of MoveInstanceRequest.



4240
4241
4242
# File 'lib/google/apis/spanner_v1/classes.rb', line 4240

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#target_configString

Required. The target instance configuration where to move the instance. Values are of the form projects//instanceConfigs/. Corresponds to the JSON property targetConfig

Returns:

  • (String)


4238
4239
4240
# File 'lib/google/apis/spanner_v1/classes.rb', line 4238

def target_config
  @target_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4245
4246
4247
# File 'lib/google/apis/spanner_v1/classes.rb', line 4245

def update!(**args)
  @target_config = args[:target_config] if args.key?(:target_config)
end