public final class SecurityPolicyRuleNetworkMatcher
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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
SecurityPolicyRuleNetworkMatcher() |
| Modifier and Type | Method and Description |
|---|---|
SecurityPolicyRuleNetworkMatcher |
clone() |
List<String> |
getDestIpRanges()
Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
|
List<String> |
getDestPorts()
Destination port numbers for TCP/UDP/SCTP.
|
List<String> |
getIpProtocols()
IPv4 protocol / IPv6 next header (after extension headers).
|
List<Long> |
getSrcAsns()
BGP Autonomous System Number associated with the source IP address.
|
List<String> |
getSrcIpRanges()
Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
|
List<String> |
getSrcPorts()
Source port numbers for TCP/UDP/SCTP.
|
List<String> |
getSrcRegionCodes()
Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
|
List<SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch> |
getUserDefinedFields()
User-defined fields.
|
SecurityPolicyRuleNetworkMatcher |
set(String fieldName,
Object value) |
SecurityPolicyRuleNetworkMatcher |
setDestIpRanges(List<String> destIpRanges)
Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
|
SecurityPolicyRuleNetworkMatcher |
setDestPorts(List<String> destPorts)
Destination port numbers for TCP/UDP/SCTP.
|
SecurityPolicyRuleNetworkMatcher |
setIpProtocols(List<String> ipProtocols)
IPv4 protocol / IPv6 next header (after extension headers).
|
SecurityPolicyRuleNetworkMatcher |
setSrcAsns(List<Long> srcAsns)
BGP Autonomous System Number associated with the source IP address.
|
SecurityPolicyRuleNetworkMatcher |
setSrcIpRanges(List<String> srcIpRanges)
Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
|
SecurityPolicyRuleNetworkMatcher |
setSrcPorts(List<String> srcPorts)
Source port numbers for TCP/UDP/SCTP.
|
SecurityPolicyRuleNetworkMatcher |
setSrcRegionCodes(List<String> srcRegionCodes)
Two-letter ISO 3166-1 alpha-2 country code associated with the source IP address.
|
SecurityPolicyRuleNetworkMatcher |
setUserDefinedFields(List<SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch> userDefinedFields)
User-defined fields.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic List<String> getDestIpRanges()
null for nonepublic SecurityPolicyRuleNetworkMatcher setDestIpRanges(List<String> destIpRanges)
destIpRanges - destIpRanges or null for nonepublic List<String> getDestPorts()
null for nonepublic SecurityPolicyRuleNetworkMatcher setDestPorts(List<String> destPorts)
destPorts - destPorts or null for nonepublic List<String> getIpProtocols()
null for nonepublic SecurityPolicyRuleNetworkMatcher setIpProtocols(List<String> ipProtocols)
ipProtocols - ipProtocols or null for nonepublic List<Long> getSrcAsns()
null for nonepublic SecurityPolicyRuleNetworkMatcher setSrcAsns(List<Long> srcAsns)
srcAsns - srcAsns or null for nonepublic List<String> getSrcIpRanges()
null for nonepublic SecurityPolicyRuleNetworkMatcher setSrcIpRanges(List<String> srcIpRanges)
srcIpRanges - srcIpRanges or null for nonepublic List<String> getSrcPorts()
null for nonepublic SecurityPolicyRuleNetworkMatcher setSrcPorts(List<String> srcPorts)
srcPorts - srcPorts or null for nonepublic List<String> getSrcRegionCodes()
null for nonepublic SecurityPolicyRuleNetworkMatcher setSrcRegionCodes(List<String> srcRegionCodes)
srcRegionCodes - srcRegionCodes or null for nonepublic List<SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch> getUserDefinedFields()
null for nonepublic SecurityPolicyRuleNetworkMatcher setUserDefinedFields(List<SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch> userDefinedFields)
userDefinedFields - userDefinedFields or null for nonepublic SecurityPolicyRuleNetworkMatcher set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic SecurityPolicyRuleNetworkMatcher clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.