![JAR search and dependency download from the Maven repository](/logo.png)
target.apidocs.com.google.api.services.compute.model.FirewallPolicyRuleMatcher.html Maven / Gradle / Ivy
FirewallPolicyRuleMatcher (Compute Engine API beta-rev20220726-2.0.0)
com.google.api.services.compute.model
Class FirewallPolicyRuleMatcher
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.compute.model.FirewallPolicyRuleMatcher
-
public final class FirewallPolicyRuleMatcher
extends GenericJson
Represents a match condition that incoming traffic is evaluated against. Exactly one field must
be specified.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
FirewallPolicyRuleMatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
FirewallPolicyRuleMatcher
clone()
List<String>
getDestAddressGroups()
Address groups which should be matched against the traffic destination.
List<String>
getDestIpRanges()
CIDR IP address range.
List<String>
getDestRegionCodes()
Region codes whose IP addresses will be used to match for destination of traffic.
List<String>
getDestThreatIntelligences()
Names of Network Threat Intelligence lists.
List<FirewallPolicyRuleMatcherLayer4Config>
getLayer4Configs()
Pairs of IP protocols and ports that the rule should match.
List<String>
getSrcAddressGroups()
Address groups which should be matched against the traffic source.
List<String>
getSrcIpRanges()
CIDR IP address range.
List<String>
getSrcRegionCodes()
Region codes whose IP addresses will be used to match for source of traffic.
List<FirewallPolicyRuleSecureTag>
getSrcSecureTags()
List of secure tag values, which should be matched at the source of the traffic.
List<String>
getSrcThreatIntelligences()
Names of Network Threat Intelligence lists.
FirewallPolicyRuleMatcher
set(String fieldName,
Object value)
FirewallPolicyRuleMatcher
setDestAddressGroups(List<String> destAddressGroups)
Address groups which should be matched against the traffic destination.
FirewallPolicyRuleMatcher
setDestIpRanges(List<String> destIpRanges)
CIDR IP address range.
FirewallPolicyRuleMatcher
setDestRegionCodes(List<String> destRegionCodes)
Region codes whose IP addresses will be used to match for destination of traffic.
FirewallPolicyRuleMatcher
setDestThreatIntelligences(List<String> destThreatIntelligences)
Names of Network Threat Intelligence lists.
FirewallPolicyRuleMatcher
setLayer4Configs(List<FirewallPolicyRuleMatcherLayer4Config> layer4Configs)
Pairs of IP protocols and ports that the rule should match.
FirewallPolicyRuleMatcher
setSrcAddressGroups(List<String> srcAddressGroups)
Address groups which should be matched against the traffic source.
FirewallPolicyRuleMatcher
setSrcIpRanges(List<String> srcIpRanges)
CIDR IP address range.
FirewallPolicyRuleMatcher
setSrcRegionCodes(List<String> srcRegionCodes)
Region codes whose IP addresses will be used to match for source of traffic.
FirewallPolicyRuleMatcher
setSrcSecureTags(List<FirewallPolicyRuleSecureTag> srcSecureTags)
List of secure tag values, which should be matched at the source of the traffic.
FirewallPolicyRuleMatcher
setSrcThreatIntelligences(List<String> srcThreatIntelligences)
Names of Network Threat Intelligence lists.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getDestAddressGroups
public List<String> getDestAddressGroups()
Address groups which should be matched against the traffic destination. Maximum number of
destination address groups is 10.
- Returns:
- value or
null
for none
-
setDestAddressGroups
public FirewallPolicyRuleMatcher setDestAddressGroups(List<String> destAddressGroups)
Address groups which should be matched against the traffic destination. Maximum number of
destination address groups is 10.
- Parameters:
destAddressGroups
- destAddressGroups or null
for none
-
getDestIpRanges
public List<String> getDestIpRanges()
CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
- Returns:
- value or
null
for none
-
setDestIpRanges
public FirewallPolicyRuleMatcher setDestIpRanges(List<String> destIpRanges)
CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000.
- Parameters:
destIpRanges
- destIpRanges or null
for none
-
getDestRegionCodes
public List<String> getDestRegionCodes()
Region codes whose IP addresses will be used to match for destination of traffic. Should be
specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US"
Maximum number of dest region codes allowed is 5000.
- Returns:
- value or
null
for none
-
setDestRegionCodes
public FirewallPolicyRuleMatcher setDestRegionCodes(List<String> destRegionCodes)
Region codes whose IP addresses will be used to match for destination of traffic. Should be
specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US"
Maximum number of dest region codes allowed is 5000.
- Parameters:
destRegionCodes
- destRegionCodes or null
for none
-
getDestThreatIntelligences
public List<String> getDestThreatIntelligences()
Names of Network Threat Intelligence lists. The IPs in these lists will be matched against
traffic destination.
- Returns:
- value or
null
for none
-
setDestThreatIntelligences
public FirewallPolicyRuleMatcher setDestThreatIntelligences(List<String> destThreatIntelligences)
Names of Network Threat Intelligence lists. The IPs in these lists will be matched against
traffic destination.
- Parameters:
destThreatIntelligences
- destThreatIntelligences or null
for none
-
getLayer4Configs
public List<FirewallPolicyRuleMatcherLayer4Config> getLayer4Configs()
Pairs of IP protocols and ports that the rule should match.
- Returns:
- value or
null
for none
-
setLayer4Configs
public FirewallPolicyRuleMatcher setLayer4Configs(List<FirewallPolicyRuleMatcherLayer4Config> layer4Configs)
Pairs of IP protocols and ports that the rule should match.
- Parameters:
layer4Configs
- layer4Configs or null
for none
-
getSrcAddressGroups
public List<String> getSrcAddressGroups()
Address groups which should be matched against the traffic source. Maximum number of source
address groups is 10.
- Returns:
- value or
null
for none
-
setSrcAddressGroups
public FirewallPolicyRuleMatcher setSrcAddressGroups(List<String> srcAddressGroups)
Address groups which should be matched against the traffic source. Maximum number of source
address groups is 10.
- Parameters:
srcAddressGroups
- srcAddressGroups or null
for none
-
getSrcIpRanges
public List<String> getSrcIpRanges()
CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
- Returns:
- value or
null
for none
-
setSrcIpRanges
public FirewallPolicyRuleMatcher setSrcIpRanges(List<String> srcIpRanges)
CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
- Parameters:
srcIpRanges
- srcIpRanges or null
for none
-
getSrcRegionCodes
public List<String> getSrcRegionCodes()
Region codes whose IP addresses will be used to match for source of traffic. Should be
specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US"
Maximum number of source region codes allowed is 5000.
- Returns:
- value or
null
for none
-
setSrcRegionCodes
public FirewallPolicyRuleMatcher setSrcRegionCodes(List<String> srcRegionCodes)
Region codes whose IP addresses will be used to match for source of traffic. Should be
specified as 2 letter country code defined as per ISO 3166 alpha-2 country codes. ex."US"
Maximum number of source region codes allowed is 5000.
- Parameters:
srcRegionCodes
- srcRegionCodes or null
for none
-
getSrcSecureTags
public List<FirewallPolicyRuleSecureTag> getSrcSecureTags()
List of secure tag values, which should be matched at the source of the traffic. For INGRESS
rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be
ignored. Maximum number of source tag values allowed is 256.
- Returns:
- value or
null
for none
-
setSrcSecureTags
public FirewallPolicyRuleMatcher setSrcSecureTags(List<FirewallPolicyRuleSecureTag> srcSecureTags)
List of secure tag values, which should be matched at the source of the traffic. For INGRESS
rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be
ignored. Maximum number of source tag values allowed is 256.
- Parameters:
srcSecureTags
- srcSecureTags or null
for none
-
getSrcThreatIntelligences
public List<String> getSrcThreatIntelligences()
Names of Network Threat Intelligence lists. The IPs in these lists will be matched against
traffic source.
- Returns:
- value or
null
for none
-
setSrcThreatIntelligences
public FirewallPolicyRuleMatcher setSrcThreatIntelligences(List<String> srcThreatIntelligences)
Names of Network Threat Intelligence lists. The IPs in these lists will be matched against
traffic source.
- Parameters:
srcThreatIntelligences
- srcThreatIntelligences or null
for none
-
set
public FirewallPolicyRuleMatcher set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public FirewallPolicyRuleMatcher clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy