public final class ListPolicy
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 Google Cloud Resource Manager 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.Flags| Constructor and Description |
|---|
ListPolicy() |
| Modifier and Type | Method and Description |
|---|---|
ListPolicy |
clone() |
java.util.List<java.lang.String> |
getAllowedValues()
List of values allowed at this resource.
|
java.lang.String |
getAllValues()
The policy all_values state.
|
java.util.List<java.lang.String> |
getDeniedValues()
List of values denied at this resource.
|
java.lang.Boolean |
getInheritFromParent()
Determines the inheritance behavior for this `Policy`.
|
java.lang.String |
getSuggestedValue()
Optional.
|
ListPolicy |
set(java.lang.String fieldName,
java.lang.Object value) |
ListPolicy |
setAllowedValues(java.util.List<java.lang.String> allowedValues)
List of values allowed at this resource.
|
ListPolicy |
setAllValues(java.lang.String allValues)
The policy all_values state.
|
ListPolicy |
setDeniedValues(java.util.List<java.lang.String> deniedValues)
List of values denied at this resource.
|
ListPolicy |
setInheritFromParent(java.lang.Boolean inheritFromParent)
Determines the inheritance behavior for this `Policy`.
|
ListPolicy |
setSuggestedValue(java.lang.String suggestedValue)
Optional.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getAllValues()
null for nonepublic ListPolicy setAllValues(java.lang.String allValues)
allValues - allValues or null for nonepublic java.util.List<java.lang.String> getAllowedValues()
null for nonepublic ListPolicy setAllowedValues(java.util.List<java.lang.String> allowedValues)
allowedValues - allowedValues or null for nonepublic java.util.List<java.lang.String> getDeniedValues()
null for nonepublic ListPolicy setDeniedValues(java.util.List<java.lang.String> deniedValues)
deniedValues - deniedValues or null for nonepublic java.lang.Boolean getInheritFromParent()
null for nonepublic ListPolicy setInheritFromParent(java.lang.Boolean inheritFromParent)
inheritFromParent - inheritFromParent or null for nonepublic java.lang.String getSuggestedValue()
null for nonepublic ListPolicy setSuggestedValue(java.lang.String suggestedValue)
suggestedValue - suggestedValue or null for nonepublic ListPolicy set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic ListPolicy clone()
clone in class com.google.api.client.json.GenericJson