public class Docs.Documents.Create extends DocsRequest<Document>
com.google.api.client.util.GenericData.Flags
AbstractMap.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, 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(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 Document
public Docs.Documents.Create set$Xgafv(String $Xgafv)
DocsRequest
set$Xgafv
in class DocsRequest<Document>
public Docs.Documents.Create setAccessToken(String accessToken)
DocsRequest
setAccessToken
in class DocsRequest<Document>
public Docs.Documents.Create setAlt(String alt)
DocsRequest
setAlt
in class DocsRequest<Document>
public Docs.Documents.Create setCallback(String callback)
DocsRequest
setCallback
in class DocsRequest<Document>
public Docs.Documents.Create setFields(String fields)
DocsRequest
setFields
in class DocsRequest<Document>
public Docs.Documents.Create setKey(String key)
DocsRequest
setKey
in class DocsRequest<Document>
public Docs.Documents.Create setOauthToken(String oauthToken)
DocsRequest
setOauthToken
in class DocsRequest<Document>
public Docs.Documents.Create setPrettyPrint(Boolean prettyPrint)
DocsRequest
setPrettyPrint
in class DocsRequest<Document>
public Docs.Documents.Create setQuotaUser(String quotaUser)
DocsRequest
setQuotaUser
in class DocsRequest<Document>
public Docs.Documents.Create setUploadType(String uploadType)
DocsRequest
setUploadType
in class DocsRequest<Document>
public Docs.Documents.Create setUploadProtocol(String uploadProtocol)
DocsRequest
setUploadProtocol
in class DocsRequest<Document>
public Docs.Documents.Create set(String parameterName, Object value)
set
in class DocsRequest<Document>
Copyright © 2011–2023 Google. All rights reserved.