Interface PolicyRuleOrBuilder (1.34.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
Type Description
DenyRule

The denyRule.

getDenyRuleOrBuilder()

public abstract DenyRuleOrBuilder getDenyRuleOrBuilder()

A rule for a deny policy.

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

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for description.

getKindCase()

public abstract PolicyRule.KindCase getKindCase()
Returns
Type Description
PolicyRule.KindCase

hasDenyRule()

public abstract boolean hasDenyRule()

A rule for a deny policy.

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

Returns
Type Description
boolean

Whether the denyRule field is set.