Class: Google::Apis::SpannerV1::MoveInstanceRequest
- Inherits:
-
Object
- Object
- Google::Apis::SpannerV1::MoveInstanceRequest
- 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
-
#target_config ⇒ String
Required.
-
#target_database_move_configs ⇒ Array<Google::Apis::SpannerV1::DatabaseMoveConfig>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MoveInstanceRequest
constructor
A new instance of MoveInstanceRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MoveInstanceRequest
Returns a new instance of MoveInstanceRequest.
4514 4515 4516 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 4514 def initialize(**args) update!(**args) end |
Instance Attribute Details
#target_config ⇒ String
Required. The target instance configuration where to move the instance. Values
are of the form projects//instanceConfigs/.
Corresponds to the JSON property targetConfig
4506 4507 4508 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 4506 def target_config @target_config end |
#target_database_move_configs ⇒ Array<Google::Apis::SpannerV1::DatabaseMoveConfig>
Optional. The configuration for each database in the target instance
configuration.
Corresponds to the JSON property targetDatabaseMoveConfigs
4512 4513 4514 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 4512 def target_database_move_configs @target_database_move_configs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4519 4520 4521 4522 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 4519 def update!(**args) @target_config = args[:target_config] if args.key?(:target_config) @target_database_move_configs = args[:target_database_move_configs] if args.key?(:target_database_move_configs) end |