public class Script.Projects.Deployments.Get extends ScriptRequest<Deployment>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Get(String scriptId,
String deploymentId)
Gets a deployment of an Apps Script project.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, 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
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected Get(String scriptId, 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.public HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class AbstractGoogleClientRequest<Deployment>
IOException
public HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class AbstractGoogleClientRequest<Deployment>
IOException
public Script.Projects.Deployments.Get set$Xgafv(String $Xgafv)
ScriptRequest
set$Xgafv
in class ScriptRequest<Deployment>
public Script.Projects.Deployments.Get setAccessToken(String accessToken)
ScriptRequest
setAccessToken
in class ScriptRequest<Deployment>
public Script.Projects.Deployments.Get setAlt(String alt)
ScriptRequest
setAlt
in class ScriptRequest<Deployment>
public Script.Projects.Deployments.Get setCallback(String callback)
ScriptRequest
setCallback
in class ScriptRequest<Deployment>
public Script.Projects.Deployments.Get setFields(String fields)
ScriptRequest
setFields
in class ScriptRequest<Deployment>
public Script.Projects.Deployments.Get setKey(String key)
ScriptRequest
setKey
in class ScriptRequest<Deployment>
public Script.Projects.Deployments.Get setOauthToken(String oauthToken)
ScriptRequest
setOauthToken
in class ScriptRequest<Deployment>
public Script.Projects.Deployments.Get setPrettyPrint(Boolean prettyPrint)
ScriptRequest
setPrettyPrint
in class ScriptRequest<Deployment>
public Script.Projects.Deployments.Get setQuotaUser(String quotaUser)
ScriptRequest
setQuotaUser
in class ScriptRequest<Deployment>
public Script.Projects.Deployments.Get setUploadType(String uploadType)
ScriptRequest
setUploadType
in class ScriptRequest<Deployment>
public Script.Projects.Deployments.Get setUploadProtocol(String uploadProtocol)
ScriptRequest
setUploadProtocol
in class ScriptRequest<Deployment>
public String getScriptId()
public Script.Projects.Deployments.Get setScriptId(String scriptId)
public String getDeploymentId()
public Script.Projects.Deployments.Get setDeploymentId(String deploymentId)
public Script.Projects.Deployments.Get set(String parameterName, Object value)
set
in class ScriptRequest<Deployment>