Class SecurityPolicyRuleRateLimitOptions.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SecurityPolicyRuleRateLimitOptions.Builder>
com.google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptions.Builder
All Implemented Interfaces:
SecurityPolicyRuleRateLimitOptionsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SecurityPolicyRuleRateLimitOptions

public static final class SecurityPolicyRuleRateLimitOptions.Builder extends com.google.protobuf.GeneratedMessage.Builder<SecurityPolicyRuleRateLimitOptions.Builder> implements SecurityPolicyRuleRateLimitOptionsOrBuilder
 
Protobuf type google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptions
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<SecurityPolicyRuleRateLimitOptions.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<SecurityPolicyRuleRateLimitOptions.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<SecurityPolicyRuleRateLimitOptions.Builder>
    • getDefaultInstanceForType

      public SecurityPolicyRuleRateLimitOptions getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public SecurityPolicyRuleRateLimitOptions buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public SecurityPolicyRuleRateLimitOptions.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SecurityPolicyRuleRateLimitOptions.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<SecurityPolicyRuleRateLimitOptions.Builder>
    • mergeFrom

      public SecurityPolicyRuleRateLimitOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SecurityPolicyRuleRateLimitOptions.Builder>
      Throws:
      IOException
    • hasBanDurationSec

      public boolean hasBanDurationSec()
       Can only be specified if the action for the rule is
       "rate_based_ban". If specified, determines the time (in seconds)
       the traffic will continue to be banned by the rate limit after the
       rate falls below the threshold.
       
      optional int32 ban_duration_sec = 42896726;
      Specified by:
      hasBanDurationSec in interface SecurityPolicyRuleRateLimitOptionsOrBuilder
      Returns:
      Whether the banDurationSec field is set.
    • getBanDurationSec

      public int getBanDurationSec()
       Can only be specified if the action for the rule is
       "rate_based_ban". If specified, determines the time (in seconds)
       the traffic will continue to be banned by the rate limit after the
       rate falls below the threshold.
       
      optional int32 ban_duration_sec = 42896726;
      Specified by:
      getBanDurationSec in interface SecurityPolicyRuleRateLimitOptionsOrBuilder
      Returns:
      The banDurationSec.
    • setBanDurationSec

      public SecurityPolicyRuleRateLimitOptions.Builder setBanDurationSec(int value)
       Can only be specified if the action for the rule is
       "rate_based_ban". If specified, determines the time (in seconds)
       the traffic will continue to be banned by the rate limit after the
       rate falls below the threshold.
       
      optional int32 ban_duration_sec = 42896726;
      Parameters:
      value - The banDurationSec to set.
      Returns:
      This builder for chaining.
    • clearBanDurationSec

      public SecurityPolicyRuleRateLimitOptions.Builder clearBanDurationSec()
       Can only be specified if the action for the rule is
       "rate_based_ban". If specified, determines the time (in seconds)
       the traffic will continue to be banned by the rate limit after the
       rate falls below the threshold.
       
      optional int32 ban_duration_sec = 42896726;
      Returns:
      This builder for chaining.
    • hasBanThreshold

      public boolean hasBanThreshold()
       Can only be specified if the action for the rule is
       "rate_based_ban". If specified, the key will be banned for the
       configured 'ban_duration_sec' when the number of requests that exceed
       the 'rate_limit_threshold' also exceed this 'ban_threshold'.
       
      optional .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsThreshold ban_threshold = 501208123;
      Specified by:
      hasBanThreshold in interface SecurityPolicyRuleRateLimitOptionsOrBuilder
      Returns:
      Whether the banThreshold field is set.
    • getBanThreshold

       Can only be specified if the action for the rule is
       "rate_based_ban". If specified, the key will be banned for the
       configured 'ban_duration_sec' when the number of requests that exceed
       the 'rate_limit_threshold' also exceed this 'ban_threshold'.
       
      optional .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsThreshold ban_threshold = 501208123;
      Specified by:
      getBanThreshold in interface SecurityPolicyRuleRateLimitOptionsOrBuilder
      Returns:
      The banThreshold.
    • setBanThreshold

       Can only be specified if the action for the rule is
       "rate_based_ban". If specified, the key will be banned for the
       configured 'ban_duration_sec' when the number of requests that exceed
       the 'rate_limit_threshold' also exceed this 'ban_threshold'.
       
      optional .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsThreshold ban_threshold = 501208123;
    • setBanThreshold

       Can only be specified if the action for the rule is
       "rate_based_ban". If specified, the key will be banned for the
       configured 'ban_duration_sec' when the number of requests that exceed
       the 'rate_limit_threshold' also exceed this 'ban_threshold'.
       
      optional .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsThreshold ban_threshold = 501208123;
    • mergeBanThreshold

       Can only be specified if the action for the rule is
       "rate_based_ban". If specified, the key will be banned for the
       configured 'ban_duration_sec' when the number of requests that exceed
       the 'rate_limit_threshold' also exceed this 'ban_threshold'.
       
      optional .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsThreshold ban_threshold = 501208123;
    • clearBanThreshold

      public SecurityPolicyRuleRateLimitOptions.Builder clearBanThreshold()
       Can only be specified if the action for the rule is
       "rate_based_ban". If specified, the key will be banned for the
       configured 'ban_duration_sec' when the number of requests that exceed
       the 'rate_limit_threshold' also exceed this 'ban_threshold'.
       
      optional .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsThreshold ban_threshold = 501208123;
    • getBanThresholdBuilder

      public SecurityPolicyRuleRateLimitOptionsThreshold.Builder getBanThresholdBuilder()
       Can only be specified if the action for the rule is
       "rate_based_ban". If specified, the key will be banned for the
       configured 'ban_duration_sec' when the number of requests that exceed
       the 'rate_limit_threshold' also exceed this 'ban_threshold'.
       
      optional .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsThreshold ban_threshold = 501208123;
    • getBanThresholdOrBuilder

      public SecurityPolicyRuleRateLimitOptionsThresholdOrBuilder getBanThresholdOrBuilder()
       Can only be specified if the action for the rule is
       "rate_based_ban". If specified, the key will be banned for the
       configured 'ban_duration_sec' when the number of requests that exceed
       the 'rate_limit_threshold' also exceed this 'ban_threshold'.
       
      optional .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsThreshold ban_threshold = 501208123;
      Specified by:
      getBanThresholdOrBuilder in interface SecurityPolicyRuleRateLimitOptionsOrBuilder
    • hasConformAction

      public boolean hasConformAction()
       Action to take for requests that are under the configured rate limit
       threshold. Valid option is "allow" only.
       
      optional string conform_action = 517612367;
      Specified by:
      hasConformAction in interface SecurityPolicyRuleRateLimitOptionsOrBuilder
      Returns:
      Whether the conformAction field is set.
    • getConformAction

      public String getConformAction()
       Action to take for requests that are under the configured rate limit
       threshold. Valid option is "allow" only.
       
      optional string conform_action = 517612367;
      Specified by:
      getConformAction in interface SecurityPolicyRuleRateLimitOptionsOrBuilder
      Returns:
      The conformAction.
    • getConformActionBytes

      public com.google.protobuf.ByteString getConformActionBytes()
       Action to take for requests that are under the configured rate limit
       threshold. Valid option is "allow" only.
       
      optional string conform_action = 517612367;
      Specified by:
      getConformActionBytes in interface SecurityPolicyRuleRateLimitOptionsOrBuilder
      Returns:
      The bytes for conformAction.
    • setConformAction

      public SecurityPolicyRuleRateLimitOptions.Builder setConformAction(String value)
       Action to take for requests that are under the configured rate limit
       threshold. Valid option is "allow" only.
       
      optional string conform_action = 517612367;
      Parameters:
      value - The conformAction to set.
      Returns:
      This builder for chaining.
    • clearConformAction

      public SecurityPolicyRuleRateLimitOptions.Builder clearConformAction()
       Action to take for requests that are under the configured rate limit
       threshold. Valid option is "allow" only.
       
      optional string conform_action = 517612367;
      Returns:
      This builder for chaining.
    • setConformActionBytes

      public SecurityPolicyRuleRateLimitOptions.Builder setConformActionBytes(com.google.protobuf.ByteString value)
       Action to take for requests that are under the configured rate limit
       threshold. Valid option is "allow" only.
       
      optional string conform_action = 517612367;
      Parameters:
      value - The bytes for conformAction to set.
      Returns:
      This builder for chaining.
    • hasEnforceOnKey

      public boolean hasEnforceOnKey()
       Determines the key to enforce the rate_limit_threshold on. Possible
       values are:
      
       - ALL: A single rate limit threshold is applied to all
       the requests matching this rule. This is the default value if
       "enforceOnKey" is not configured.
       - IP: The source IP address of
       the request is the key. Each IP has this limit enforced
       separately.
       - HTTP_HEADER: The value of the HTTP
       header whose name is configured under "enforceOnKeyName". The key
       value is truncated to the first 128 bytes of the header value. If no
       such header is present in the request, the key type defaults toALL.
       - XFF_IP: The first IP address (i.e. the
       originating client IP address) specified in the list of IPs under
       X-Forwarded-For HTTP header. If no such header is present or the value
       is not a valid IP, the key defaults to the source IP address of
       the request i.e. key type IP.
       - HTTP_COOKIE: The value of the HTTP
       cookie whose name is configured under "enforceOnKeyName". The key
       value is truncated to the first 128 bytes of the cookie value. If no
       such cookie is present in the request, the key type defaults toALL.
       - HTTP_PATH: The URL path of the HTTP request. The key
       value is truncated to the first 128 bytes.
       - SNI: Server name indication in the TLS session of the
       HTTPS request. The key value is truncated to the first 128 bytes. The
       key type defaults to ALL on a HTTP session.
       - REGION_CODE: The country/region from which the request
       originates.
       - TLS_JA3_FINGERPRINT: JA3 TLS/SSL fingerprint if the
       client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the
       key type defaults to ALL.
       - USER_IP: The IP address of the originating client,
       which is resolved based on "userIpRequestHeaders" configured with the
       security policy. If there is no "userIpRequestHeaders" configuration or
       an IP address cannot be resolved from it, the key type defaults toIP.
      
       - TLS_JA4_FINGERPRINT: JA4 TLS/SSL fingerprint if the
       client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the
       key type defaults to ALL.
       For "fairshare" action, this value is limited to ALL i.e. a single rate
       limit threshold is enforced for all the requests matching the rule.
       Check the EnforceOnKey enum for the list of possible values.
       
      optional string enforce_on_key = 416648956;
      Specified by:
      hasEnforceOnKey in interface SecurityPolicyRuleRateLimitOptionsOrBuilder
      Returns:
      Whether the enforceOnKey field is set.
    • getEnforceOnKey

      public String getEnforceOnKey()
       Determines the key to enforce the rate_limit_threshold on. Possible
       values are:
      
       - ALL: A single rate limit threshold is applied to all
       the requests matching this rule. This is the default value if
       "enforceOnKey" is not configured.
       - IP: The source IP address of
       the request is the key. Each IP has this limit enforced
       separately.
       - HTTP_HEADER: The value of the HTTP
       header whose name is configured under "enforceOnKeyName". The key
       value is truncated to the first 128 bytes of the header value. If no
       such header is present in the request, the key type defaults toALL.
       - XFF_IP: The first IP address (i.e. the
       originating client IP address) specified in the list of IPs under
       X-Forwarded-For HTTP header. If no such header is present or the value
       is not a valid IP, the key defaults to the source IP address of
       the request i.e. key type IP.
       - HTTP_COOKIE: The value of the HTTP
       cookie whose name is configured under "enforceOnKeyName". The key
       value is truncated to the first 128 bytes of the cookie value. If no
       such cookie is present in the request, the key type defaults toALL.
       - HTTP_PATH: The URL path of the HTTP request. The key
       value is truncated to the first 128 bytes.
       - SNI: Server name indication in the TLS session of the
       HTTPS request. The key value is truncated to the first 128 bytes. The
       key type defaults to ALL on a HTTP session.
       - REGION_CODE: The country/region from which the request
       originates.
       - TLS_JA3_FINGERPRINT: JA3 TLS/SSL fingerprint if the
       client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the
       key type defaults to ALL.
       - USER_IP: The IP address of the originating client,
       which is resolved based on "userIpRequestHeaders" configured with the
       security policy. If there is no "userIpRequestHeaders" configuration or
       an IP address cannot be resolved from it, the key type defaults toIP.
      
       - TLS_JA4_FINGERPRINT: JA4 TLS/SSL fingerprint if the
       client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the
       key type defaults to ALL.
       For "fairshare" action, this value is limited to ALL i.e. a single rate
       limit threshold is enforced for all the requests matching the rule.
       Check the EnforceOnKey enum for the list of possible values.
       
      optional string enforce_on_key = 416648956;
      Specified by:
      getEnforceOnKey in interface SecurityPolicyRuleRateLimitOptionsOrBuilder
      Returns:
      The enforceOnKey.
    • getEnforceOnKeyBytes

      public com.google.protobuf.ByteString getEnforceOnKeyBytes()
       Determines the key to enforce the rate_limit_threshold on. Possible
       values are:
      
       - ALL: A single rate limit threshold is applied to all
       the requests matching this rule. This is the default value if
       "enforceOnKey" is not configured.
       - IP: The source IP address of
       the request is the key. Each IP has this limit enforced
       separately.
       - HTTP_HEADER: The value of the HTTP
       header whose name is configured under "enforceOnKeyName". The key
       value is truncated to the first 128 bytes of the header value. If no
       such header is present in the request, the key type defaults toALL.
       - XFF_IP: The first IP address (i.e. the
       originating client IP address) specified in the list of IPs under
       X-Forwarded-For HTTP header. If no such header is present or the value
       is not a valid IP, the key defaults to the source IP address of
       the request i.e. key type IP.
       - HTTP_COOKIE: The value of the HTTP
       cookie whose name is configured under "enforceOnKeyName". The key
       value is truncated to the first 128 bytes of the cookie value. If no
       such cookie is present in the request, the key type defaults toALL.
       - HTTP_PATH: The URL path of the HTTP request. The key
       value is truncated to the first 128 bytes.
       - SNI: Server name indication in the TLS session of the
       HTTPS request. The key value is truncated to the first 128 bytes. The
       key type defaults to ALL on a HTTP session.
       - REGION_CODE: The country/region from which the request
       originates.
       - TLS_JA3_FINGERPRINT: JA3 TLS/SSL fingerprint if the
       client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the
       key type defaults to ALL.
       - USER_IP: The IP address of the originating client,
       which is resolved based on "userIpRequestHeaders" configured with the
       security policy. If there is no "userIpRequestHeaders" configuration or
       an IP address cannot be resolved from it, the key type defaults toIP.
      
       - TLS_JA4_FINGERPRINT: JA4 TLS/SSL fingerprint if the
       client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the
       key type defaults to ALL.
       For "fairshare" action, this value is limited to ALL i.e. a single rate
       limit threshold is enforced for all the requests matching the rule.
       Check the EnforceOnKey enum for the list of possible values.
       
      optional string enforce_on_key = 416648956;
      Specified by:
      getEnforceOnKeyBytes in interface SecurityPolicyRuleRateLimitOptionsOrBuilder
      Returns:
      The bytes for enforceOnKey.
    • setEnforceOnKey

      public SecurityPolicyRuleRateLimitOptions.Builder setEnforceOnKey(String value)
       Determines the key to enforce the rate_limit_threshold on. Possible
       values are:
      
       - ALL: A single rate limit threshold is applied to all
       the requests matching this rule. This is the default value if
       "enforceOnKey" is not configured.
       - IP: The source IP address of
       the request is the key. Each IP has this limit enforced
       separately.
       - HTTP_HEADER: The value of the HTTP
       header whose name is configured under "enforceOnKeyName". The key
       value is truncated to the first 128 bytes of the header value. If no
       such header is present in the request, the key type defaults toALL.
       - XFF_IP: The first IP address (i.e. the
       originating client IP address) specified in the list of IPs under
       X-Forwarded-For HTTP header. If no such header is present or the value
       is not a valid IP, the key defaults to the source IP address of
       the request i.e. key type IP.
       - HTTP_COOKIE: The value of the HTTP
       cookie whose name is configured under "enforceOnKeyName". The key
       value is truncated to the first 128 bytes of the cookie value. If no
       such cookie is present in the request, the key type defaults toALL.
       - HTTP_PATH: The URL path of the HTTP request. The key
       value is truncated to the first 128 bytes.
       - SNI: Server name indication in the TLS session of the
       HTTPS request. The key value is truncated to the first 128 bytes. The
       key type defaults to ALL on a HTTP session.
       - REGION_CODE: The country/region from which the request
       originates.
       - TLS_JA3_FINGERPRINT: JA3 TLS/SSL fingerprint if the
       client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the
       key type defaults to ALL.
       - USER_IP: The IP address of the originating client,
       which is resolved based on "userIpRequestHeaders" configured with the
       security policy. If there is no "userIpRequestHeaders" configuration or
       an IP address cannot be resolved from it, the key type defaults toIP.
      
       - TLS_JA4_FINGERPRINT: JA4 TLS/SSL fingerprint if the
       client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the
       key type defaults to ALL.
       For "fairshare" action, this value is limited to ALL i.e. a single rate
       limit threshold is enforced for all the requests matching the rule.
       Check the EnforceOnKey enum for the list of possible values.
       
      optional string enforce_on_key = 416648956;
      Parameters:
      value - The enforceOnKey to set.
      Returns:
      This builder for chaining.
    • clearEnforceOnKey

      public SecurityPolicyRuleRateLimitOptions.Builder clearEnforceOnKey()
       Determines the key to enforce the rate_limit_threshold on. Possible
       values are:
      
       - ALL: A single rate limit threshold is applied to all
       the requests matching this rule. This is the default value if
       "enforceOnKey" is not configured.
       - IP: The source IP address of
       the request is the key. Each IP has this limit enforced
       separately.
       - HTTP_HEADER: The value of the HTTP
       header whose name is configured under "enforceOnKeyName". The key
       value is truncated to the first 128 bytes of the header value. If no
       such header is present in the request, the key type defaults toALL.
       - XFF_IP: The first IP address (i.e. the
       originating client IP address) specified in the list of IPs under
       X-Forwarded-For HTTP header. If no such header is present or the value
       is not a valid IP, the key defaults to the source IP address of
       the request i.e. key type IP.
       - HTTP_COOKIE: The value of the HTTP
       cookie whose name is configured under "enforceOnKeyName". The key
       value is truncated to the first 128 bytes of the cookie value. If no
       such cookie is present in the request, the key type defaults toALL.
       - HTTP_PATH: The URL path of the HTTP request. The key
       value is truncated to the first 128 bytes.
       - SNI: Server name indication in the TLS session of the
       HTTPS request. The key value is truncated to the first 128 bytes. The
       key type defaults to ALL on a HTTP session.
       - REGION_CODE: The country/region from which the request
       originates.
       - TLS_JA3_FINGERPRINT: JA3 TLS/SSL fingerprint if the
       client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the
       key type defaults to ALL.
       - USER_IP: The IP address of the originating client,
       which is resolved based on "userIpRequestHeaders" configured with the
       security policy. If there is no "userIpRequestHeaders" configuration or
       an IP address cannot be resolved from it, the key type defaults toIP.
      
       - TLS_JA4_FINGERPRINT: JA4 TLS/SSL fingerprint if the
       client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the
       key type defaults to ALL.
       For "fairshare" action, this value is limited to ALL i.e. a single rate
       limit threshold is enforced for all the requests matching the rule.
       Check the EnforceOnKey enum for the list of possible values.
       
      optional string enforce_on_key = 416648956;
      Returns:
      This builder for chaining.
    • setEnforceOnKeyBytes

      public SecurityPolicyRuleRateLimitOptions.Builder setEnforceOnKeyBytes(com.google.protobuf.ByteString value)
       Determines the key to enforce the rate_limit_threshold on. Possible
       values are:
      
       - ALL: A single rate limit threshold is applied to all
       the requests matching this rule. This is the default value if
       "enforceOnKey" is not configured.
       - IP: The source IP address of
       the request is the key. Each IP has this limit enforced
       separately.
       - HTTP_HEADER: The value of the HTTP
       header whose name is configured under "enforceOnKeyName". The key
       value is truncated to the first 128 bytes of the header value. If no
       such header is present in the request, the key type defaults toALL.
       - XFF_IP: The first IP address (i.e. the
       originating client IP address) specified in the list of IPs under
       X-Forwarded-For HTTP header. If no such header is present or the value
       is not a valid IP, the key defaults to the source IP address of
       the request i.e. key type IP.
       - HTTP_COOKIE: The value of the HTTP
       cookie whose name is configured under "enforceOnKeyName". The key
       value is truncated to the first 128 bytes of the cookie value. If no
       such cookie is present in the request, the key type defaults toALL.
       - HTTP_PATH: The URL path of the HTTP request. The key
       value is truncated to the first 128 bytes.
       - SNI: Server name indication in the TLS session of the
       HTTPS request. The key value is truncated to the first 128 bytes. The
       key type defaults to ALL on a HTTP session.
       - REGION_CODE: The country/region from which the request
       originates.
       - TLS_JA3_FINGERPRINT: JA3 TLS/SSL fingerprint if the
       client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the
       key type defaults to ALL.
       - USER_IP: The IP address of the originating client,
       which is resolved based on "userIpRequestHeaders" configured with the
       security policy. If there is no "userIpRequestHeaders" configuration or
       an IP address cannot be resolved from it, the key type defaults toIP.
      
       - TLS_JA4_FINGERPRINT: JA4 TLS/SSL fingerprint if the
       client connects using HTTPS, HTTP/2 or HTTP/3. If not available, the
       key type defaults to ALL.
       For "fairshare" action, this value is limited to ALL i.e. a single rate
       limit threshold is enforced for all the requests matching the rule.
       Check the EnforceOnKey enum for the list of possible values.
       
      optional string enforce_on_key = 416648956;
      Parameters:
      value - The bytes for enforceOnKey to set.
      Returns:
      This builder for chaining.
    • getEnforceOnKeyConfigsList

      public List<SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig> getEnforceOnKeyConfigsList()
       If specified, any combination of values of
       enforce_on_key_type/enforce_on_key_name is treated as the key on which
       ratelimit threshold/action is enforced. You can specify up to 3
       enforce_on_key_configs. If enforce_on_key_configs is specified,
       enforce_on_key must not be specified.
       
      repeated .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig enforce_on_key_configs = 33906478;
      Specified by:
      getEnforceOnKeyConfigsList in interface SecurityPolicyRuleRateLimitOptionsOrBuilder
    • getEnforceOnKeyConfigsCount

      public int getEnforceOnKeyConfigsCount()
       If specified, any combination of values of
       enforce_on_key_type/enforce_on_key_name is treated as the key on which
       ratelimit threshold/action is enforced. You can specify up to 3
       enforce_on_key_configs. If enforce_on_key_configs is specified,
       enforce_on_key must not be specified.
       
      repeated .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig enforce_on_key_configs = 33906478;
      Specified by:
      getEnforceOnKeyConfigsCount in interface SecurityPolicyRuleRateLimitOptionsOrBuilder
    • getEnforceOnKeyConfigs

      public SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig getEnforceOnKeyConfigs(int index)
       If specified, any combination of values of
       enforce_on_key_type/enforce_on_key_name is treated as the key on which
       ratelimit threshold/action is enforced. You can specify up to 3
       enforce_on_key_configs. If enforce_on_key_configs is specified,
       enforce_on_key must not be specified.
       
      repeated .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig enforce_on_key_configs = 33906478;
      Specified by:
      getEnforceOnKeyConfigs in interface SecurityPolicyRuleRateLimitOptionsOrBuilder
    • setEnforceOnKeyConfigs

       If specified, any combination of values of
       enforce_on_key_type/enforce_on_key_name is treated as the key on which
       ratelimit threshold/action is enforced. You can specify up to 3
       enforce_on_key_configs. If enforce_on_key_configs is specified,
       enforce_on_key must not be specified.
       
      repeated .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig enforce_on_key_configs = 33906478;
    • setEnforceOnKeyConfigs

       If specified, any combination of values of
       enforce_on_key_type/enforce_on_key_name is treated as the key on which
       ratelimit threshold/action is enforced. You can specify up to 3
       enforce_on_key_configs. If enforce_on_key_configs is specified,
       enforce_on_key must not be specified.
       
      repeated .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig enforce_on_key_configs = 33906478;
    • addEnforceOnKeyConfigs

       If specified, any combination of values of
       enforce_on_key_type/enforce_on_key_name is treated as the key on which
       ratelimit threshold/action is enforced. You can specify up to 3
       enforce_on_key_configs. If enforce_on_key_configs is specified,
       enforce_on_key must not be specified.
       
      repeated .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig enforce_on_key_configs = 33906478;
    • addEnforceOnKeyConfigs

       If specified, any combination of values of
       enforce_on_key_type/enforce_on_key_name is treated as the key on which
       ratelimit threshold/action is enforced. You can specify up to 3
       enforce_on_key_configs. If enforce_on_key_configs is specified,
       enforce_on_key must not be specified.
       
      repeated .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig enforce_on_key_configs = 33906478;
    • addEnforceOnKeyConfigs

       If specified, any combination of values of
       enforce_on_key_type/enforce_on_key_name is treated as the key on which
       ratelimit threshold/action is enforced. You can specify up to 3
       enforce_on_key_configs. If enforce_on_key_configs is specified,
       enforce_on_key must not be specified.
       
      repeated .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig enforce_on_key_configs = 33906478;
    • addEnforceOnKeyConfigs

       If specified, any combination of values of
       enforce_on_key_type/enforce_on_key_name is treated as the key on which
       ratelimit threshold/action is enforced. You can specify up to 3
       enforce_on_key_configs. If enforce_on_key_configs is specified,
       enforce_on_key must not be specified.
       
      repeated .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig enforce_on_key_configs = 33906478;
    • addAllEnforceOnKeyConfigs

       If specified, any combination of values of
       enforce_on_key_type/enforce_on_key_name is treated as the key on which
       ratelimit threshold/action is enforced. You can specify up to 3
       enforce_on_key_configs. If enforce_on_key_configs is specified,
       enforce_on_key must not be specified.
       
      repeated .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig enforce_on_key_configs = 33906478;
    • clearEnforceOnKeyConfigs

      public SecurityPolicyRuleRateLimitOptions.Builder clearEnforceOnKeyConfigs()
       If specified, any combination of values of
       enforce_on_key_type/enforce_on_key_name is treated as the key on which
       ratelimit threshold/action is enforced. You can specify up to 3
       enforce_on_key_configs. If enforce_on_key_configs is specified,
       enforce_on_key must not be specified.
       
      repeated .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig enforce_on_key_configs = 33906478;
    • removeEnforceOnKeyConfigs

      public SecurityPolicyRuleRateLimitOptions.Builder removeEnforceOnKeyConfigs(int index)
       If specified, any combination of values of
       enforce_on_key_type/enforce_on_key_name is treated as the key on which
       ratelimit threshold/action is enforced. You can specify up to 3
       enforce_on_key_configs. If enforce_on_key_configs is specified,
       enforce_on_key must not be specified.
       
      repeated .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig enforce_on_key_configs = 33906478;
    • getEnforceOnKeyConfigsBuilder

      public SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig.Builder getEnforceOnKeyConfigsBuilder(int index)
       If specified, any combination of values of
       enforce_on_key_type/enforce_on_key_name is treated as the key on which
       ratelimit threshold/action is enforced. You can specify up to 3
       enforce_on_key_configs. If enforce_on_key_configs is specified,
       enforce_on_key must not be specified.
       
      repeated .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig enforce_on_key_configs = 33906478;
    • getEnforceOnKeyConfigsOrBuilder

      public SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigOrBuilder getEnforceOnKeyConfigsOrBuilder(int index)
       If specified, any combination of values of
       enforce_on_key_type/enforce_on_key_name is treated as the key on which
       ratelimit threshold/action is enforced. You can specify up to 3
       enforce_on_key_configs. If enforce_on_key_configs is specified,
       enforce_on_key must not be specified.
       
      repeated .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig enforce_on_key_configs = 33906478;
      Specified by:
      getEnforceOnKeyConfigsOrBuilder in interface SecurityPolicyRuleRateLimitOptionsOrBuilder
    • getEnforceOnKeyConfigsOrBuilderList

      public List<? extends SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfigOrBuilder> getEnforceOnKeyConfigsOrBuilderList()
       If specified, any combination of values of
       enforce_on_key_type/enforce_on_key_name is treated as the key on which
       ratelimit threshold/action is enforced. You can specify up to 3
       enforce_on_key_configs. If enforce_on_key_configs is specified,
       enforce_on_key must not be specified.
       
      repeated .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig enforce_on_key_configs = 33906478;
      Specified by:
      getEnforceOnKeyConfigsOrBuilderList in interface SecurityPolicyRuleRateLimitOptionsOrBuilder
    • addEnforceOnKeyConfigsBuilder

      public SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig.Builder addEnforceOnKeyConfigsBuilder()
       If specified, any combination of values of
       enforce_on_key_type/enforce_on_key_name is treated as the key on which
       ratelimit threshold/action is enforced. You can specify up to 3
       enforce_on_key_configs. If enforce_on_key_configs is specified,
       enforce_on_key must not be specified.
       
      repeated .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig enforce_on_key_configs = 33906478;
    • addEnforceOnKeyConfigsBuilder

      public SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig.Builder addEnforceOnKeyConfigsBuilder(int index)
       If specified, any combination of values of
       enforce_on_key_type/enforce_on_key_name is treated as the key on which
       ratelimit threshold/action is enforced. You can specify up to 3
       enforce_on_key_configs. If enforce_on_key_configs is specified,
       enforce_on_key must not be specified.
       
      repeated .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig enforce_on_key_configs = 33906478;
    • getEnforceOnKeyConfigsBuilderList

      public List<SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig.Builder> getEnforceOnKeyConfigsBuilderList()
       If specified, any combination of values of
       enforce_on_key_type/enforce_on_key_name is treated as the key on which
       ratelimit threshold/action is enforced. You can specify up to 3
       enforce_on_key_configs. If enforce_on_key_configs is specified,
       enforce_on_key must not be specified.
       
      repeated .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig enforce_on_key_configs = 33906478;
    • hasEnforceOnKeyName

      public boolean hasEnforceOnKeyName()
       Rate limit key name applicable only for the following key types:
       HTTP_HEADER -- Name of the HTTP header whose value is taken as the key
       value.
       HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key
       value.
       
      optional string enforce_on_key_name = 132555246;
      Specified by:
      hasEnforceOnKeyName in interface SecurityPolicyRuleRateLimitOptionsOrBuilder
      Returns:
      Whether the enforceOnKeyName field is set.
    • getEnforceOnKeyName

      public String getEnforceOnKeyName()
       Rate limit key name applicable only for the following key types:
       HTTP_HEADER -- Name of the HTTP header whose value is taken as the key
       value.
       HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key
       value.
       
      optional string enforce_on_key_name = 132555246;
      Specified by:
      getEnforceOnKeyName in interface SecurityPolicyRuleRateLimitOptionsOrBuilder
      Returns:
      The enforceOnKeyName.
    • getEnforceOnKeyNameBytes

      public com.google.protobuf.ByteString getEnforceOnKeyNameBytes()
       Rate limit key name applicable only for the following key types:
       HTTP_HEADER -- Name of the HTTP header whose value is taken as the key
       value.
       HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key
       value.
       
      optional string enforce_on_key_name = 132555246;
      Specified by:
      getEnforceOnKeyNameBytes in interface SecurityPolicyRuleRateLimitOptionsOrBuilder
      Returns:
      The bytes for enforceOnKeyName.
    • setEnforceOnKeyName

      public SecurityPolicyRuleRateLimitOptions.Builder setEnforceOnKeyName(String value)
       Rate limit key name applicable only for the following key types:
       HTTP_HEADER -- Name of the HTTP header whose value is taken as the key
       value.
       HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key
       value.
       
      optional string enforce_on_key_name = 132555246;
      Parameters:
      value - The enforceOnKeyName to set.
      Returns:
      This builder for chaining.
    • clearEnforceOnKeyName

      public SecurityPolicyRuleRateLimitOptions.Builder clearEnforceOnKeyName()
       Rate limit key name applicable only for the following key types:
       HTTP_HEADER -- Name of the HTTP header whose value is taken as the key
       value.
       HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key
       value.
       
      optional string enforce_on_key_name = 132555246;
      Returns:
      This builder for chaining.
    • setEnforceOnKeyNameBytes

      public SecurityPolicyRuleRateLimitOptions.Builder setEnforceOnKeyNameBytes(com.google.protobuf.ByteString value)
       Rate limit key name applicable only for the following key types:
       HTTP_HEADER -- Name of the HTTP header whose value is taken as the key
       value.
       HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key
       value.
       
      optional string enforce_on_key_name = 132555246;
      Parameters:
      value - The bytes for enforceOnKeyName to set.
      Returns:
      This builder for chaining.
    • hasExceedAction

      public boolean hasExceedAction()
       Action to take for requests that are above the configured rate limit
       threshold, to either deny with a specified HTTP response code, or
       redirect to a different endpoint.
       Valid options are `deny(STATUS)`, where valid values for
       `STATUS` are 403, 404, 429, and 502, and
       `redirect`, where the redirect parameters come from
       `exceedRedirectOptions` below.
       The `redirect` action is only supported in Global Security Policies of
       type CLOUD_ARMOR.
       
      optional string exceed_action = 167159073;
      Specified by:
      hasExceedAction in interface SecurityPolicyRuleRateLimitOptionsOrBuilder
      Returns:
      Whether the exceedAction field is set.
    • getExceedAction

      public String getExceedAction()
       Action to take for requests that are above the configured rate limit
       threshold, to either deny with a specified HTTP response code, or
       redirect to a different endpoint.
       Valid options are `deny(STATUS)`, where valid values for
       `STATUS` are 403, 404, 429, and 502, and
       `redirect`, where the redirect parameters come from
       `exceedRedirectOptions` below.
       The `redirect` action is only supported in Global Security Policies of
       type CLOUD_ARMOR.
       
      optional string exceed_action = 167159073;
      Specified by:
      getExceedAction in interface SecurityPolicyRuleRateLimitOptionsOrBuilder
      Returns:
      The exceedAction.
    • getExceedActionBytes

      public com.google.protobuf.ByteString getExceedActionBytes()
       Action to take for requests that are above the configured rate limit
       threshold, to either deny with a specified HTTP response code, or
       redirect to a different endpoint.
       Valid options are `deny(STATUS)`, where valid values for
       `STATUS` are 403, 404, 429, and 502, and
       `redirect`, where the redirect parameters come from
       `exceedRedirectOptions` below.
       The `redirect` action is only supported in Global Security Policies of
       type CLOUD_ARMOR.
       
      optional string exceed_action = 167159073;
      Specified by:
      getExceedActionBytes in interface SecurityPolicyRuleRateLimitOptionsOrBuilder
      Returns:
      The bytes for exceedAction.
    • setExceedAction

      public SecurityPolicyRuleRateLimitOptions.Builder setExceedAction(String value)
       Action to take for requests that are above the configured rate limit
       threshold, to either deny with a specified HTTP response code, or
       redirect to a different endpoint.
       Valid options are `deny(STATUS)`, where valid values for
       `STATUS` are 403, 404, 429, and 502, and
       `redirect`, where the redirect parameters come from
       `exceedRedirectOptions` below.
       The `redirect` action is only supported in Global Security Policies of
       type CLOUD_ARMOR.
       
      optional string exceed_action = 167159073;
      Parameters:
      value - The exceedAction to set.
      Returns:
      This builder for chaining.
    • clearExceedAction

      public SecurityPolicyRuleRateLimitOptions.Builder clearExceedAction()
       Action to take for requests that are above the configured rate limit
       threshold, to either deny with a specified HTTP response code, or
       redirect to a different endpoint.
       Valid options are `deny(STATUS)`, where valid values for
       `STATUS` are 403, 404, 429, and 502, and
       `redirect`, where the redirect parameters come from
       `exceedRedirectOptions` below.
       The `redirect` action is only supported in Global Security Policies of
       type CLOUD_ARMOR.
       
      optional string exceed_action = 167159073;
      Returns:
      This builder for chaining.
    • setExceedActionBytes

      public SecurityPolicyRuleRateLimitOptions.Builder setExceedActionBytes(com.google.protobuf.ByteString value)
       Action to take for requests that are above the configured rate limit
       threshold, to either deny with a specified HTTP response code, or
       redirect to a different endpoint.
       Valid options are `deny(STATUS)`, where valid values for
       `STATUS` are 403, 404, 429, and 502, and
       `redirect`, where the redirect parameters come from
       `exceedRedirectOptions` below.
       The `redirect` action is only supported in Global Security Policies of
       type CLOUD_ARMOR.
       
      optional string exceed_action = 167159073;
      Parameters:
      value - The bytes for exceedAction to set.
      Returns:
      This builder for chaining.
    • hasExceedRedirectOptions

      public boolean hasExceedRedirectOptions()
       Parameters defining the redirect action that is used as the exceed
       action. Cannot be specified if the exceed action is not redirect.
       This field is only supported in Global Security Policies of type
       CLOUD_ARMOR.
       
      optional .google.cloud.compute.v1.SecurityPolicyRuleRedirectOptions exceed_redirect_options = 473646694;
      Specified by:
      hasExceedRedirectOptions in interface SecurityPolicyRuleRateLimitOptionsOrBuilder
      Returns:
      Whether the exceedRedirectOptions field is set.
    • getExceedRedirectOptions

      public SecurityPolicyRuleRedirectOptions getExceedRedirectOptions()
       Parameters defining the redirect action that is used as the exceed
       action. Cannot be specified if the exceed action is not redirect.
       This field is only supported in Global Security Policies of type
       CLOUD_ARMOR.
       
      optional .google.cloud.compute.v1.SecurityPolicyRuleRedirectOptions exceed_redirect_options = 473646694;
      Specified by:
      getExceedRedirectOptions in interface SecurityPolicyRuleRateLimitOptionsOrBuilder
      Returns:
      The exceedRedirectOptions.
    • setExceedRedirectOptions

       Parameters defining the redirect action that is used as the exceed
       action. Cannot be specified if the exceed action is not redirect.
       This field is only supported in Global Security Policies of type
       CLOUD_ARMOR.
       
      optional .google.cloud.compute.v1.SecurityPolicyRuleRedirectOptions exceed_redirect_options = 473646694;
    • setExceedRedirectOptions

       Parameters defining the redirect action that is used as the exceed
       action. Cannot be specified if the exceed action is not redirect.
       This field is only supported in Global Security Policies of type
       CLOUD_ARMOR.
       
      optional .google.cloud.compute.v1.SecurityPolicyRuleRedirectOptions exceed_redirect_options = 473646694;
    • mergeExceedRedirectOptions

       Parameters defining the redirect action that is used as the exceed
       action. Cannot be specified if the exceed action is not redirect.
       This field is only supported in Global Security Policies of type
       CLOUD_ARMOR.
       
      optional .google.cloud.compute.v1.SecurityPolicyRuleRedirectOptions exceed_redirect_options = 473646694;
    • clearExceedRedirectOptions

      public SecurityPolicyRuleRateLimitOptions.Builder clearExceedRedirectOptions()
       Parameters defining the redirect action that is used as the exceed
       action. Cannot be specified if the exceed action is not redirect.
       This field is only supported in Global Security Policies of type
       CLOUD_ARMOR.
       
      optional .google.cloud.compute.v1.SecurityPolicyRuleRedirectOptions exceed_redirect_options = 473646694;
    • getExceedRedirectOptionsBuilder

      public SecurityPolicyRuleRedirectOptions.Builder getExceedRedirectOptionsBuilder()
       Parameters defining the redirect action that is used as the exceed
       action. Cannot be specified if the exceed action is not redirect.
       This field is only supported in Global Security Policies of type
       CLOUD_ARMOR.
       
      optional .google.cloud.compute.v1.SecurityPolicyRuleRedirectOptions exceed_redirect_options = 473646694;
    • getExceedRedirectOptionsOrBuilder

      public SecurityPolicyRuleRedirectOptionsOrBuilder getExceedRedirectOptionsOrBuilder()
       Parameters defining the redirect action that is used as the exceed
       action. Cannot be specified if the exceed action is not redirect.
       This field is only supported in Global Security Policies of type
       CLOUD_ARMOR.
       
      optional .google.cloud.compute.v1.SecurityPolicyRuleRedirectOptions exceed_redirect_options = 473646694;
      Specified by:
      getExceedRedirectOptionsOrBuilder in interface SecurityPolicyRuleRateLimitOptionsOrBuilder
    • hasRateLimitThreshold

      public boolean hasRateLimitThreshold()
       Threshold at which to begin ratelimiting.
       
      optional .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsThreshold rate_limit_threshold = 315875208;
      Specified by:
      hasRateLimitThreshold in interface SecurityPolicyRuleRateLimitOptionsOrBuilder
      Returns:
      Whether the rateLimitThreshold field is set.
    • getRateLimitThreshold

      public SecurityPolicyRuleRateLimitOptionsThreshold getRateLimitThreshold()
       Threshold at which to begin ratelimiting.
       
      optional .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsThreshold rate_limit_threshold = 315875208;
      Specified by:
      getRateLimitThreshold in interface SecurityPolicyRuleRateLimitOptionsOrBuilder
      Returns:
      The rateLimitThreshold.
    • setRateLimitThreshold

       Threshold at which to begin ratelimiting.
       
      optional .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsThreshold rate_limit_threshold = 315875208;
    • setRateLimitThreshold

       Threshold at which to begin ratelimiting.
       
      optional .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsThreshold rate_limit_threshold = 315875208;
    • mergeRateLimitThreshold

       Threshold at which to begin ratelimiting.
       
      optional .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsThreshold rate_limit_threshold = 315875208;
    • clearRateLimitThreshold

      public SecurityPolicyRuleRateLimitOptions.Builder clearRateLimitThreshold()
       Threshold at which to begin ratelimiting.
       
      optional .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsThreshold rate_limit_threshold = 315875208;
    • getRateLimitThresholdBuilder

      public SecurityPolicyRuleRateLimitOptionsThreshold.Builder getRateLimitThresholdBuilder()
       Threshold at which to begin ratelimiting.
       
      optional .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsThreshold rate_limit_threshold = 315875208;
    • getRateLimitThresholdOrBuilder

      public SecurityPolicyRuleRateLimitOptionsThresholdOrBuilder getRateLimitThresholdOrBuilder()
       Threshold at which to begin ratelimiting.
       
      optional .google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsThreshold rate_limit_threshold = 315875208;
      Specified by:
      getRateLimitThresholdOrBuilder in interface SecurityPolicyRuleRateLimitOptionsOrBuilder