Interface GuestPolicies.AssignmentOrBuilder (2.56.0)

public static interface GuestPolicies.AssignmentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGroupLabels(int index)

public abstract GuestPolicies.Assignment.GroupLabel getGroupLabels(int index)

Targets instances matching at least one of these label sets. This allows an assignment to target disparate groups, for example "env=prod or env=staging".

repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;

Parameter
Name Description
index int
Returns
Type Description
GuestPolicies.Assignment.GroupLabel

getGroupLabelsCount()

public abstract int getGroupLabelsCount()

Targets instances matching at least one of these label sets. This allows an assignment to target disparate groups, for example "env=prod or env=staging".

repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;

Returns
Type Description
int

getGroupLabelsList()

public abstract List<GuestPolicies.Assignment.GroupLabel> getGroupLabelsList()

Targets instances matching at least one of these label sets. This allows an assignment to target disparate groups, for example "env=prod or env=staging".

repeated .google.cloud.osconfig.v1beta.Assignment.GroupLabel group_labels = 1;

Returns
Type Description
List<GroupLabel>

getGroupLabelsOrBuilder(int index)

public abstract GuestPolicies.Assignment.