Cloud OS Config V1 API - Class Google::Cloud::OsConfig::V1::Inventory::OsInfo (v1.1.0)

Reference documentation and code samples for the Cloud OS Config V1 API class Google::Cloud::OsConfig::V1::Inventory::OsInfo.

Operating system information for the VM.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#architecture

def architecture() -> ::String
Returns
  • (::String) — The system architecture of the operating system.

#architecture=

def architecture=(value) -> ::String
Parameter
  • value (::String) — The system architecture of the operating system.
Returns
  • (::String) — The system architecture of the operating system.

#hostname

def hostname() -> ::String
Returns
  • (::String) — The VM hostname.

#hostname=

def hostname=(value) -> ::String
Parameter
  • value (::String) — The VM hostname.
Returns
  • (::String) — The VM hostname.

#kernel_release

def kernel_release() -> ::String
Returns
  • (::String) — The kernel release of the operating system.

#kernel_release=

def kernel_release=(value) -> ::String
Parameter
  • value (::String) — The kernel release of the operating system.
Returns
  • (::String) — The kernel release of the operating system.

#kernel_version

def kernel_version() -> ::String
Returns
  • (::String) — The kernel version of the operating system.

#kernel_version=

def kernel_version=(value) -> ::String
Parameter
  • value (::String) — The kernel version of the operating system.
Returns
  • (::String) — The kernel version of the operating system.

#long_name

def long_name() -> ::String
Returns
  • (::String) — The operating system long name. For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019 Datacenter'.

#long_name=

def long_name=(value) -> ::String
Parameter
  • value (::String) — The operating system long name. For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019 Datacenter'.
Returns
  • (::String) — The operating system long name. For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019 Datacenter'.

#osconfig_agent_version

def osconfig_agent_version() -> ::String
Returns
  • (::String) — The current version of the OS Config agent running on the VM.

#osconfig_agent_version=

def osconfig_agent_version=(value) -> ::String
Parameter
  • value (::String) — The current version of the OS Config agent running on the VM.
Returns
  • (::String) — The current version of the OS Config agent running on the VM.

#short_name

def short_name() -> ::String
Returns
  • (::String) — The operating system short name. For example, 'windows' or 'debian'.

#short_name=

def short_name=(value) -> ::String
Parameter
  • value (::String) — The operating system short name. For example, 'windows' or 'debian'.
Returns
  • (::String) — The operating system short name. For example, 'windows' or 'debian'.

#version

def version() -> ::String
Returns
  • (::String) — The version of the operating system.

#version=

def version=(value) -> ::String
Parameter
  • value (::String) — The version of the operating system.
Returns
  • (::String) — The version of the operating system.