public final class Deployment
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 Cloud Deployment Manager V2 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Deployment() |
| Modifier and Type | Method and Description |
|---|---|
Deployment |
clone() |
byte[] |
decodeFingerprint()
Provides a fingerprint to use in requests to modify a deployment, such as `update()`, `stop()`,
and `cancelPreview()` requests.
|
Deployment |
encodeFingerprint(byte[] fingerprint)
Provides a fingerprint to use in requests to modify a deployment, such as `update()`, `stop()`,
and `cancelPreview()` requests.
|
String |
getDescription()
An optional user-provided description of the deployment.
|
String |
getFingerprint()
Provides a fingerprint to use in requests to modify a deployment, such as `update()`, `stop()`,
and `cancelPreview()` requests.
|
BigInteger |
getId() |
String |
getInsertTime()
Output only.
|
List<DeploymentLabelEntry> |
getLabels()
Map of One Platform labels; provided by the client when the resource is created or updated.
|
String |
getManifest()
Output only.
|
String |
getName()
Name of the resource; provided by the client when the resource is created.
|
Operation |
getOperation()
Output only.
|
String |
getSelfLink()
Output only.
|
TargetConfiguration |
getTarget()
[Input Only] The parameters that define your deployment, including the deployment configuration
and relevant templates.
|
DeploymentUpdate |
getUpdate()
Output only.
|
String |
getUpdateTime()
Output only.
|
Deployment |
set(String fieldName,
Object value) |
Deployment |
setDescription(String description)
An optional user-provided description of the deployment.
|
Deployment |
setFingerprint(String fingerprint)
Provides a fingerprint to use in requests to modify a deployment, such as `update()`, `stop()`,
and `cancelPreview()` requests.
|
Deployment |
setId(BigInteger id) |
Deployment |
setInsertTime(String insertTime)
Output only.
|
Deployment |
setLabels(List<DeploymentLabelEntry> labels)
Map of One Platform labels; provided by the client when the resource is created or updated.
|
Deployment |
setManifest(String manifest)
Output only.
|
Deployment |
setName(String name)
Name of the resource; provided by the client when the resource is created.
|
Deployment |
setOperation(Operation operation)
Output only.
|
Deployment |
setSelfLink(String selfLink)
Output only.
|
Deployment |
setTarget(TargetConfiguration target)
[Input Only] The parameters that define your deployment, including the deployment configuration
and relevant templates.
|
Deployment |
setUpdate(DeploymentUpdate update)
Output only.
|
Deployment |
setUpdateTime(String updateTime)
Output only.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getDescription()
null for nonepublic Deployment setDescription(String description)
description - description or null for nonepublic String getFingerprint()
null for nonedecodeFingerprint()public byte[] decodeFingerprint()
null for nonegetFingerprint()public Deployment setFingerprint(String fingerprint)
fingerprint - fingerprint or null for none#encodeFingerprint()public Deployment encodeFingerprint(byte[] fingerprint)
The value is encoded Base64 or {@code null} for none.
public BigInteger getId()
null for nonepublic Deployment setId(BigInteger id)
id - id or null for nonepublic String getInsertTime()
null for nonepublic Deployment setInsertTime(String insertTime)
insertTime - insertTime or null for nonepublic List<DeploymentLabelEntry> getLabels()
null for nonepublic Deployment setLabels(List<DeploymentLabelEntry> labels)
labels - labels or null for nonepublic String getManifest()
null for nonepublic Deployment setManifest(String manifest)
manifest - manifest or null for nonepublic String getName()
null for nonepublic Deployment setName(String name)
name - name or null for nonepublic Operation getOperation()
null for nonepublic Deployment setOperation(Operation operation)
operation - operation or null for nonepublic String getSelfLink()
null for nonepublic Deployment setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic TargetConfiguration getTarget()
null for nonepublic Deployment setTarget(TargetConfiguration target)
target - target or null for nonepublic DeploymentUpdate getUpdate()
null for nonepublic Deployment setUpdate(DeploymentUpdate update)
update - update or null for nonepublic String getUpdateTime()
null for nonepublic Deployment setUpdateTime(String updateTime)
updateTime - updateTime or null for nonepublic Deployment set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Deployment clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.