Class: Google::Apis::MigrationcenterV1::Settings
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1::Settings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1/classes.rb,
lib/google/apis/migrationcenter_v1/representations.rb,
lib/google/apis/migrationcenter_v1/representations.rb
Overview
Describes the Migration Center settings related to the project.
Instance Attribute Summary collapse
-
#name ⇒ String
Output only.
-
#preference_set ⇒ String
The preference set used by default for a project.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Settings
constructor
A new instance of Settings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Settings
Returns a new instance of Settings.
4360 4361 4362 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4360 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Output only. The name of the resource.
Corresponds to the JSON property name
4353 4354 4355 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4353 def name @name end |
#preference_set ⇒ String
The preference set used by default for a project.
Corresponds to the JSON property preferenceSet
4358 4359 4360 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4358 def preference_set @preference_set end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4365 4366 4367 4368 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4365 def update!(**args) @name = args[:name] if args.key?(:name) @preference_set = args[:preference_set] if args.key?(:preference_set) end |