public class Drive.Files.List extends DriveRequest<FileList>
com.google.api.client.util.GenericData.Flags| Modifier | Constructor and Description |
|---|---|
protected |
Drive.Files.List()
Lists the user's files.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
java.lang.String |
getCorpus()
The body of items (files/documents) to which the query applies.
|
java.lang.Integer |
getMaxResults()
Maximum number of files to return.
|
java.lang.String |
getOrderBy()
A comma-separated list of sort keys.
|
java.lang.String |
getPageToken()
Page token for files.
|
java.lang.String |
getProjection()
This parameter is deprecated and has no function.
|
java.lang.String |
getQ()
Query string for searching files.
|
java.lang.String |
getSpaces()
A comma-separated list of spaces to query.
|
Drive.Files.List |
set(java.lang.String parameterName,
java.lang.Object value) |
Drive.Files.List |
setAlt(java.lang.String alt)
Data format for the response.
|
Drive.Files.List |
setCorpus(java.lang.String corpus)
The body of items (files/documents) to which the query applies.
|
Drive.Files.List |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Drive.Files.List |
setKey(java.lang.String key)
API key.
|
Drive.Files.List |
setMaxResults(java.lang.Integer maxResults)
Maximum number of files to return.
|
Drive.Files.List |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Drive.Files.List |
setOrderBy(java.lang.String orderBy)
A comma-separated list of sort keys.
|
Drive.Files.List |
setPageToken(java.lang.String pageToken)
Page token for files.
|
Drive.Files.List |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Drive.Files.List |
setProjection(java.lang.String projection)
This parameter is deprecated and has no function.
|
Drive.Files.List |
setQ(java.lang.String q)
Query string for searching files.
|
Drive.Files.List |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Drive.Files.List |
setSpaces(java.lang.String spaces)
A comma-separated list of spaces to query.
|
Drive.Files.List |
setUserIp(java.lang.String userIp)
IP address of the site where the request originates.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysprotected Drive.Files.List()
AbstractGoogleClientRequest.execute() method to invoke the remote operation. Drive.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must be
called to initialize this instance immediately after invoking the constructor.
public com.google.api.client.http.HttpResponse executeUsingHead()
throws java.io.IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<FileList>java.io.IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws java.io.IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<FileList>java.io.IOExceptionpublic Drive.Files.List setAlt(java.lang.String alt)
DriveRequestsetAlt in class DriveRequest<FileList>public Drive.Files.List setFields(java.lang.String fields)
DriveRequestsetFields in class DriveRequest<FileList>public Drive.Files.List setKey(java.lang.String key)
DriveRequestsetKey in class DriveRequest<FileList>public Drive.Files.List setOauthToken(java.lang.String oauthToken)
DriveRequestsetOauthToken in class DriveRequest<FileList>public Drive.Files.List setPrettyPrint(java.lang.Boolean prettyPrint)
DriveRequestsetPrettyPrint in class DriveRequest<FileList>public Drive.Files.List setQuotaUser(java.lang.String quotaUser)
DriveRequestsetQuotaUser in class DriveRequest<FileList>public Drive.Files.List setUserIp(java.lang.String userIp)
DriveRequestsetUserIp in class DriveRequest<FileList>public java.lang.String getOrderBy()
public Drive.Files.List setOrderBy(java.lang.String orderBy)
public java.lang.String getProjection()
public Drive.Files.List setProjection(java.lang.String projection)
public java.lang.Integer getMaxResults()
public Drive.Files.List setMaxResults(java.lang.Integer maxResults)
public java.lang.String getQ()
public Drive.Files.List setQ(java.lang.String q)
public java.lang.String getPageToken()
public Drive.Files.List setPageToken(java.lang.String pageToken)
public java.lang.String getSpaces()
public Drive.Files.List setSpaces(java.lang.String spaces)
public java.lang.String getCorpus()
public Drive.Files.List setCorpus(java.lang.String corpus)
public Drive.Files.List set(java.lang.String parameterName, java.lang.Object value)
set in class DriveRequest<FileList>