public final class SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig() |
Modifier and Type | Method and Description |
---|---|
SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig |
clone() |
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.
|
String |
getEnforceOnKeyType()
Determines the key to enforce the rate_limit_threshold on.
|
SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig |
set(String fieldName,
Object value) |
SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig |
setEnforceOnKeyName(String enforceOnKeyName)
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.
|
SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig |
setEnforceOnKeyType(String enforceOnKeyType)
Determines the key to enforce the rate_limit_threshold on.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig()
public String getEnforceOnKeyName()
null
for nonepublic SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig setEnforceOnKeyName(String enforceOnKeyName)
enforceOnKeyName
- enforceOnKeyName or null
for nonepublic String getEnforceOnKeyType()
null
for nonepublic SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig setEnforceOnKeyType(String enforceOnKeyType)
enforceOnKeyType
- enforceOnKeyType or null
for nonepublic SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public SecurityPolicyRuleRateLimitOptionsEnforceOnKeyConfig clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.