public class DeploymentManagerAlpha.Deployments.Insert extends DeploymentManagerAlphaRequest<Operation>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
Insert(String project,
Deployment content)
Creates 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.
|
Boolean |
getPreview()
If set to true, creates a deployment and creates "shell" resources but does not actually
instantiate these resources.
|
String |
getProject()
The project ID for this request.
|
DeploymentManagerAlpha.Deployments.Insert |
set(String parameterName,
Object value) |
DeploymentManagerAlpha.Deployments.Insert |
setAlt(String alt)
Data format for the response.
|
DeploymentManagerAlpha.Deployments.Insert |
setCreatePolicy(String createPolicy)
Sets the policy to use for creating new resources.
|
DeploymentManagerAlpha.Deployments.Insert |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
DeploymentManagerAlpha.Deployments.Insert |
setKey(String key)
API key.
|
DeploymentManagerAlpha.Deployments.Insert |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
DeploymentManagerAlpha.Deployments.Insert |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
DeploymentManagerAlpha.Deployments.Insert |
setPreview(Boolean preview)
If set to true, creates a deployment and creates "shell" resources but does not actually
instantiate these resources.
|
DeploymentManagerAlpha.Deployments.Insert |
setProject(String project)
The project ID for this request.
|
DeploymentManagerAlpha.Deployments.Insert |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
DeploymentManagerAlpha.Deployments.Insert |
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 Insert(String project, 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.content - the Deploymentpublic DeploymentManagerAlpha.Deployments.Insert setAlt(String alt)
DeploymentManagerAlphaRequestsetAlt in class DeploymentManagerAlphaRequest<Operation>public DeploymentManagerAlpha.Deployments.Insert setFields(String fields)
DeploymentManagerAlphaRequestsetFields in class DeploymentManagerAlphaRequest<Operation>public DeploymentManagerAlpha.Deployments.Insert setKey(String key)
DeploymentManagerAlphaRequestsetKey in class DeploymentManagerAlphaRequest<Operation>public DeploymentManagerAlpha.Deployments.Insert setOauthToken(String oauthToken)
DeploymentManagerAlphaRequestsetOauthToken in class DeploymentManagerAlphaRequest<Operation>public DeploymentManagerAlpha.Deployments.Insert setPrettyPrint(Boolean prettyPrint)
DeploymentManagerAlphaRequestsetPrettyPrint in class DeploymentManagerAlphaRequest<Operation>public DeploymentManagerAlpha.Deployments.Insert setQuotaUser(String quotaUser)
DeploymentManagerAlphaRequestsetQuotaUser in class DeploymentManagerAlphaRequest<Operation>public DeploymentManagerAlpha.Deployments.Insert setUserIp(String userIp)
DeploymentManagerAlphaRequestsetUserIp in class DeploymentManagerAlphaRequest<Operation>public String getProject()
public DeploymentManagerAlpha.Deployments.Insert setProject(String project)
public String getCreatePolicy()
public DeploymentManagerAlpha.Deployments.Insert setCreatePolicy(String createPolicy)
public Boolean getPreview()
public DeploymentManagerAlpha.Deployments.Insert setPreview(Boolean preview)
public DeploymentManagerAlpha.Deployments.Insert set(String parameterName, Object value)
set in class DeploymentManagerAlphaRequest<Operation>Copyright © 2011–2019 Google. All rights reserved.