public static interface AuthzPolicy.AuthzRuleOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getFrom()
public abstract AuthzPolicy.AuthzRule.From getFrom()Optional. Describes properties of a source of a request.
.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From from = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AuthzPolicy.AuthzRule.From |
The from. |
getFromOrBuilder()
public abstract AuthzPolicy.AuthzRule.FromOrBuilder getFromOrBuilder()Optional. Describes properties of a source of a request.
.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From from = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AuthzPolicy.AuthzRule.FromOrBuilder |
|
getTo()
public abstract AuthzPolicy.AuthzRule.To getTo()Optional. Describes properties of a target of a request.
.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To to = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AuthzPolicy.AuthzRule.To |
The to. |
getToOrBuilder()
public abstract AuthzPolicy.AuthzRule.ToOrBuilder getToOrBuilder()Optional. Describes properties of a target of a request.
.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To to = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AuthzPolicy.AuthzRule.ToOrBuilder |
|
getWhen()
public abstract String getWhen()Optional. CEL expression that describes the conditions to be satisfied for the action. The result of the CEL expression is ANDed with the from and to. Refer to the CEL language reference for a list of available attributes.
string when = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The when. |
getWhenBytes()
public abstract ByteString getWhenBytes()Optional. CEL expression that describes the conditions to be satisfied for the action. The result of the CEL expression is ANDed with the from and to. Refer to the CEL language reference for a list of available attributes.
string when = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for when. |
hasFrom()
public abstract boolean hasFrom()Optional. Describes properties of a source of a request.
.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From from = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the from field is set. |
hasTo()
public abstract boolean hasTo()Optional. Describes properties of a target of a request.
.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To to = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the to field is set. |