Interface PolicyRuleOrBuilder (1.22.0)

public interface PolicyRuleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDenyRule()

public abstract DenyRule getDenyRule()

A rule for a deny policy.

.google.iam.v2.DenyRule deny_rule = 2;

Returns
TypeDescription
DenyRule

The denyRule.

getDenyRuleOrBuilder()

public abstract DenyRuleOrBuilder getDenyRuleOrBuilder()

A rule for a deny policy.

.google.iam.v2.DenyRule deny_rule = 2;

Returns
TypeDescription
DenyRuleOrBuilder

getDescription()

public abstract String getDescription()

A user-specified description of the rule. This value can be up to 256 characters.

string description = 1;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

A user-specified description of the rule. This value can be up to 256 characters.

string description = 1;

Returns
TypeDescription
ByteString

The bytes for description.

getKindCase()

public abstract PolicyRule.KindCase getKindCase()
Returns
TypeDescription
PolicyRule.KindCase

hasDenyRule()

public abstract boolean hasDenyRule()

A rule for a deny policy.

.google.iam.v2.DenyRule deny_rule = 2;

Returns
TypeDescription
boolean

Whether the denyRule field is set.