
target.apidocs.com.google.api.services.deploymentmanager.model.ResourceUpdate.html Maven / Gradle / Ivy
ResourceUpdate (Cloud Deployment Manager V2 API v2-rev20241122-2.0.0)
com.google.api.services.deploymentmanager.model
Class ResourceUpdate
- 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.ResourceUpdate
-
public final class ResourceUpdate
extends com.google.api.client.json.GenericJson
Model definition for ResourceUpdate.
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
Modifier and Type
Class and Description
static class
ResourceUpdate.Error
Output only.
static class
ResourceUpdate.Warnings
Model definition for ResourceUpdateWarnings.
-
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
ResourceUpdate()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
ResourceUpdate
clone()
ResourceAccessControl
getAccessControl()
The Access Control Policy to set on this resource after updating the resource itself.
ResourceUpdate.Error
getError()
Output only.
String
getFinalProperties()
Output only.
String
getIntent()
Output only.
String
getManifest()
Output only.
String
getProperties()
Output only.
String
getState()
Output only.
List<ResourceUpdate.Warnings>
getWarnings()
Output only.
ResourceUpdate
set(String fieldName,
Object value)
ResourceUpdate
setAccessControl(ResourceAccessControl accessControl)
The Access Control Policy to set on this resource after updating the resource itself.
ResourceUpdate
setError(ResourceUpdate.Error error)
Output only.
ResourceUpdate
setFinalProperties(String finalProperties)
Output only.
ResourceUpdate
setIntent(String intent)
Output only.
ResourceUpdate
setManifest(String manifest)
Output only.
ResourceUpdate
setProperties(String properties)
Output only.
ResourceUpdate
setState(String state)
Output only.
ResourceUpdate
setWarnings(List<ResourceUpdate.Warnings> warnings)
Output only.
-
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
-
getAccessControl
public ResourceAccessControl getAccessControl()
The Access Control Policy to set on this resource after updating the resource itself.
- Returns:
- value or
null
for none
-
setAccessControl
public ResourceUpdate setAccessControl(ResourceAccessControl accessControl)
The Access Control Policy to set on this resource after updating the resource itself.
- Parameters:
accessControl
- accessControl or null
for none
-
getError
public ResourceUpdate.Error getError()
Output only. If errors are generated during update of the resource, this field will be
populated.
- Returns:
- value or
null
for none
-
setError
public ResourceUpdate setError(ResourceUpdate.Error error)
Output only. If errors are generated during update of the resource, this field will be
populated.
- Parameters:
error
- error or null
for none
-
getFinalProperties
public String getFinalProperties()
Output only. The expanded properties of the resource with reference values expanded. Returned
as serialized YAML.
- Returns:
- value or
null
for none
-
setFinalProperties
public ResourceUpdate setFinalProperties(String finalProperties)
Output only. The expanded properties of the resource with reference values expanded. Returned
as serialized YAML.
- Parameters:
finalProperties
- finalProperties or null
for none
-
getIntent
public String getIntent()
Output only. The intent of the resource: `PREVIEW`, `UPDATE`, or `CANCEL`.
- Returns:
- value or
null
for none
-
setIntent
public ResourceUpdate setIntent(String intent)
Output only. The intent of the resource: `PREVIEW`, `UPDATE`, or `CANCEL`.
- Parameters:
intent
- intent or null
for none
-
getManifest
public String getManifest()
Output only. URL of the manifest representing the update configuration of this resource.
- Returns:
- value or
null
for none
-
setManifest
public ResourceUpdate setManifest(String manifest)
Output only. URL of the manifest representing the update configuration of this resource.
- Parameters:
manifest
- manifest or null
for none
-
getProperties
public String getProperties()
Output only. The set of updated properties for this resource, before references are expanded.
Returned as serialized YAML.
- Returns:
- value or
null
for none
-
setProperties
public ResourceUpdate setProperties(String properties)
Output only. The set of updated properties for this resource, before references are expanded.
Returned as serialized YAML.
- Parameters:
properties
- properties or null
for none
-
getState
public String getState()
Output only. The state of the resource.
- Returns:
- value or
null
for none
-
setState
public ResourceUpdate setState(String state)
Output only. The state of the resource.
- Parameters:
state
- state or null
for none
-
getWarnings
public List<ResourceUpdate.Warnings> getWarnings()
Output only. If warning messages are generated during processing of this resource, this field
will be populated.
- Returns:
- value or
null
for none
-
setWarnings
public ResourceUpdate setWarnings(List<ResourceUpdate.Warnings> warnings)
Output only. If warning messages are generated during processing of this resource, this field
will be populated.
- Parameters:
warnings
- warnings or null
for none
-
set
public ResourceUpdate set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public ResourceUpdate 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