public interface CreateGatewaySecurityPolicyRuleRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getGatewaySecurityPolicyRule()
public abstract GatewaySecurityPolicyRule getGatewaySecurityPolicyRule()Required. The rule to be created.
.google.cloud.networksecurity.v1.GatewaySecurityPolicyRule gateway_security_policy_rule = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GatewaySecurityPolicyRule |
The gatewaySecurityPolicyRule. |
getGatewaySecurityPolicyRuleId()
public abstract String getGatewaySecurityPolicyRuleId()The ID to use for the rule, which will become the final component of the rule's resource name. This value should be 4-63 characters, and valid characters are /a-z-/.
string gateway_security_policy_rule_id = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The gatewaySecurityPolicyRuleId. |
getGatewaySecurityPolicyRuleIdBytes()
public abstract ByteString getGatewaySecurityPolicyRuleIdBytes()The ID to use for the rule, which will become the final component of the rule's resource name. This value should be 4-63 characters, and valid characters are /a-z-/.
string gateway_security_policy_rule_id = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for gatewaySecurityPolicyRuleId. |
getGatewaySecurityPolicyRuleOrBuilder()
public abstract GatewaySecurityPolicyRuleOrBuilder getGatewaySecurityPolicyRuleOrBuilder()Required. The rule to be created.
.google.cloud.networksecurity.v1.GatewaySecurityPolicyRule gateway_security_policy_rule = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
GatewaySecurityPolicyRuleOrBuilder |
|
getParent()
public abstract String getParent()Required. The parent where this rule will be created. Format : projects/{project}/location/{location}/gatewaySecurityPolicies/*
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public abstract ByteString getParentBytes()Required. The parent where this rule will be created. Format : projects/{project}/location/{location}/gatewaySecurityPolicies/*
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasGatewaySecurityPolicyRule()
public abstract boolean hasGatewaySecurityPolicyRule()Required. The rule to be created.
.google.cloud.networksecurity.v1.GatewaySecurityPolicyRule gateway_security_policy_rule = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the gatewaySecurityPolicyRule field is set. |