public class DeploymentManagerV2Beta.Deployments.Insert extends DeploymentManagerV2BetaRequest<Operation>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
Insert(java.lang.String project,
Deployment content)
Creates a deployment and all of the resources described by the deployment manifest.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCreatePolicy()
Sets the policy to use for creating new resources.
|
java.lang.Boolean |
getPreview()
If set to true, creates a deployment and creates "shell" resources but does not actually
instantiate these resources.
|
java.lang.String |
getProject()
The project ID for this request.
|
DeploymentManagerV2Beta.Deployments.Insert |
set(java.lang.String parameterName,
java.lang.Object value) |
DeploymentManagerV2Beta.Deployments.Insert |
setAlt(java.lang.String alt)
Data format for the response.
|
DeploymentManagerV2Beta.Deployments.Insert |
setCreatePolicy(java.lang.String createPolicy)
Sets the policy to use for creating new resources.
|
DeploymentManagerV2Beta.Deployments.Insert |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
DeploymentManagerV2Beta.Deployments.Insert |
setKey(java.lang.String key)
API key.
|
DeploymentManagerV2Beta.Deployments.Insert |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
DeploymentManagerV2Beta.Deployments.Insert |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
DeploymentManagerV2Beta.Deployments.Insert |
setPreview(java.lang.Boolean preview)
If set to true, creates a deployment and creates "shell" resources but does not actually
instantiate these resources.
|
DeploymentManagerV2Beta.Deployments.Insert |
setProject(java.lang.String project)
The project ID for this request.
|
DeploymentManagerV2Beta.Deployments.Insert |
setQuotaUser(java.lang.String quotaUser)
An opaque string that represents a user for quota purposes.
|
DeploymentManagerV2Beta.Deployments.Insert |
setUserIp(java.lang.String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
protected Insert(java.lang.String project, 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.content
- the Deployment
public DeploymentManagerV2Beta.Deployments.Insert setAlt(java.lang.String alt)
DeploymentManagerV2BetaRequest
setAlt
in class DeploymentManagerV2BetaRequest<Operation>
public DeploymentManagerV2Beta.Deployments.Insert setFields(java.lang.String fields)
DeploymentManagerV2BetaRequest
setFields
in class DeploymentManagerV2BetaRequest<Operation>
public DeploymentManagerV2Beta.Deployments.Insert setKey(java.lang.String key)
DeploymentManagerV2BetaRequest
setKey
in class DeploymentManagerV2BetaRequest<Operation>
public DeploymentManagerV2Beta.Deployments.Insert setOauthToken(java.lang.String oauthToken)
DeploymentManagerV2BetaRequest
setOauthToken
in class DeploymentManagerV2BetaRequest<Operation>
public DeploymentManagerV2Beta.Deployments.Insert setPrettyPrint(java.lang.Boolean prettyPrint)
DeploymentManagerV2BetaRequest
setPrettyPrint
in class DeploymentManagerV2BetaRequest<Operation>
public DeploymentManagerV2Beta.Deployments.Insert setQuotaUser(java.lang.String quotaUser)
DeploymentManagerV2BetaRequest
setQuotaUser
in class DeploymentManagerV2BetaRequest<Operation>
public DeploymentManagerV2Beta.Deployments.Insert setUserIp(java.lang.String userIp)
DeploymentManagerV2BetaRequest
setUserIp
in class DeploymentManagerV2BetaRequest<Operation>
public java.lang.String getProject()
public DeploymentManagerV2Beta.Deployments.Insert setProject(java.lang.String project)
public java.lang.String getCreatePolicy()
public DeploymentManagerV2Beta.Deployments.Insert setCreatePolicy(java.lang.String createPolicy)
public java.lang.Boolean getPreview()
public DeploymentManagerV2Beta.Deployments.Insert setPreview(java.lang.Boolean preview)
public DeploymentManagerV2Beta.Deployments.Insert set(java.lang.String parameterName, java.lang.Object value)
set
in class DeploymentManagerV2BetaRequest<Operation>