Class: Google::Apis::MigrationcenterV1::FitDescriptor

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 fit level of an asset for migration to a specific target.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FitDescriptor

Returns a new instance of FitDescriptor.



1517
1518
1519
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1517

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

Instance Attribute Details

#fit_levelString

Fit level. Corresponds to the JSON property fitLevel

Returns:

  • (String)


1515
1516
1517
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1515

def fit_level
  @fit_level
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1522
1523
1524
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1522

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