Class: Google::Apis::MigrationcenterV1::Settings

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Settings

Returns a new instance of Settings.



4656
4657
4658
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4656

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

Instance Attribute Details

#disable_cloud_loggingBoolean Also known as: disable_cloud_logging?

Disable Cloud Logging for the Migration Center API. Users are billed for the logs. Corresponds to the JSON property disableCloudLogging

Returns:

  • (Boolean)


4643
4644
4645
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4643

def disable_cloud_logging
  @disable_cloud_logging
end

#nameString

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

Returns:

  • (String)


4649
4650
4651
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4649

def name
  @name
end

#preference_setString

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

Returns:

  • (String)


4654
4655
4656
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4654

def preference_set
  @preference_set
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4661
4662
4663
4664
4665
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4661

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