public class Script.Projects.Deployments.Create extends ScriptRequest<Deployment>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Create(String scriptId,
DeploymentConfig content)
Creates 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, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStream
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected Create(String scriptId, DeploymentConfig content)
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.content
- the DeploymentConfig
public Script.Projects.Deployments.Create set$Xgafv(String $Xgafv)
ScriptRequest
set$Xgafv
in class ScriptRequest<Deployment>
public Script.Projects.Deployments.Create setAccessToken(String accessToken)
ScriptRequest
setAccessToken
in class ScriptRequest<Deployment>
public Script.Projects.Deployments.Create setAlt(String alt)
ScriptRequest
setAlt
in class ScriptRequest<Deployment>
public Script.Projects.Deployments.Create setCallback(String callback)
ScriptRequest
setCallback
in class ScriptRequest<Deployment>
public Script.Projects.Deployments.Create setFields(String fields)
ScriptRequest
setFields
in class ScriptRequest<Deployment>
public Script.Projects.Deployments.Create setKey(String key)
ScriptRequest
setKey
in class ScriptRequest<Deployment>
public Script.Projects.Deployments.Create setOauthToken(String oauthToken)
ScriptRequest
setOauthToken
in class ScriptRequest<Deployment>
public Script.Projects.Deployments.Create setPrettyPrint(Boolean prettyPrint)
ScriptRequest
setPrettyPrint
in class ScriptRequest<Deployment>
public Script.Projects.Deployments.Create setQuotaUser(String quotaUser)
ScriptRequest
setQuotaUser
in class ScriptRequest<Deployment>
public Script.Projects.Deployments.Create setUploadType(String uploadType)
ScriptRequest
setUploadType
in class ScriptRequest<Deployment>
public Script.Projects.Deployments.Create setUploadProtocol(String uploadProtocol)
ScriptRequest
setUploadProtocol
in class ScriptRequest<Deployment>
public String getScriptId()
public Script.Projects.Deployments.Create setScriptId(String scriptId)
public Script.Projects.Deployments.Create set(String parameterName, Object value)
set
in class ScriptRequest<Deployment>
Copyright © 2011–2024 Google. All rights reserved.