Cloud OS Config V1alpha API - Class Google::Cloud::OsConfig::V1alpha::OSPolicy::OSFilter (v0.9.0)

Reference documentation and code samples for the Cloud OS Config V1alpha API class Google::Cloud::OsConfig::V1alpha::OSPolicy::OSFilter.

Filtering criteria to select VMs based on OS details.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#os_short_name

def os_short_name() -> ::String
Returns
  • (::String) — This should match OS short name emitted by the OS inventory agent. An empty value matches any OS.

#os_short_name=

def os_short_name=(value) -> ::String
Parameter
  • value (::String) — This should match OS short name emitted by the OS inventory agent. An empty value matches any OS.
Returns
  • (::String) — This should match OS short name emitted by the OS inventory agent. An empty value matches any OS.

#os_version

def os_version() -> ::String
Returns
  • (::String) — This value should match the version emitted by the OS inventory agent. 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.`

#os_version=

def os_version=(value) -> ::String
Parameter
  • value (::String) — This value should match the version emitted by the OS inventory agent. 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.`
Returns
  • (::String) — This value should match the version emitted by the OS inventory agent. 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.`