GoogleCloudApigeeV1SecurityActionConditionConfig class
The following are a list of conditions.
A valid SecurityAction must contain at least one condition. Within a condition, each element is ORed. Across conditions elements are ANDed. For example if a SecurityAction has the following: ip_address_ranges: ["ip1", "ip2"] and bot_reasons: ["Flooder", "Robot Abuser"] then this is interpreted as: enforce the action if the incoming request has ((ip_address_ranges = "ip1" OR ip_address_ranges = "ip2") AND (bot_reasons="Flooder" OR bot_reasons="Robot Abuser")). Conditions other than ip_address_ranges and bot_reasons cannot be ANDed.
Constructors
-
GoogleCloudApigeeV1SecurityActionConditionConfig({List<
String> ? accessTokens, List<String> ? apiKeys, List<String> ? apiProducts, List<String> ? asns, List<String> ? botReasons, List<String> ? developerApps, List<String> ? developers, List<String> ? httpMethods, List<String> ? ipAddressRanges, List<String> ? regionCodes, List<String> ? userAgents}) - GoogleCloudApigeeV1SecurityActionConditionConfig.fromJson(Map json_)
Properties
-
accessTokens
↔ List<
String> ? -
A list of access_tokens.
getter/setter pair
-
apiKeys
↔ List<
String> ? -
A list of API keys.
getter/setter pair
-
apiProducts
↔ List<
String> ? -
A list of API Products.
getter/setter pair
-
asns
↔ List<
String> ? -
A list of ASN numbers to act on, e.g. 23.
getter/setter pair
-
botReasons
↔ List<
String> ? -
A list of Bot Reasons.
getter/setter pair
-
developerApps
↔ List<
String> ? -
A list of developer apps.
getter/setter pair
-
developers
↔ List<
String> ? -
A list of developers.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
httpMethods
↔ List<
String> ? -
Act only on particular HTTP methods.
getter/setter pair
-
ipAddressRanges
↔ List<
String> ? -
A list of IP addresses.
getter/setter pair
-
regionCodes
↔ List<
String> ? -
A list of countries/region codes to act on, e.g. US.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
userAgents
↔ List<
String> ? -
A list of user agents to deny.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited