Class: Google::Apis::MigrationcenterV1alpha1::GuestOsDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/migrationcenter_v1alpha1/classes.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb

Overview

Information from Guest-level collections.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GuestOsDetails

Returns a new instance of GuestOsDetails.



3858
3859
3860
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3858

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

Instance Attribute Details

#configGoogle::Apis::MigrationcenterV1alpha1::GuestConfigDetails

Guest OS config information. Corresponds to the JSON property config



3836
3837
3838
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3836

def config
  @config
end

#familyString

What family the OS belong to, if known. Corresponds to the JSON property family

Returns:

  • (String)


3841
3842
3843
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3841

def family
  @family
end

#os_nameString

The name of the operating system. Corresponds to the JSON property osName

Returns:

  • (String)


3846
3847
3848
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3846

def os_name
  @os_name
end

#runtimeGoogle::Apis::MigrationcenterV1alpha1::GuestRuntimeDetails

Guest OS runtime information. Corresponds to the JSON property runtime



3851
3852
3853
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3851

def runtime
  @runtime
end

#versionString

The version of the operating system. Corresponds to the JSON property version

Returns:

  • (String)


3856
3857
3858
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3856

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3863
3864
3865
3866
3867
3868
3869
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3863

def update!(**args)
  @config = args[:config] if args.key?(:config)
  @family = args[:family] if args.key?(:family)
  @os_name = args[:os_name] if args.key?(:os_name)
  @runtime = args[:runtime] if args.key?(:runtime)
  @version = args[:version] if args.key?(:version)
end