public class DeploymentManagerAlpha.Deployments.Update extends DeploymentManagerAlphaRequest<Operation>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
Update(String project,
String deployment,
Deployment content)
Updates a deployment and all of the resources described by the deployment manifest.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCreatePolicy()
Sets the policy to use for creating new resources.
|
String |
getDeletePolicy()
Sets the policy to use for deleting resources.
|
String |
getDeployment()
The name of the deployment for this request.
|
Boolean |
getPreview()
If set to true, updates the deployment and creates and updates the "shell" resources but does not
actually alter or instantiate these resources.
|
String |
getProject()
The project ID for this request.
|
boolean |
isPreview()
Convenience method that returns only
Boolean.TRUE or Boolean.FALSE. |
DeploymentManagerAlpha.Deployments.Update |
set(String parameterName,
Object value) |
DeploymentManagerAlpha.Deployments.Update |
setAlt(String alt)
Data format for the response.
|
DeploymentManagerAlpha.Deployments.Update |
setCreatePolicy(String createPolicy)
Sets the policy to use for creating new resources.
|
DeploymentManagerAlpha.Deployments.Update |
setDeletePolicy(String deletePolicy)
Sets the policy to use for deleting resources.
|
DeploymentManagerAlpha.Deployments.Update |
setDeployment(String deployment)
The name of the deployment for this request.
|
DeploymentManagerAlpha.Deployments.Update |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
DeploymentManagerAlpha.Deployments.Update |
setKey(String key)
API key.
|
DeploymentManagerAlpha.Deployments.Update |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
DeploymentManagerAlpha.Deployments.Update |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
DeploymentManagerAlpha.Deployments.Update |
setPreview(Boolean preview)
If set to true, updates the deployment and creates and updates the "shell" resources but
does not actually alter or instantiate these resources.
|
DeploymentManagerAlpha.Deployments.Update |
setProject(String project)
The project ID for this request.
|
DeploymentManagerAlpha.Deployments.Update |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
DeploymentManagerAlpha.Deployments.Update |
setUserIp(String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected Update(String project, String deployment, Deployment content)
AbstractGoogleClientRequest.execute() method to invoke the remote
operation. DeploymentManagerAlpha.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must
be called to initialize this instance immediately after invoking the constructor.
project - The project ID for this request.deployment - The name of the deployment for this request.content - the Deploymentpublic DeploymentManagerAlpha.Deployments.Update setAlt(String alt)
DeploymentManagerAlphaRequestsetAlt in class DeploymentManagerAlphaRequest<Operation>public DeploymentManagerAlpha.Deployments.Update setFields(String fields)
DeploymentManagerAlphaRequestsetFields in class DeploymentManagerAlphaRequest<Operation>public DeploymentManagerAlpha.Deployments.Update setKey(String key)
DeploymentManagerAlphaRequestsetKey in class DeploymentManagerAlphaRequest<Operation>public DeploymentManagerAlpha.Deployments.Update setOauthToken(String oauthToken)
DeploymentManagerAlphaRequestsetOauthToken in class DeploymentManagerAlphaRequest<Operation>public DeploymentManagerAlpha.Deployments.Update setPrettyPrint(Boolean prettyPrint)
DeploymentManagerAlphaRequestsetPrettyPrint in class DeploymentManagerAlphaRequest<Operation>public DeploymentManagerAlpha.Deployments.Update setQuotaUser(String quotaUser)
DeploymentManagerAlphaRequestsetQuotaUser in class DeploymentManagerAlphaRequest<Operation>public DeploymentManagerAlpha.Deployments.Update setUserIp(String userIp)
DeploymentManagerAlphaRequestsetUserIp in class DeploymentManagerAlphaRequest<Operation>public String getProject()
public DeploymentManagerAlpha.Deployments.Update setProject(String project)
public String getDeployment()
public DeploymentManagerAlpha.Deployments.Update setDeployment(String deployment)
public String getCreatePolicy()
public DeploymentManagerAlpha.Deployments.Update setCreatePolicy(String createPolicy)
public String getDeletePolicy()
public DeploymentManagerAlpha.Deployments.Update setDeletePolicy(String deletePolicy)
public Boolean getPreview()
public DeploymentManagerAlpha.Deployments.Update setPreview(Boolean preview)
public boolean isPreview()
Boolean.TRUE or Boolean.FALSE.
Boolean properties can have four possible values:
null, Data.NULL_BOOLEAN, Boolean.TRUE
or Boolean.FALSE.
This method returns Boolean.TRUE if the default of the property is Boolean.TRUE
and it is null or Data.NULL_BOOLEAN.
Boolean.FALSE is returned if the default of the property is Boolean.FALSE and
it is null or Data.NULL_BOOLEAN.
If set to true, updates the deployment and creates and updates the "shell" resources but does not actually alter or instantiate these resources. This allows you to preview what your deployment will look like. You can use this intent to preview how an update would affect your deployment. You must provide a target.config with a configuration if this is set to true. After previewing a deployment, you can deploy your resources by making a request with the update() or you can cancelPreview() to remove the preview altogether. Note that the deployment will still exist after you cancel the preview and you must separately delete this deployment if you want to remove it.
public DeploymentManagerAlpha.Deployments.Update set(String parameterName, Object value)
set in class DeploymentManagerAlphaRequest<Operation>Copyright © 2011–2019 Google. All rights reserved.