public final class NetworkPoliciesScopedList
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
| Modifier and Type | Class and Description |
|---|---|
static class |
NetworkPoliciesScopedList.Warning
Informational warning which replaces the list of network policies when the list is empty.
|
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
NetworkPoliciesScopedList() |
| Modifier and Type | Method and Description |
|---|---|
NetworkPoliciesScopedList |
clone() |
List<NetworkPolicy> |
getNetworkPolicies()
A list of network policies contained in this scope.
|
NetworkPoliciesScopedList.Warning |
getWarning()
Informational warning which replaces the list of network policies when the list is empty.
|
NetworkPoliciesScopedList |
set(String fieldName,
Object value) |
NetworkPoliciesScopedList |
setNetworkPolicies(List<NetworkPolicy> networkPolicies)
A list of network policies contained in this scope.
|
NetworkPoliciesScopedList |
setWarning(NetworkPoliciesScopedList.Warning warning)
Informational warning which replaces the list of network policies when the list is empty.
|
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<NetworkPolicy> getNetworkPolicies()
null for nonepublic NetworkPoliciesScopedList setNetworkPolicies(List<NetworkPolicy> networkPolicies)
networkPolicies - networkPolicies or null for nonepublic NetworkPoliciesScopedList.Warning getWarning()
null for nonepublic NetworkPoliciesScopedList setWarning(NetworkPoliciesScopedList.Warning warning)
warning - warning or null for nonepublic NetworkPoliciesScopedList set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic NetworkPoliciesScopedList clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.