Class: Google::Apis::ConfigV1::AutoMigrationConfig
- Inherits:
-
Object
- Object
- Google::Apis::ConfigV1::AutoMigrationConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/config_v1/classes.rb,
lib/google/apis/config_v1/representations.rb,
lib/google/apis/config_v1/representations.rb
Overview
AutoMigrationConfig contains the automigration configuration for a project.
Instance Attribute Summary collapse
-
#auto_migration_enabled ⇒ Boolean
(also: #auto_migration_enabled?)
Optional.
-
#name ⇒ String
Identifier.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AutoMigrationConfig
constructor
A new instance of AutoMigrationConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AutoMigrationConfig
Returns a new instance of AutoMigrationConfig.
150 151 152 |
# File 'lib/google/apis/config_v1/classes.rb', line 150 def initialize(**args) update!(**args) end |
Instance Attribute Details
#auto_migration_enabled ⇒ Boolean Also known as: auto_migration_enabled?
Optional. Whether the auto migration is enabled for the project.
Corresponds to the JSON property autoMigrationEnabled
136 137 138 |
# File 'lib/google/apis/config_v1/classes.rb', line 136 def auto_migration_enabled @auto_migration_enabled end |
#name ⇒ String
Identifier. The name of the AutoMigrationConfig. Format: 'projects/project_id
/locations/location/AutoMigrationConfig'.
Corresponds to the JSON property name
143 144 145 |
# File 'lib/google/apis/config_v1/classes.rb', line 143 def name @name end |
#update_time ⇒ String
Output only. Time the AutoMigrationConfig was last updated.
Corresponds to the JSON property updateTime
148 149 150 |
# File 'lib/google/apis/config_v1/classes.rb', line 148 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
155 156 157 158 159 |
# File 'lib/google/apis/config_v1/classes.rb', line 155 def update!(**args) @auto_migration_enabled = args[:auto_migration_enabled] if args.key?(:auto_migration_enabled) @name = args[:name] if args.key?(:name) @update_time = args[:update_time] if args.key?(:update_time) end |