@Generated(value="by GAPIC") @BetaApi public final class SecurityPolicyRule extends Object implements ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
SecurityPolicyRule.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getAction()
The Action to preform when the client connection triggers the rule.
|
ApiMessage |
getApiMessageRequestBody() |
static SecurityPolicyRule |
getDefaultInstance() |
String |
getDescription()
An optional description of this resource.
|
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
String |
getKind()
[Output only] Type of the resource.
|
SecurityPolicyRuleMatcher |
getMatch()
A match condition that incoming traffic is evaluated against.
|
Boolean |
getPreview()
If set to true, the specified action is not enforced.
|
Integer |
getPriority()
An integer indicating the priority of a rule in the list.
|
int |
hashCode() |
static SecurityPolicyRule.Builder |
newBuilder() |
static SecurityPolicyRule.Builder |
newBuilder(SecurityPolicyRule prototype) |
SecurityPolicyRule.Builder |
toBuilder() |
String |
toString() |
public Object getFieldValue(String fieldName)
getFieldValue
in interface ApiMessage
@Nullable public ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface ApiMessage
public String getAction()
public String getDescription()
public String getKind()
public SecurityPolicyRuleMatcher getMatch()
public Boolean getPreview()
public Integer getPriority()
public static SecurityPolicyRule.Builder newBuilder()
public static SecurityPolicyRule.Builder newBuilder(SecurityPolicyRule prototype)
public SecurityPolicyRule.Builder toBuilder()
public static SecurityPolicyRule getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.