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.



1529
1530
1531
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1529

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

Instance Attribute Details

#fit_levelString

Output only. Fit level. Corresponds to the JSON property fitLevel

Returns:

  • (String)


1527
1528
1529
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1527

def fit_level
  @fit_level
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1534
1535
1536
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1534

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