Interface CreateGatewaySecurityPolicyRuleRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CreateGatewaySecurityPolicyRuleRequest, CreateGatewaySecurityPolicyRuleRequest.Builder

@Generated public interface CreateGatewaySecurityPolicyRuleRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getParent

      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:
      The parent.
    • getParentBytes

      com.google.protobuf.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:
      The bytes for parent.
    • hasGatewaySecurityPolicyRule

      boolean hasGatewaySecurityPolicyRule()
       Required. The rule to be created.
       
      .google.cloud.networksecurity.v1.GatewaySecurityPolicyRule gateway_security_policy_rule = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the gatewaySecurityPolicyRule field is set.
    • getGatewaySecurityPolicyRule

      GatewaySecurityPolicyRule getGatewaySecurityPolicyRule()
       Required. The rule to be created.
       
      .google.cloud.networksecurity.v1.GatewaySecurityPolicyRule gateway_security_policy_rule = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The gatewaySecurityPolicyRule.
    • getGatewaySecurityPolicyRuleOrBuilder

      GatewaySecurityPolicyRuleOrBuilder getGatewaySecurityPolicyRuleOrBuilder()
       Required. The rule to be created.
       
      .google.cloud.networksecurity.v1.GatewaySecurityPolicyRule gateway_security_policy_rule = 2 [(.google.api.field_behavior) = REQUIRED];
    • getGatewaySecurityPolicyRuleId

      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][0-9]-/.
       
      string gateway_security_policy_rule_id = 3;
      Returns:
      The gatewaySecurityPolicyRuleId.
    • getGatewaySecurityPolicyRuleIdBytes

      com.google.protobuf.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][0-9]-/.
       
      string gateway_security_policy_rule_id = 3;
      Returns:
      The bytes for gatewaySecurityPolicyRuleId.