class Google::Apis::OsconfigV1beta::LookupEffectiveGuestPolicyRequest

A request message for getting the effective guest policy assigned to the instance.

Attributes

os_architecture[RW]

Architecture of OS running on the instance. The OS Config agent only provides this field for targeting if OS Inventory is enabled for that instance. Corresponds to the JSON property `osArchitecture` @return [String]

os_short_name[RW]

Short name of the OS running on the instance. The OS Config agent only provides this field for targeting if OS Inventory is enabled for that instance. Corresponds to the JSON property `osShortName` @return [String]

os_version[RW]

Version of the OS running on the instance. The OS Config agent only provides this field for targeting if OS Inventory is enabled for that VM instance. Corresponds to the JSON property `osVersion` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/osconfig_v1beta/classes.rb, line 809
def update!(**args)
  @os_architecture = args[:os_architecture] if args.key?(:os_architecture)
  @os_short_name = args[:os_short_name] if args.key?(:os_short_name)
  @os_version = args[:os_version] if args.key?(:os_version)
end