Reference documentation and code samples for the Google Cloud OsConfig V1 Client class InventoryFilter.
Filtering criteria to select VMs based on inventory details.
Generated from protobuf message google.cloud.osconfig.v1.OSPolicy.InventoryFilter
Namespace
Google \ Cloud \ OsConfig \ V1 \ OSPolicyMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ os_short_name
string
Required. The OS short name
↳ os_version
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.
getOsShortName
Required. The OS short name
string
setOsShortName
Required. The OS short name
var
string
$this
getOsVersion
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
setOsVersion
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.
var
string
$this