public final class ListPolicy extends 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 Cloud Resource Manager API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ListPolicy() |
| Modifier and Type | Method and Description |
|---|---|
ListPolicy |
clone() |
List<String> |
getAllowedValues()
List of values allowed at this resource.
|
String |
getAllValues()
The policy all_values state.
|
List<String> |
getDeniedValues()
List of values denied at this resource.
|
Boolean |
getInheritFromParent()
Determines the inheritance behavior for this `Policy`.
|
String |
getSuggestedValue()
Optional.
|
ListPolicy |
set(String fieldName,
Object value) |
ListPolicy |
setAllowedValues(List<String> allowedValues)
List of values allowed at this resource.
|
ListPolicy |
setAllValues(String allValues)
The policy all_values state.
|
ListPolicy |
setDeniedValues(List<String> deniedValues)
List of values denied at this resource.
|
ListPolicy |
setInheritFromParent(Boolean inheritFromParent)
Determines the inheritance behavior for this `Policy`.
|
ListPolicy |
setSuggestedValue(String suggestedValue)
Optional.
|
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 String getAllValues()
null for nonepublic ListPolicy setAllValues(String allValues)
allValues - allValues or null for nonepublic List<String> getAllowedValues()
null for nonepublic ListPolicy setAllowedValues(List<String> allowedValues)
allowedValues - allowedValues or null for nonepublic List<String> getDeniedValues()
null for nonepublic ListPolicy setDeniedValues(List<String> deniedValues)
deniedValues - deniedValues or null for nonepublic Boolean getInheritFromParent()
null for nonepublic ListPolicy setInheritFromParent(Boolean inheritFromParent)
inheritFromParent - inheritFromParent or null for nonepublic String getSuggestedValue()
null for nonepublic ListPolicy setSuggestedValue(String suggestedValue)
suggestedValue - suggestedValue or null for nonepublic ListPolicy set(String fieldName, Object value)
set in class GenericJsonpublic ListPolicy clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.