public class Script.Projects.Get extends ScriptRequest<Project>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Get(String scriptId)
Gets a script project's metadata.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
String |
getScriptId()
The script project's Drive ID.
|
Script.Projects.Get |
set(String parameterName,
Object value) |
Script.Projects.Get |
set$Xgafv(String $Xgafv)
V1 error format.
|
Script.Projects.Get |
setAccessToken(String accessToken)
OAuth access token.
|
Script.Projects.Get |
setAlt(String alt)
Data format for response.
|
Script.Projects.Get |
setCallback(String callback)
JSONP
|
Script.Projects.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Script.Projects.Get |
setKey(String key)
API key.
|
Script.Projects.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Script.Projects.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Script.Projects.Get |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Script.Projects.Get |
setScriptId(String scriptId)
The script project's Drive ID.
|
Script.Projects.Get |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Script.Projects.Get |
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 Get(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<Project>
IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Project>
IOException
public Script.Projects.Get set$Xgafv(String $Xgafv)
ScriptRequest
set$Xgafv
in class ScriptRequest<Project>
public Script.Projects.Get setAccessToken(String accessToken)
ScriptRequest
setAccessToken
in class ScriptRequest<Project>
public Script.Projects.Get setAlt(String alt)
ScriptRequest
setAlt
in class ScriptRequest<Project>
public Script.Projects.Get setCallback(String callback)
ScriptRequest
setCallback
in class ScriptRequest<Project>
public Script.Projects.Get setFields(String fields)
ScriptRequest
setFields
in class ScriptRequest<Project>
public Script.Projects.Get setKey(String key)
ScriptRequest
setKey
in class ScriptRequest<Project>
public Script.Projects.Get setOauthToken(String oauthToken)
ScriptRequest
setOauthToken
in class ScriptRequest<Project>
public Script.Projects.Get setPrettyPrint(Boolean prettyPrint)
ScriptRequest
setPrettyPrint
in class ScriptRequest<Project>
public Script.Projects.Get setQuotaUser(String quotaUser)
ScriptRequest
setQuotaUser
in class ScriptRequest<Project>
public Script.Projects.Get setUploadType(String uploadType)
ScriptRequest
setUploadType
in class ScriptRequest<Project>
public Script.Projects.Get setUploadProtocol(String uploadProtocol)
ScriptRequest
setUploadProtocol
in class ScriptRequest<Project>
public String getScriptId()
public Script.Projects.Get setScriptId(String scriptId)
public Script.Projects.Get set(String parameterName, Object value)
set
in class ScriptRequest<Project>
Copyright © 2011–2024 Google. All rights reserved.