public final class RegionSetPolicyRequest 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 Compute Engine 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 |
|---|
RegionSetPolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
RegionSetPolicyRequest |
clone() |
byte[] |
decodeEtag()
Flatten Policy to create a backward compatible wire-format.
|
RegionSetPolicyRequest |
encodeEtag(byte[] etag)
Flatten Policy to create a backward compatible wire-format.
|
List<Binding> |
getBindings()
Flatten Policy to create a backwacd compatible wire-format.
|
String |
getEtag()
Flatten Policy to create a backward compatible wire-format.
|
Policy |
getPolicy()
REQUIRED: The complete policy to be applied to the 'resource'.
|
RegionSetPolicyRequest |
set(String fieldName,
Object value) |
RegionSetPolicyRequest |
setBindings(List<Binding> bindings)
Flatten Policy to create a backwacd compatible wire-format.
|
RegionSetPolicyRequest |
setEtag(String etag)
Flatten Policy to create a backward compatible wire-format.
|
RegionSetPolicyRequest |
setPolicy(Policy policy)
REQUIRED: The complete policy to be applied to the 'resource'.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic List<Binding> getBindings()
null for nonepublic RegionSetPolicyRequest setBindings(List<Binding> bindings)
bindings - bindings or null for nonepublic String getEtag()
null for nonedecodeEtag()public byte[] decodeEtag()
null for nonegetEtag()public RegionSetPolicyRequest setEtag(String etag)
etag - etag or null for none#encodeEtag()public RegionSetPolicyRequest encodeEtag(byte[] etag)
The value is encoded Base64 or {@code null} for none.
public Policy getPolicy()
null for nonepublic RegionSetPolicyRequest setPolicy(Policy policy)
policy - policy or null for nonepublic RegionSetPolicyRequest set(String fieldName, Object value)
set in class GenericJsonpublic RegionSetPolicyRequest clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.