class Google::Apis::OsconfigV1alpha::OsPolicyInventoryFilter
Filtering criteria to select VMs based on inventory details.
Attributes
os_short_name[RW]
Required. The OS short name Corresponds to the JSON property `osShortName` @return [String]
os_version[RW]
The OS version Prefix matches are supported if asterisk(*) is provided as the last character. For example, to match all versions with a major version of `7`, specify the following value for this field `7.*` An empty string matches all OS versions. Corresponds to the JSON property `osVersion` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/osconfig_v1alpha/classes.rb, line 1327 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_v1alpha/classes.rb, line 1332 def update!(**args) @os_short_name = args[:os_short_name] if args.key?(:os_short_name) @os_version = args[:os_version] if args.key?(:os_version) end