Class: Google::Apis::VmmigrationV1alpha1::VmCapabilities

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VmCapabilities

Returns a new instance of VmCapabilities.



5224
5225
5226
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 5224

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

Instance Attribute Details

#last_os_capabilities_update_timeString

Output only. The last time OS capabilities list was updated. Corresponds to the JSON property lastOsCapabilitiesUpdateTime

Returns:

  • (String)


5216
5217
5218
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 5216

def last_os_capabilities_update_time
  @last_os_capabilities_update_time
end

#os_capabilitiesArray<String>

Output only. Unordered list. List of certain VM OS capabilities needed for some Compute Engine features. Corresponds to the JSON property osCapabilities

Returns:

  • (Array<String>)


5222
5223
5224
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 5222

def os_capabilities
  @os_capabilities
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5229
5230
5231
5232
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 5229

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