Class: Google::Apis::MigrationcenterV1alpha1::GuestRuntimeDetails

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

Guest OS runtime information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GuestRuntimeDetails

Returns a new instance of GuestRuntimeDetails.



3089
3090
3091
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3089

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)


3045
3046
3047
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3045

def domain
  @domain
end

#installed_appsGoogle::Apis::MigrationcenterV1alpha1::GuestInstalledApplicationList

Guest installed application list. Corresponds to the JSON property installedApps



3050
3051
3052
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3050

def installed_apps
  @installed_apps
end

#last_uptimeGoogle::Apis::MigrationcenterV1alpha1::Date

Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type. TimeOfDay * google.type.DateTime * google.protobuf.Timestamp Corresponds to the JSON property lastUptime



3062
3063
3064
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3062

def last_uptime
  @last_uptime
end

#machine_nameString

Machine name. Corresponds to the JSON property machineName

Returns:

  • (String)


3067
3068
3069
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3067

def machine_name
  @machine_name
end

#network_infoGoogle::Apis::MigrationcenterV1alpha1::RuntimeNetworkInfo

Runtime networking information. Corresponds to the JSON property networkInfo



3072
3073
3074
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3072

def network_info
  @network_info
end

#open_file_listGoogle::Apis::MigrationcenterV1alpha1::OpenFileList

Open file list. Corresponds to the JSON property openFileList



3077
3078
3079
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3077

def open_file_list
  @open_file_list
end

#processesGoogle::Apis::MigrationcenterV1alpha1::RunningProcessList

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



3082
3083
3084
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3082

def processes
  @processes
end

#servicesGoogle::Apis::MigrationcenterV1alpha1::RunningServiceList

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



3087
3088
3089
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3087

def services
  @services
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3094

def update!(**args)
  @domain = args[:domain] if args.key?(:domain)
  @installed_apps = args[:installed_apps] if args.key?(:installed_apps)
  @last_uptime = args[:last_uptime] if args.key?(:last_uptime)
  @machine_name = args[:machine_name] if args.key?(:machine_name)
  @network_info = args[:network_info] if args.key?(:network_info)
  @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