class Google::Apis::CloudassetV1::OsInfo

Operating system information for the VM.

Attributes

architecture[RW]

The system architecture of the operating system. Corresponds to the JSON property `architecture` @return [String]

hostname[RW]

The VM hostname. Corresponds to the JSON property `hostname` @return [String]

kernel_release[RW]

The kernel release of the operating system. Corresponds to the JSON property `kernelRelease` @return [String]

kernel_version[RW]

The kernel version of the operating system. Corresponds to the JSON property `kernelVersion` @return [String]

long_name[RW]

The operating system long name. For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019 Datacenter'. Corresponds to the JSON property `longName` @return [String]

osconfig_agent_version[RW]

The current version of the OS Config agent running on the VM. Corresponds to the JSON property `osconfigAgentVersion` @return [String]

short_name[RW]

The operating system short name. For example, 'windows' or 'debian'. Corresponds to the JSON property `shortName` @return [String]

version[RW]

The version of the operating system. Corresponds to the JSON property `version` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudasset_v1/classes.rb, line 3472
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudasset_v1/classes.rb, line 3477
def update!(**args)
  @architecture = args[:architecture] if args.key?(:architecture)
  @hostname = args[:hostname] if args.key?(:hostname)
  @kernel_release = args[:kernel_release] if args.key?(:kernel_release)
  @kernel_version = args[:kernel_version] if args.key?(:kernel_version)
  @long_name = args[:long_name] if args.key?(:long_name)
  @osconfig_agent_version = args[:osconfig_agent_version] if args.key?(:osconfig_agent_version)
  @short_name = args[:short_name] if args.key?(:short_name)
  @version = args[:version] if args.key?(:version)
end