Interface OSPolicyAssignment.InstanceFilter.InventoryOrBuilder (2.56.0)

public static interface OSPolicyAssignment.InstanceFilter.InventoryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getOsShortName()

public abstract String getOsShortName()

Required. The OS short name

string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The osShortName.

getOsShortNameBytes()

public abstract ByteString getOsShortNameBytes()

Required. The OS short name

string os_short_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for osShortName.

getOsVersion()

public abstract String 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 os_version = 2;

Returns
Type Description
String

The osVersion.

getOsVersionBytes()

public abstract ByteString getOsVersionBytes()

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 os_version = 2;

Returns
Type Description
ByteString

The bytes for osVersion.