public class DeploymentManagerV2Beta.Deployments.Patch extends DeploymentManagerV2BetaRequest<Operation>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
Patch(String project,
String deployment,
Deployment content)
Patches 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. |
DeploymentManagerV2Beta.Deployments.Patch |
set(String parameterName,
Object value) |
DeploymentManagerV2Beta.Deployments.Patch |
setAlt(String alt)
Data format for the response.
|
DeploymentManagerV2Beta.Deployments.Patch |
setCreatePolicy(String createPolicy)
Sets the policy to use for creating new resources.
|
DeploymentManagerV2Beta.Deployments.Patch |
setDeletePolicy(String deletePolicy)
Sets the policy to use for deleting resources.
|
DeploymentManagerV2Beta.Deployments.Patch |
setDeployment(String deployment)
The name of the deployment for this request.
|
DeploymentManagerV2Beta.Deployments.Patch |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
DeploymentManagerV2Beta.Deployments.Patch |
setKey(String key)
API key.
|
DeploymentManagerV2Beta.Deployments.Patch |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
DeploymentManagerV2Beta.Deployments.Patch |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
DeploymentManagerV2Beta.Deployments.Patch |
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.
|
DeploymentManagerV2Beta.Deployments.Patch |
setProject(String project)
The project ID for this request.
|
DeploymentManagerV2Beta.Deployments.Patch |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
DeploymentManagerV2Beta.Deployments.Patch |
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, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected Patch(String project, String deployment, Deployment content)
AbstractGoogleClientRequest.execute() method to invoke the remote
operation. DeploymentManagerV2Beta.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 DeploymentManagerV2Beta.Deployments.Patch setAlt(String alt)
DeploymentManagerV2BetaRequestsetAlt in class DeploymentManagerV2BetaRequest<Operation>public DeploymentManagerV2Beta.Deployments.Patch setFields(String fields)
DeploymentManagerV2BetaRequestsetFields in class DeploymentManagerV2BetaRequest<Operation>public DeploymentManagerV2Beta.Deployments.Patch setKey(String key)
DeploymentManagerV2BetaRequestsetKey in class DeploymentManagerV2BetaRequest<Operation>public DeploymentManagerV2Beta.Deployments.Patch setOauthToken(String oauthToken)
DeploymentManagerV2BetaRequestsetOauthToken in class DeploymentManagerV2BetaRequest<Operation>public DeploymentManagerV2Beta.Deployments.Patch setPrettyPrint(Boolean prettyPrint)
DeploymentManagerV2BetaRequestsetPrettyPrint in class DeploymentManagerV2BetaRequest<Operation>public DeploymentManagerV2Beta.Deployments.Patch setQuotaUser(String quotaUser)
DeploymentManagerV2BetaRequestsetQuotaUser in class DeploymentManagerV2BetaRequest<Operation>public DeploymentManagerV2Beta.Deployments.Patch setUserIp(String userIp)
DeploymentManagerV2BetaRequestsetUserIp in class DeploymentManagerV2BetaRequest<Operation>public String getProject()
public DeploymentManagerV2Beta.Deployments.Patch setProject(String project)
public String getDeployment()
public DeploymentManagerV2Beta.Deployments.Patch setDeployment(String deployment)
public String getCreatePolicy()
public DeploymentManagerV2Beta.Deployments.Patch setCreatePolicy(String createPolicy)
public String getDeletePolicy()
public DeploymentManagerV2Beta.Deployments.Patch setDeletePolicy(String deletePolicy)
public Boolean getPreview()
public DeploymentManagerV2Beta.Deployments.Patch 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 DeploymentManagerV2Beta.Deployments.Patch set(String parameterName, Object value)
set in class DeploymentManagerV2BetaRequest<Operation>Copyright © 2011–2020 Google. All rights reserved.