Class: Google::Apis::MigrationcenterV1alpha1::Settings

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

Overview

Describes the Migration Center settings related to the project.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Settings

Returns a new instance of Settings.



4436
4437
4438
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4436

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

Instance Attribute Details

#nameString

Output only. The name of the resource. Corresponds to the JSON property name

Returns:

  • (String)


4429
4430
4431
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4429

def name
  @name
end

#preference_setString

The preference set used by default for a project. Corresponds to the JSON property preferenceSet

Returns:

  • (String)


4434
4435
4436
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4434

def preference_set
  @preference_set
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4441
4442
4443
4444
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4441

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