public class Docs.Documents.Get extends DocsRequest<Document>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Get(String documentId)
Gets the latest version of the specified document.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
String |
getDocumentId()
The ID of the document to retrieve.
|
Boolean |
getIncludeTabsContent()
Whether to populate the Document.tabs field instead of the text content fields like `body` and
`documentStyle` on Document.
|
String |
getSuggestionsViewMode()
The suggestions view mode to apply to the document.
|
Docs.Documents.Get |
set(String parameterName,
Object value) |
Docs.Documents.Get |
set$Xgafv(String $Xgafv)
V1 error format.
|
Docs.Documents.Get |
setAccessToken(String accessToken)
OAuth access token.
|
Docs.Documents.Get |
setAlt(String alt)
Data format for response.
|
Docs.Documents.Get |
setCallback(String callback)
JSONP
|
Docs.Documents.Get |
setDocumentId(String documentId)
The ID of the document to retrieve.
|
Docs.Documents.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Docs.Documents.Get |
setIncludeTabsContent(Boolean includeTabsContent)
Whether to populate the Document.tabs field instead of the text content fields like `body`
and `documentStyle` on Document.
|
Docs.Documents.Get |
setKey(String key)
API key.
|
Docs.Documents.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Docs.Documents.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Docs.Documents.Get |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Docs.Documents.Get |
setSuggestionsViewMode(String suggestionsViewMode)
The suggestions view mode to apply to the document.
|
Docs.Documents.Get |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Docs.Documents.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, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected Get(String documentId)
AbstractGoogleClientRequest.execute() method to invoke the remote operation. Docs.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must be
called to initialize this instance immediately after invoking the constructor.
documentId - The ID of the document to retrieve.public com.google.api.client.http.HttpResponse executeUsingHead()
throws IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Document>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Document>IOExceptionpublic Docs.Documents.Get set$Xgafv(String $Xgafv)
DocsRequestset$Xgafv in class DocsRequest<Document>public Docs.Documents.Get setAccessToken(String accessToken)
DocsRequestsetAccessToken in class DocsRequest<Document>public Docs.Documents.Get setAlt(String alt)
DocsRequestsetAlt in class DocsRequest<Document>public Docs.Documents.Get setCallback(String callback)
DocsRequestsetCallback in class DocsRequest<Document>public Docs.Documents.Get setFields(String fields)
DocsRequestsetFields in class DocsRequest<Document>public Docs.Documents.Get setKey(String key)
DocsRequestsetKey in class DocsRequest<Document>public Docs.Documents.Get setOauthToken(String oauthToken)
DocsRequestsetOauthToken in class DocsRequest<Document>public Docs.Documents.Get setPrettyPrint(Boolean prettyPrint)
DocsRequestsetPrettyPrint in class DocsRequest<Document>public Docs.Documents.Get setQuotaUser(String quotaUser)
DocsRequestsetQuotaUser in class DocsRequest<Document>public Docs.Documents.Get setUploadType(String uploadType)
DocsRequestsetUploadType in class DocsRequest<Document>public Docs.Documents.Get setUploadProtocol(String uploadProtocol)
DocsRequestsetUploadProtocol in class DocsRequest<Document>public String getDocumentId()
public Docs.Documents.Get setDocumentId(String documentId)
public Boolean getIncludeTabsContent()
public Docs.Documents.Get setIncludeTabsContent(Boolean includeTabsContent)
public String getSuggestionsViewMode()
public Docs.Documents.Get setSuggestionsViewMode(String suggestionsViewMode)
public Docs.Documents.Get set(String parameterName, Object value)
set in class DocsRequest<Document>Copyright © 2011–2025 Google. All rights reserved.