Class: Google::Apis::MigrationcenterV1::GuestRuntimeDetails

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

Guest OS runtime information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GuestRuntimeDetails

Returns a new instance of GuestRuntimeDetails.



1947
1948
1949
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1947

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

Instance Attribute Details

#domainString

Domain, e.g. c.stratozone-development.internal. Corresponds to the JSON property domain

Returns:

  • (String)


1910
1911
1912
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1910

def domain
  @domain
end

#installed_appsGoogle::Apis::MigrationcenterV1::GuestInstalledApplicationList

Guest installed application list. Corresponds to the JSON property installedApps



1915
1916
1917
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1915

def installed_apps
  @installed_apps
end

#last_boot_timeString

Last time the OS was booted. Corresponds to the JSON property lastBootTime

Returns:

  • (String)


1920
1921
1922
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1920

def last_boot_time
  @last_boot_time
end

#machine_nameString

Machine name. Corresponds to the JSON property machineName

Returns:

  • (String)


1925
1926
1927
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1925

def machine_name
  @machine_name
end

#networkGoogle::Apis::MigrationcenterV1::RuntimeNetworkInfo

Runtime networking information. Corresponds to the JSON property network



1930
1931
1932
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1930

def network
  @network
end

#open_file_listGoogle::Apis::MigrationcenterV1::OpenFileList

Open file list. Corresponds to the JSON property openFileList



1935
1936
1937
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1935

def open_file_list
  @open_file_list
end

#processesGoogle::Apis::MigrationcenterV1::RunningProcessList

List of running guest OS processes. Corresponds to the JSON property processes



1940
1941
1942
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1940

def processes
  @processes
end

#servicesGoogle::Apis::MigrationcenterV1::RunningServiceList

List of running guest OS services. Corresponds to the JSON property services



1945
1946
1947
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1945

def services
  @services
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1952

def update!(**args)
  @domain = args[:domain] if args.key?(:domain)
  @installed_apps = args[:installed_apps] if args.key?(:installed_apps)
  @last_boot_time = args[:last_boot_time] if args.key?(:last_boot_time)
  @machine_name = args[:machine_name] if args.key?(:machine_name)
  @network = args[:network] if args.key?(:network)
  @open_file_list = args[:open_file_list] if args.key?(:open_file_list)
  @processes = args[:processes] if args.key?(:processes)
  @services = args[:services] if args.key?(:services)
end