public class DeploymentManager.Deployments.Insert extends DeploymentManagerRequest<Operation>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| 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.
|
DeploymentManager.Deployments.Insert |
set(String parameterName,
Object value) |
DeploymentManager.Deployments.Insert |
setAlt(String alt)
Data format for the response.
|
DeploymentManager.Deployments.Insert |
setCreatePolicy(String createPolicy)
Sets the policy to use for creating new resources.
|
DeploymentManager.Deployments.Insert |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
DeploymentManager.Deployments.Insert |
setKey(String key)
API key.
|
DeploymentManager.Deployments.Insert |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
DeploymentManager.Deployments.Insert |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
DeploymentManager.Deployments.Insert |
setPreview(Boolean preview)
If set to true, creates a deployment and creates "shell" resources but does not actually
instantiate these resources.
|
DeploymentManager.Deployments.Insert |
setProject(String project)
The project ID for this request.
|
DeploymentManager.Deployments.Insert |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
DeploymentManager.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. DeploymentManager.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 DeploymentManager.Deployments.Insert setAlt(String alt)
DeploymentManagerRequestsetAlt in class DeploymentManagerRequest<Operation>public DeploymentManager.Deployments.Insert setFields(String fields)
DeploymentManagerRequestsetFields in class DeploymentManagerRequest<Operation>public DeploymentManager.Deployments.Insert setKey(String key)
DeploymentManagerRequestsetKey in class DeploymentManagerRequest<Operation>public DeploymentManager.Deployments.Insert setOauthToken(String oauthToken)
DeploymentManagerRequestsetOauthToken in class DeploymentManagerRequest<Operation>public DeploymentManager.Deployments.Insert setPrettyPrint(Boolean prettyPrint)
DeploymentManagerRequestsetPrettyPrint in class DeploymentManagerRequest<Operation>public DeploymentManager.Deployments.Insert setQuotaUser(String quotaUser)
DeploymentManagerRequestsetQuotaUser in class DeploymentManagerRequest<Operation>public DeploymentManager.Deployments.Insert setUserIp(String userIp)
DeploymentManagerRequestsetUserIp in class DeploymentManagerRequest<Operation>public String getProject()
public DeploymentManager.Deployments.Insert setProject(String project)
public String getCreatePolicy()
public DeploymentManager.Deployments.Insert setCreatePolicy(String createPolicy)
public Boolean getPreview()
public DeploymentManager.Deployments.Insert setPreview(Boolean preview)
public DeploymentManager.Deployments.Insert set(String parameterName, Object value)
set in class DeploymentManagerRequest<Operation>Copyright © 2011–2018 Google. All rights reserved.