class Google::Apis::OsconfigV1beta::AssignmentOsType

Defines the criteria for selecting VM Instances by OS type.

Attributes

os_architecture[RW]

Targets VM instances with OS Inventory enabled and having the following OS architecture. Corresponds to the JSON property `osArchitecture` @return [String]

os_short_name[RW]

Targets VM instances with OS Inventory enabled and having the following OS short name, for example “debian” or “windows”. Corresponds to the JSON property `osShortName` @return [String]

os_version[RW]

Targets VM instances with OS Inventory enabled and having the following following OS version. 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 208
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 213
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