Class: Google::Apis::VmmigrationV1alpha1::VmCapabilities
- Inherits:
-
Object
- Object
- Google::Apis::VmmigrationV1alpha1::VmCapabilities
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/vmmigration_v1alpha1/classes.rb,
lib/google/apis/vmmigration_v1alpha1/representations.rb,
lib/google/apis/vmmigration_v1alpha1/representations.rb
Overview
Migrating VM source information about the VM capabilities needed for some Compute Engine features.
Instance Attribute Summary collapse
-
#last_os_capabilities_update_time ⇒ String
Output only.
-
#os_capabilities ⇒ Array<String>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VmCapabilities
constructor
A new instance of VmCapabilities.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VmCapabilities
Returns a new instance of VmCapabilities.
4674 4675 4676 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 4674 def initialize(**args) update!(**args) end |
Instance Attribute Details
#last_os_capabilities_update_time ⇒ String
Output only. The last time OS capabilities list was updated.
Corresponds to the JSON property lastOsCapabilitiesUpdateTime
4666 4667 4668 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 4666 def last_os_capabilities_update_time @last_os_capabilities_update_time end |
#os_capabilities ⇒ Array<String>
Output only. Unordered list. List of certain VM OS capabilities needed for
some Compute Engine features.
Corresponds to the JSON property osCapabilities
4672 4673 4674 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 4672 def os_capabilities @os_capabilities end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4679 4680 4681 4682 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 4679 def update!(**args) @last_os_capabilities_update_time = args[:last_os_capabilities_update_time] if args.key?(:last_os_capabilities_update_time) @os_capabilities = args[:os_capabilities] if args.key?(:os_capabilities) end |