public class Script.Projects.Deployments.List extends ScriptRequest<ListDeploymentsResponse>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
List(String scriptId)
Lists the deployments of an Apps Script project.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
Integer |
getPageSize()
The maximum number of deployments on each returned page.
|
String |
getPageToken()
The token for continuing a previous list request on the next page.
|
String |
getScriptId()
The script project's Drive ID.
|
Script.Projects.Deployments.List |
set(String parameterName,
Object value) |
Script.Projects.Deployments.List |
set$Xgafv(String $Xgafv)
V1 error format.
|
Script.Projects.Deployments.List |
setAccessToken(String accessToken)
OAuth access token.
|
Script.Projects.Deployments.List |
setAlt(String alt)
Data format for response.
|
Script.Projects.Deployments.List |
setCallback(String callback)
JSONP
|
Script.Projects.Deployments.List |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Script.Projects.Deployments.List |
setKey(String key)
API key.
|
Script.Projects.Deployments.List |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Script.Projects.Deployments.List |
setPageSize(Integer pageSize)
The maximum number of deployments on each returned page.
|
Script.Projects.Deployments.List |
setPageToken(String pageToken)
The token for continuing a previous list request on the next page.
|
Script.Projects.Deployments.List |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Script.Projects.Deployments.List |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Script.Projects.Deployments.List |
setScriptId(String scriptId)
The script project's Drive ID.
|
Script.Projects.Deployments.List |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Script.Projects.Deployments.List |
setUploadType(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, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, 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 List(String scriptId)
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.public com.google.api.client.http.HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<ListDeploymentsResponse>
IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<ListDeploymentsResponse>
IOException
public Script.Projects.Deployments.List set$Xgafv(String $Xgafv)
ScriptRequest
set$Xgafv
in class ScriptRequest<ListDeploymentsResponse>
public Script.Projects.Deployments.List setAccessToken(String accessToken)
ScriptRequest
setAccessToken
in class ScriptRequest<ListDeploymentsResponse>
public Script.Projects.Deployments.List setAlt(String alt)
ScriptRequest
setAlt
in class ScriptRequest<ListDeploymentsResponse>
public Script.Projects.Deployments.List setCallback(String callback)
ScriptRequest
setCallback
in class ScriptRequest<ListDeploymentsResponse>
public Script.Projects.Deployments.List setFields(String fields)
ScriptRequest
setFields
in class ScriptRequest<ListDeploymentsResponse>
public Script.Projects.Deployments.List setKey(String key)
ScriptRequest
setKey
in class ScriptRequest<ListDeploymentsResponse>
public Script.Projects.Deployments.List setOauthToken(String oauthToken)
ScriptRequest
setOauthToken
in class ScriptRequest<ListDeploymentsResponse>
public Script.Projects.Deployments.List setPrettyPrint(Boolean prettyPrint)
ScriptRequest
setPrettyPrint
in class ScriptRequest<ListDeploymentsResponse>
public Script.Projects.Deployments.List setQuotaUser(String quotaUser)
ScriptRequest
setQuotaUser
in class ScriptRequest<ListDeploymentsResponse>
public Script.Projects.Deployments.List setUploadType(String uploadType)
ScriptRequest
setUploadType
in class ScriptRequest<ListDeploymentsResponse>
public Script.Projects.Deployments.List setUploadProtocol(String uploadProtocol)
ScriptRequest
setUploadProtocol
in class ScriptRequest<ListDeploymentsResponse>
public String getScriptId()
public Script.Projects.Deployments.List setScriptId(String scriptId)
public Integer getPageSize()
public Script.Projects.Deployments.List setPageSize(Integer pageSize)
public String getPageToken()
public Script.Projects.Deployments.List setPageToken(String pageToken)
public Script.Projects.Deployments.List set(String parameterName, Object value)
set
in class ScriptRequest<ListDeploymentsResponse>
Copyright © 2011–2024 Google. All rights reserved.