target.apidocs.com.google.api.services.deploymentmanager.model.GlobalSetPolicyRequest.html Maven / Gradle / Ivy
The newest version!
GlobalSetPolicyRequest (Cloud Deployment Manager V2 API v2-rev20241122-2.0.0)
com.google.api.services.deploymentmanager.model
Class GlobalSetPolicyRequest
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.deploymentmanager.model.GlobalSetPolicyRequest
-
public final class GlobalSetPolicyRequest
extends com.google.api.client.json.GenericJson
Model definition for GlobalSetPolicyRequest.
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 Deployment Manager V2 API. For a detailed
explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
GlobalSetPolicyRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
GlobalSetPolicyRequest
clone()
byte[]
decodeEtag()
Flatten Policy to create a backward compatible wire-format.
GlobalSetPolicyRequest
encodeEtag(byte[] etag)
Flatten Policy to create a backward compatible wire-format.
List<Binding>
getBindings()
Flatten Policy to create a backward 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'.
String
getUpdateMask()
GlobalSetPolicyRequest
set(String fieldName,
Object value)
GlobalSetPolicyRequest
setBindings(List<Binding> bindings)
Flatten Policy to create a backward compatible wire-format.
GlobalSetPolicyRequest
setEtag(String etag)
Flatten Policy to create a backward compatible wire-format.
GlobalSetPolicyRequest
setPolicy(Policy policy)
REQUIRED: The complete policy to be applied to the 'resource'.
GlobalSetPolicyRequest
setUpdateMask(String updateMask)
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getBindings
public List<Binding> getBindings()
Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify
bindings.
- Returns:
- value or
null
for none
-
setBindings
public GlobalSetPolicyRequest setBindings(List<Binding> bindings)
Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify
bindings.
- Parameters:
bindings
- bindings or null
for none
-
getEtag
public String getEtag()
Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify
the etag.
- Returns:
- value or
null
for none
- See Also:
decodeEtag()
-
decodeEtag
public byte[] decodeEtag()
Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify
the etag.
- Returns:
- Base64 decoded value or
null
for none
- Since:
- 1.14
- See Also:
getEtag()
-
setEtag
public GlobalSetPolicyRequest setEtag(String etag)
Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify
the etag.
- Parameters:
etag
- etag or null
for none
- See Also:
#encodeEtag()
-
encodeEtag
public GlobalSetPolicyRequest encodeEtag(byte[] etag)
Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify
the etag.
- Since:
- 1.14
- See Also:
The value is encoded Base64 or {@code null} for none.
-
getPolicy
public Policy getPolicy()
REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is
limited to a few 10s of KB. An empty policy is in general a valid policy but certain services
(like Projects) might reject them.
- Returns:
- value or
null
for none
-
setPolicy
public GlobalSetPolicyRequest setPolicy(Policy policy)
REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is
limited to a few 10s of KB. An empty policy is in general a valid policy but certain services
(like Projects) might reject them.
- Parameters:
policy
- policy or null
for none
-
getUpdateMask
public String getUpdateMask()
- Returns:
- value or
null
for none
-
setUpdateMask
public GlobalSetPolicyRequest setUpdateMask(String updateMask)
- Parameters:
updateMask
- updateMask or null
for none
-
set
public GlobalSetPolicyRequest set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public GlobalSetPolicyRequest clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy