
target.apidocs.com.google.api.services.deploymentmanager.model.Resource.html Maven / Gradle / Ivy
Resource (Cloud Deployment Manager V2 API v2-rev20241122-2.0.0)
com.google.api.services.deploymentmanager.model
Class Resource
- 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.Resource
-
public final class Resource
extends com.google.api.client.json.GenericJson
Model definition for Resource.
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
Resource.Warnings
Model definition for ResourceWarnings.
-
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
Resource()
-
Method Summary
-
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 set on this resource.
- Returns:
- value or
null
for none
-
setAccessControl
public Resource setAccessControl(ResourceAccessControl accessControl)
The Access Control Policy set on this resource.
- Parameters:
accessControl
- accessControl or null
for none
-
getFinalProperties
public String getFinalProperties()
Output only. The evaluated properties of the resource with references expanded. Returned as
serialized YAML.
- Returns:
- value or
null
for none
-
setFinalProperties
public Resource setFinalProperties(String finalProperties)
Output only. The evaluated properties of the resource with references expanded. Returned as
serialized YAML.
- Parameters:
finalProperties
- finalProperties or null
for none
-
getId
public BigInteger getId()
- Returns:
- value or
null
for none
-
setId
public Resource setId(BigInteger id)
- Parameters:
id
- id or null
for none
-
getInsertTime
public String getInsertTime()
Output only. Creation timestamp in RFC3339 text format.
- Returns:
- value or
null
for none
-
setInsertTime
public Resource setInsertTime(String insertTime)
Output only. Creation timestamp in RFC3339 text format.
- Parameters:
insertTime
- insertTime or null
for none
-
getManifest
public String getManifest()
Output only. URL of the manifest representing the current configuration of this resource.
- Returns:
- value or
null
for none
-
setManifest
public Resource setManifest(String manifest)
Output only. URL of the manifest representing the current configuration of this resource.
- Parameters:
manifest
- manifest or null
for none
-
getName
public String getName()
Output only. The name of the resource as it appears in the YAML config.
- Returns:
- value or
null
for none
-
setName
public Resource setName(String name)
Output only. The name of the resource as it appears in the YAML config.
- Parameters:
name
- name or null
for none
-
getProperties
public String getProperties()
Output only. The current properties of the resource before any references have been filled in.
Returned as serialized YAML.
- Returns:
- value or
null
for none
-
setProperties
public Resource setProperties(String properties)
Output only. The current properties of the resource before any references have been filled in.
Returned as serialized YAML.
- Parameters:
properties
- properties or null
for none
-
getType
public String getType()
Output only. The type of the resource, for example `compute.v1.instance`, or
`cloudfunctions.v1beta1.function`.
- Returns:
- value or
null
for none
-
setType
public Resource setType(String type)
Output only. The type of the resource, for example `compute.v1.instance`, or
`cloudfunctions.v1beta1.function`.
- Parameters:
type
- type or null
for none
-
getUpdate
public ResourceUpdate getUpdate()
Output only. If Deployment Manager is currently updating or previewing an update to this
resource, the updated configuration appears here.
- Returns:
- value or
null
for none
-
setUpdate
public Resource setUpdate(ResourceUpdate update)
Output only. If Deployment Manager is currently updating or previewing an update to this
resource, the updated configuration appears here.
- Parameters:
update
- update or null
for none
-
getUpdateTime
public String getUpdateTime()
Output only. Update timestamp in RFC3339 text format.
- Returns:
- value or
null
for none
-
setUpdateTime
public Resource setUpdateTime(String updateTime)
Output only. Update timestamp in RFC3339 text format.
- Parameters:
updateTime
- updateTime or null
for none
-
getUrl
public String getUrl()
Output only. The URL of the actual resource.
- Returns:
- value or
null
for none
-
setUrl
public Resource setUrl(String url)
Output only. The URL of the actual resource.
- Parameters:
url
- url or null
for none
-
getWarnings
public List<Resource.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 Resource setWarnings(List<Resource.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 Resource set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public Resource 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