public class Script.Projects.Deployments.Delete extends ScriptRequest<Empty>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
Delete(java.lang.String scriptId,
java.lang.String deploymentId)
Deletes a deployment of an Apps Script project.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDeploymentId()
The deployment ID to be undeployed.
|
java.lang.String |
getScriptId()
The script project's Drive ID.
|
Script.Projects.Deployments.Delete |
set(java.lang.String parameterName,
java.lang.Object value) |
Script.Projects.Deployments.Delete |
set$Xgafv(java.lang.String $Xgafv)
V1 error format.
|
Script.Projects.Deployments.Delete |
setAccessToken(java.lang.String accessToken)
OAuth access token.
|
Script.Projects.Deployments.Delete |
setAlt(java.lang.String alt)
Data format for response.
|
Script.Projects.Deployments.Delete |
setCallback(java.lang.String callback)
JSONP
|
Script.Projects.Deployments.Delete |
setDeploymentId(java.lang.String deploymentId)
The deployment ID to be undeployed.
|
Script.Projects.Deployments.Delete |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Script.Projects.Deployments.Delete |
setKey(java.lang.String key)
API key.
|
Script.Projects.Deployments.Delete |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Script.Projects.Deployments.Delete |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Script.Projects.Deployments.Delete |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Script.Projects.Deployments.Delete |
setScriptId(java.lang.String scriptId)
The script project's Drive ID.
|
Script.Projects.Deployments.Delete |
setUploadProtocol(java.lang.String uploadProtocol)
Upload protocol for media (e.g.
|
Script.Projects.Deployments.Delete |
setUploadType(java.lang.String uploadType)
Legacy upload protocol for media (e.g.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, 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 Delete(java.lang.String scriptId, java.lang.String deploymentId)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation. Script.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must
be called to initialize this instance immediately after invoking the constructor.
scriptId
- The script project's Drive ID.deploymentId
- The deployment ID to be undeployed.public Script.Projects.Deployments.Delete set$Xgafv(java.lang.String $Xgafv)
ScriptRequest
set$Xgafv
in class ScriptRequest<Empty>
public Script.Projects.Deployments.Delete setAccessToken(java.lang.String accessToken)
ScriptRequest
setAccessToken
in class ScriptRequest<Empty>
public Script.Projects.Deployments.Delete setAlt(java.lang.String alt)
ScriptRequest
setAlt
in class ScriptRequest<Empty>
public Script.Projects.Deployments.Delete setCallback(java.lang.String callback)
ScriptRequest
setCallback
in class ScriptRequest<Empty>
public Script.Projects.Deployments.Delete setFields(java.lang.String fields)
ScriptRequest
setFields
in class ScriptRequest<Empty>
public Script.Projects.Deployments.Delete setKey(java.lang.String key)
ScriptRequest
setKey
in class ScriptRequest<Empty>
public Script.Projects.Deployments.Delete setOauthToken(java.lang.String oauthToken)
ScriptRequest
setOauthToken
in class ScriptRequest<Empty>
public Script.Projects.Deployments.Delete setPrettyPrint(java.lang.Boolean prettyPrint)
ScriptRequest
setPrettyPrint
in class ScriptRequest<Empty>
public Script.Projects.Deployments.Delete setQuotaUser(java.lang.String quotaUser)
ScriptRequest
setQuotaUser
in class ScriptRequest<Empty>
public Script.Projects.Deployments.Delete setUploadType(java.lang.String uploadType)
ScriptRequest
setUploadType
in class ScriptRequest<Empty>
public Script.Projects.Deployments.Delete setUploadProtocol(java.lang.String uploadProtocol)
ScriptRequest
setUploadProtocol
in class ScriptRequest<Empty>
public java.lang.String getScriptId()
public Script.Projects.Deployments.Delete setScriptId(java.lang.String scriptId)
public java.lang.String getDeploymentId()
public Script.Projects.Deployments.Delete setDeploymentId(java.lang.String deploymentId)
public Script.Projects.Deployments.Delete set(java.lang.String parameterName, java.lang.Object value)
set
in class ScriptRequest<Empty>