public class Docs.Documents.Create extends DocsRequest<Document>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Create(Document content)
Creates a blank document using the title given in the request.
|
| Modifier and Type | Method and Description |
|---|---|
Docs.Documents.Create |
set(String parameterName,
Object value) |
Docs.Documents.Create |
set$Xgafv(String $Xgafv)
V1 error format.
|
Docs.Documents.Create |
setAccessToken(String accessToken)
OAuth access token.
|
Docs.Documents.Create |
setAlt(String alt)
Data format for response.
|
Docs.Documents.Create |
setCallback(String callback)
JSONP
|
Docs.Documents.Create |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Docs.Documents.Create |
setKey(String key)
API key.
|
Docs.Documents.Create |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Docs.Documents.Create |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Docs.Documents.Create |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Docs.Documents.Create |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Docs.Documents.Create |
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, 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, 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 Create(Document content)
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.
content - the Documentpublic Docs.Documents.Create set$Xgafv(String $Xgafv)
DocsRequestset$Xgafv in class DocsRequest<Document>public Docs.Documents.Create setAccessToken(String accessToken)
DocsRequestsetAccessToken in class DocsRequest<Document>public Docs.Documents.Create setAlt(String alt)
DocsRequestsetAlt in class DocsRequest<Document>public Docs.Documents.Create setCallback(String callback)
DocsRequestsetCallback in class DocsRequest<Document>public Docs.Documents.Create setFields(String fields)
DocsRequestsetFields in class DocsRequest<Document>public Docs.Documents.Create setKey(String key)
DocsRequestsetKey in class DocsRequest<Document>public Docs.Documents.Create setOauthToken(String oauthToken)
DocsRequestsetOauthToken in class DocsRequest<Document>public Docs.Documents.Create setPrettyPrint(Boolean prettyPrint)
DocsRequestsetPrettyPrint in class DocsRequest<Document>public Docs.Documents.Create setQuotaUser(String quotaUser)
DocsRequestsetQuotaUser in class DocsRequest<Document>public Docs.Documents.Create setUploadType(String uploadType)
DocsRequestsetUploadType in class DocsRequest<Document>public Docs.Documents.Create setUploadProtocol(String uploadProtocol)
DocsRequestsetUploadProtocol in class DocsRequest<Document>public Docs.Documents.Create set(String parameterName, Object value)
set in class DocsRequest<Document>Copyright © 2011–2025 Google. All rights reserved.