Reference documentation and code samples for the Cloud OS Config V1 API class Google::Cloud::OsConfig::V1::OSPolicy::InventoryFilter.
Filtering criteria to select VMs based on inventory details.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#os_short_name
def os_short_name() -> ::String
- (::String) — Required. The OS short name
#os_short_name=
def os_short_name=(value) -> ::String
- value (::String) — Required. The OS short name
- (::String) — Required. The OS short name
#os_version
def os_version() -> ::String
-
(::String) — 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.
#os_version=
def os_version=(value) -> ::String
-
value (::String) — 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.
-
(::String) — 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.