Google Cloud OS Config v1 API - Class OSPolicy.Types.InventoryFilter (2.3.0)

public sealed class OSPolicy.Types.InventoryFilter : IMessage<OSPolicy.Types.InventoryFilter>, IEquatable<OSPolicy.Types.InventoryFilter>, IDeepCloneable<OSPolicy.Types.InventoryFilter>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud OS Config v1 API class OSPolicy.Types.InventoryFilter.

Filtering criteria to select VMs based on inventory details.

Inheritance

object > OSPolicy.Types.InventoryFilter

Namespace

Google.Cloud.OsConfig.V1

Assembly

Google.Cloud.OsConfig.V1.dll

Constructors

InventoryFilter()

public InventoryFilter()

InventoryFilter(InventoryFilter)

public InventoryFilter(OSPolicy.Types.InventoryFilter other)
Parameter
NameDescription
otherOSPolicyTypesInventoryFilter

Properties

OsShortName

public string OsShortName { get; set; }

Required. The OS short name

Property Value
TypeDescription
string

OsVersion

public string OsVersion { get; set; }

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.

Property Value
TypeDescription
string