Drive API v1 (revision 142)

A B C D E F G I P S U 

A

all() - Static method in class com.google.api.services.drive.DriveScopes
Returns an unmodifiable set that contains all scopes declared by this class.

B

build() - Method in class com.google.api.services.drive.Drive.Builder
Builds a new instance of Drive.
buildHttpRequestUsingHead() - Method in class com.google.api.services.drive.Drive.Files.Get
 

C

clone() - Method in class com.google.api.services.drive.model.File
 
clone() - Method in class com.google.api.services.drive.model.File.IndexableText
 
clone() - Method in class com.google.api.services.drive.model.File.Labels
 
clone() - Method in class com.google.api.services.drive.model.File.ParentsCollection
 
clone() - Method in class com.google.api.services.drive.model.Permission
 
com.google.api.services.drive - package com.google.api.services.drive
 
com.google.api.services.drive.model - package com.google.api.services.drive.model
 

D

DEFAULT_BASE_URL - Static variable in class com.google.api.services.drive.Drive
The default encoded base URL of the service.
DEFAULT_ROOT_URL - Static variable in class com.google.api.services.drive.Drive
The default encoded root URL of the service.
DEFAULT_SERVICE_PATH - Static variable in class com.google.api.services.drive.Drive
The default encoded service path of the service.
Drive - Class in com.google.api.services.drive
Service definition for Drive (v1).
Drive(HttpTransport, JsonFactory, HttpRequestInitializer) - Constructor for class com.google.api.services.drive.Drive
Constructor.
Drive.Builder - Class in com.google.api.services.drive
Builder for Drive.
Drive.Builder(HttpTransport, JsonFactory, HttpRequestInitializer) - Constructor for class com.google.api.services.drive.Drive.Builder
Returns an instance of a new builder.
Drive.Files - Class in com.google.api.services.drive
The "files" collection of methods.
Drive.Files() - Constructor for class com.google.api.services.drive.Drive.Files
 
Drive.Files.Get - Class in com.google.api.services.drive
 
Drive.Files.Get(String) - Constructor for class com.google.api.services.drive.Drive.Files.Get
Gets a file's metadata by id.
Drive.Files.Insert - Class in com.google.api.services.drive
 
Drive.Files.Insert(File) - Constructor for class com.google.api.services.drive.Drive.Files.Insert
Inserts a file, and any settable metadata or blob content sent with the request.
Drive.Files.Insert(File, AbstractInputStreamContent) - Constructor for class com.google.api.services.drive.Drive.Files.Insert
Inserts a file, and any settable metadata or blob content sent with the request.
Drive.Files.Patch - Class in com.google.api.services.drive
 
Drive.Files.Patch(String, File) - Constructor for class com.google.api.services.drive.Drive.Files.Patch
Updates file metadata and/or content.
Drive.Files.Update - Class in com.google.api.services.drive
 
Drive.Files.Update(String, File) - Constructor for class com.google.api.services.drive.Drive.Files.Update
Updates file metadata and/or content Create a request for the method "files.update".
Drive.Files.Update(String, File, AbstractInputStreamContent) - Constructor for class com.google.api.services.drive.Drive.Files.Update
Updates file metadata and/or content Create a request for the method "files.update".
DRIVE_FILE - Static variable in class com.google.api.services.drive.DriveScopes
View and manage Google Drive files and folders that you have opened or created with this app.
DriveRequest<T> - Class in com.google.api.services.drive
Drive request.
DriveRequest(Drive, String, String, Object, Class<T>) - Constructor for class com.google.api.services.drive.DriveRequest
 
DriveRequestInitializer - Class in com.google.api.services.drive
Drive request initializer for setting properties like key and userIp.
DriveRequestInitializer() - Constructor for class com.google.api.services.drive.DriveRequestInitializer
 
DriveRequestInitializer(String) - Constructor for class com.google.api.services.drive.DriveRequestInitializer
 
DriveRequestInitializer(String, String) - Constructor for class com.google.api.services.drive.DriveRequestInitializer
 
DriveScopes - Class in com.google.api.services.drive
Available OAuth 2.0 scopes for use with the Drive API.

E

executeUsingHead() - Method in class com.google.api.services.drive.Drive.Files.Get
 

F

File - Class in com.google.api.services.drive.model
The metadata for a file.
File() - Constructor for class com.google.api.services.drive.model.File
 
File.IndexableText - Class in com.google.api.services.drive.model
Indexable text attributes for the file (can only be written)
File.IndexableText() - Constructor for class com.google.api.services.drive.model.File.IndexableText
 
File.Labels - Class in com.google.api.services.drive.model
Labels for the file.
File.Labels() - Constructor for class com.google.api.services.drive.model.File.Labels
 
File.ParentsCollection - Class in com.google.api.services.drive.model
Model definition for FileParentsCollection.
File.ParentsCollection() - Constructor for class com.google.api.services.drive.model.File.ParentsCollection
 
files() - Method in class com.google.api.services.drive.Drive
An accessor for creating requests from the Files collection.

G

get(String) - Method in class com.google.api.services.drive.Drive.Files
Gets a file's metadata by id.
getAbstractGoogleClient() - Method in class com.google.api.services.drive.DriveRequest
 
getAdditionalRoles() - Method in class com.google.api.services.drive.model.Permission
Any additional roles that this permission describes.
getAlt() - Method in class com.google.api.services.drive.DriveRequest
Data format for the response.
getCreatedDate() - Method in class com.google.api.services.drive.model.File
Create time for this file (formatted RFC 3339 timestamp).
getDescription() - Method in class com.google.api.services.drive.model.File
A short description of the file
getDownloadUrl() - Method in class com.google.api.services.drive.model.File
 
getEtag() - Method in class com.google.api.services.drive.model.File
ETag of the file.
getEtag() - Method in class com.google.api.services.drive.model.Permission
An etag for this permission.
getFields() - Method in class com.google.api.services.drive.DriveRequest
Selector specifying which fields to include in a partial response.
getFileExtension() - Method in class com.google.api.services.drive.model.File
The file extension used when downloading this file.
getFileSize() - Method in class com.google.api.services.drive.model.File
The size of the file in bytes.
getHidden() - Method in class com.google.api.services.drive.model.File.Labels
Whether this file is hidden from the user
getId() - Method in class com.google.api.services.drive.Drive.Files.Get
The id for the file in question.
getId() - Method in class com.google.api.services.drive.Drive.Files.Patch
The id for the file in question.
getId() - Method in class com.google.api.services.drive.Drive.Files.Update
The id for the file in question.
getId() - Method in class com.google.api.services.drive.model.File
The id of the file.
getId() - Method in class com.google.api.services.drive.model.File.ParentsCollection
The id of this parent
getIndexableText() - Method in class com.google.api.services.drive.model.File
Indexable text attributes for the file (can only be written)
getKey() - Method in class com.google.api.services.drive.DriveRequest
API key.
getKind() - Method in class com.google.api.services.drive.model.File
The type of file.
getKind() - Method in class com.google.api.services.drive.model.Permission
The kind of this permission.
getLabels() - Method in class com.google.api.services.drive.model.File
Labels for the file.
getLastViewedDate() - Method in class com.google.api.services.drive.model.File
Last time this file was viewed by the user (formatted RFC 3339 timestamp).
getMd5Checksum() - Method in class com.google.api.services.drive.model.File
An MD5 checksum for the content of this file.
getMimeType() - Method in class com.google.api.services.drive.model.File
The mimetype of the file
getModifiedByMeDate() - Method in class com.google.api.services.drive.model.File
Last time this file was modified by the user (formatted RFC 3339 timestamp).
getModifiedDate() - Method in class com.google.api.services.drive.model.File
Last time this file was modified by anyone (formatted RFC 3339 timestamp).
getNewRevision() - Method in class com.google.api.services.drive.Drive.Files.Patch
Whether a blob upload should create a new revision.
getNewRevision() - Method in class com.google.api.services.drive.Drive.Files.Update
Whether a blob upload should create a new revision.
getOauthToken() - Method in class com.google.api.services.drive.DriveRequest
OAuth 2.0 token for the current user.
getParentLink() - Method in class com.google.api.services.drive.model.File.ParentsCollection
A link to get the metadata for this parent
getParentsCollection() - Method in class com.google.api.services.drive.model.File
Collection of parent folders which contain this file.
getPrettyPrint() - Method in class com.google.api.services.drive.DriveRequest
Returns response with indentations and line breaks.
getProjection() - Method in class com.google.api.services.drive.Drive.Files.Get
This parameter is deprecated and has no function.
getQuotaUser() - Method in class com.google.api.services.drive.DriveRequest
Available to use for quota purposes for server-side applications.
getRole() - Method in class com.google.api.services.drive.model.Permission
The role that this permission describes.
getSelfLink() - Method in class com.google.api.services.drive.model.File
A link back to this file.
getStarred() - Method in class com.google.api.services.drive.model.File.Labels
Whether this file is starred by the user.
getText() - Method in class com.google.api.services.drive.model.File.IndexableText
The text to be indexed for this file
getTitle() - Method in class com.google.api.services.drive.model.File
The title of this file.
getTrashed() - Method in class com.google.api.services.drive.model.File.Labels
Whether this file has been trashed.
getType() - Method in class com.google.api.services.drive.model.Permission
The type of permission (For example: user, group etc).
getUpdateModifiedDate() - Method in class com.google.api.services.drive.Drive.Files.Patch
Controls updating the modified date of the file.
getUpdateModifiedDate() - Method in class com.google.api.services.drive.Drive.Files.Update
Controls updating the modified date of the file.
getUpdateViewedDate() - Method in class com.google.api.services.drive.Drive.Files.Get
Whether to update the view date after successfully retrieving the file.
getUpdateViewedDate() - Method in class com.google.api.services.drive.Drive.Files.Patch
Whether to update the view date after successfully updating the file.
getUpdateViewedDate() - Method in class com.google.api.services.drive.Drive.Files.Update
Whether to update the view date after successfully updating the file.
getUserIp() - Method in class com.google.api.services.drive.DriveRequest
IP address of the site where the request originates.
getUserPermission() - Method in class com.google.api.services.drive.model.File
The permissions for the authenticated user on this file.

I

initialize(AbstractGoogleClientRequest<?>) - Method in class com.google.api.services.drive.Drive
 
initializeDriveRequest(DriveRequest<?>) - Method in class com.google.api.services.drive.DriveRequestInitializer
Initializes Drive request.
initializeJsonRequest(AbstractGoogleJsonClientRequest<?>) - Method in class com.google.api.services.drive.DriveRequestInitializer
 
insert(File) - Method in class com.google.api.services.drive.Drive.Files
Inserts a file, and any settable metadata or blob content sent with the request.
insert(File, AbstractInputStreamContent) - Method in class com.google.api.services.drive.Drive.Files
Inserts a file, and any settable metadata or blob content sent with the request.
isNewRevision() - Method in class com.google.api.services.drive.Drive.Files.Patch
Convenience method that returns only Boolean.TRUE or Boolean.FALSE.
isNewRevision() - Method in class com.google.api.services.drive.Drive.Files.Update
Convenience method that returns only Boolean.TRUE or Boolean.FALSE.
isUpdateModifiedDate() - Method in class com.google.api.services.drive.Drive.Files.Patch
Convenience method that returns only Boolean.TRUE or Boolean.FALSE.
isUpdateModifiedDate() - Method in class com.google.api.services.drive.Drive.Files.Update
Convenience method that returns only Boolean.TRUE or Boolean.FALSE.
isUpdateViewedDate() - Method in class com.google.api.services.drive.Drive.Files.Get
Convenience method that returns only Boolean.TRUE or Boolean.FALSE.
isUpdateViewedDate() - Method in class com.google.api.services.drive.Drive.Files.Patch
Convenience method that returns only Boolean.TRUE or Boolean.FALSE.
isUpdateViewedDate() - Method in class com.google.api.services.drive.Drive.Files.Update
Convenience method that returns only Boolean.TRUE or Boolean.FALSE.

P

patch(String, File) - Method in class com.google.api.services.drive.Drive.Files
Updates file metadata and/or content.
Permission - Class in com.google.api.services.drive.model
A single permission for a file.
Permission() - Constructor for class com.google.api.services.drive.model.Permission
 

S

set(String, Object) - Method in class com.google.api.services.drive.Drive.Files.Get
 
set(String, Object) - Method in class com.google.api.services.drive.Drive.Files.Insert
 
set(String, Object) - Method in class com.google.api.services.drive.Drive.Files.Patch
 
set(String, Object) - Method in class com.google.api.services.drive.Drive.Files.Update
 
set(String, Object) - Method in class com.google.api.services.drive.DriveRequest
 
set(String, Object) - Method in class com.google.api.services.drive.model.File.IndexableText
 
set(String, Object) - Method in class com.google.api.services.drive.model.File.Labels
 
set(String, Object) - Method in class com.google.api.services.drive.model.File.ParentsCollection
 
set(String, Object) - Method in class com.google.api.services.drive.model.File
 
set(String, Object) - Method in class com.google.api.services.drive.model.Permission
 
setAdditionalRoles(List<String>) - Method in class com.google.api.services.drive.model.Permission
Any additional roles that this permission describes.
setAlt(String) - Method in class com.google.api.services.drive.Drive.Files.Get
 
setAlt(String) - Method in class com.google.api.services.drive.Drive.Files.Insert
 
setAlt(String) - Method in class com.google.api.services.drive.Drive.Files.Patch
 
setAlt(String) - Method in class com.google.api.services.drive.Drive.Files.Update
 
setAlt(String) - Method in class com.google.api.services.drive.DriveRequest
Data format for the response.
setApplicationName(String) - Method in class com.google.api.services.drive.Drive.Builder
 
setCreatedDate(DateTime) - Method in class com.google.api.services.drive.model.File
Create time for this file (formatted RFC 3339 timestamp).
setDescription(String) - Method in class com.google.api.services.drive.model.File
A short description of the file
setDisableGZipContent(boolean) - Method in class com.google.api.services.drive.DriveRequest
 
setDownloadUrl(String) - Method in class com.google.api.services.drive.model.File
 
setDriveRequestInitializer(DriveRequestInitializer) - Method in class com.google.api.services.drive.Drive.Builder
setEtag(String) - Method in class com.google.api.services.drive.model.File
ETag of the file.
setEtag(String) - Method in class com.google.api.services.drive.model.Permission
An etag for this permission.
setFields(String) - Method in class com.google.api.services.drive.Drive.Files.Get
 
setFields(String) - Method in class com.google.api.services.drive.Drive.Files.Insert
 
setFields(String) - Method in class com.google.api.services.drive.Drive.Files.Patch
 
setFields(String) - Method in class com.google.api.services.drive.Drive.Files.Update
 
setFields(String) - Method in class com.google.api.services.drive.DriveRequest
Selector specifying which fields to include in a partial response.
setFileExtension(String) - Method in class com.google.api.services.drive.model.File
The file extension used when downloading this file.
setFileSize(Long) - Method in class com.google.api.services.drive.model.File
The size of the file in bytes.
setGoogleClientRequestInitializer(GoogleClientRequestInitializer) - Method in class com.google.api.services.drive.Drive.Builder
 
setHidden(Boolean) - Method in class com.google.api.services.drive.model.File.Labels
Whether this file is hidden from the user
setHttpRequestInitializer(HttpRequestInitializer) - Method in class com.google.api.services.drive.Drive.Builder
 
setId(String) - Method in class com.google.api.services.drive.Drive.Files.Get
The id for the file in question.
setId(String) - Method in class com.google.api.services.drive.Drive.Files.Patch
The id for the file in question.
setId(String) - Method in class com.google.api.services.drive.Drive.Files.Update
The id for the file in question.
setId(String) - Method in class com.google.api.services.drive.model.File.ParentsCollection
The id of this parent
setId(String) - Method in class com.google.api.services.drive.model.File
The id of the file.
setIndexableText(File.IndexableText) - Method in class com.google.api.services.drive.model.File
Indexable text attributes for the file (can only be written)
setKey(String) - Method in class com.google.api.services.drive.Drive.Files.Get
 
setKey(String) - Method in class com.google.api.services.drive.Drive.Files.Insert
 
setKey(String) - Method in class com.google.api.services.drive.Drive.Files.Patch
 
setKey(String) - Method in class com.google.api.services.drive.Drive.Files.Update
 
setKey(String) - Method in class com.google.api.services.drive.DriveRequest
API key.
setKind(String) - Method in class com.google.api.services.drive.model.File
The type of file.
setKind(String) - Method in class com.google.api.services.drive.model.Permission
The kind of this permission.
setLabels(File.Labels) - Method in class com.google.api.services.drive.model.File
Labels for the file.
setLastViewedDate(DateTime) - Method in class com.google.api.services.drive.model.File
Last time this file was viewed by the user (formatted RFC 3339 timestamp).
setMd5Checksum(String) - Method in class com.google.api.services.drive.model.File
An MD5 checksum for the content of this file.
setMimeType(String) - Method in class com.google.api.services.drive.model.File
The mimetype of the file
setModifiedByMeDate(DateTime) - Method in class com.google.api.services.drive.model.File
Last time this file was modified by the user (formatted RFC 3339 timestamp).
setModifiedDate(DateTime) - Method in class com.google.api.services.drive.model.File
Last time this file was modified by anyone (formatted RFC 3339 timestamp).
setNewRevision(Boolean) - Method in class com.google.api.services.drive.Drive.Files.Patch
Whether a blob upload should create a new revision.
setNewRevision(Boolean) - Method in class com.google.api.services.drive.Drive.Files.Update
Whether a blob upload should create a new revision.
setOauthToken(String) - Method in class com.google.api.services.drive.Drive.Files.Get
 
setOauthToken(String) - Method in class com.google.api.services.drive.Drive.Files.Insert
 
setOauthToken(String) - Method in class com.google.api.services.drive.Drive.Files.Patch
 
setOauthToken(String) - Method in class com.google.api.services.drive.Drive.Files.Update
 
setOauthToken(String) - Method in class com.google.api.services.drive.DriveRequest
OAuth 2.0 token for the current user.
setParentLink(String) - Method in class com.google.api.services.drive.model.File.ParentsCollection
A link to get the metadata for this parent
setParentsCollection(List<File.ParentsCollection>) - Method in class com.google.api.services.drive.model.File
Collection of parent folders which contain this file.
setPrettyPrint(Boolean) - Method in class com.google.api.services.drive.Drive.Files.Get
 
setPrettyPrint(Boolean) - Method in class com.google.api.services.drive.Drive.Files.Insert
 
setPrettyPrint(Boolean) - Method in class com.google.api.services.drive.Drive.Files.Patch
 
setPrettyPrint(Boolean) - Method in class com.google.api.services.drive.Drive.Files.Update
 
setPrettyPrint(Boolean) - Method in class com.google.api.services.drive.DriveRequest
Returns response with indentations and line breaks.
setProjection(String) - Method in class com.google.api.services.drive.Drive.Files.Get
This parameter is deprecated and has no function.
setQuotaUser(String) - Method in class com.google.api.services.drive.Drive.Files.Get
 
setQuotaUser(String) - Method in class com.google.api.services.drive.Drive.Files.Insert
 
setQuotaUser(String) - Method in class com.google.api.services.drive.Drive.Files.Patch
 
setQuotaUser(String) - Method in class com.google.api.services.drive.Drive.Files.Update
 
setQuotaUser(String) - Method in class com.google.api.services.drive.DriveRequest
Available to use for quota purposes for server-side applications.
setRequestHeaders(HttpHeaders) - Method in class com.google.api.services.drive.DriveRequest
 
setRole(String) - Method in class com.google.api.services.drive.model.Permission
The role that this permission describes.
setRootUrl(String) - Method in class com.google.api.services.drive.Drive.Builder
 
setSelfLink(String) - Method in class com.google.api.services.drive.model.File
A link back to this file.
setServicePath(String) - Method in class com.google.api.services.drive.Drive.Builder
 
setStarred(Boolean) - Method in class com.google.api.services.drive.model.File.Labels
Whether this file is starred by the user.
setSuppressAllChecks(boolean) - Method in class com.google.api.services.drive.Drive.Builder
 
setSuppressPatternChecks(boolean) - Method in class com.google.api.services.drive.Drive.Builder
 
setSuppressRequiredParameterChecks(boolean) - Method in class com.google.api.services.drive.Drive.Builder
 
setText(String) - Method in class com.google.api.services.drive.model.File.IndexableText
The text to be indexed for this file
setTitle(String) - Method in class com.google.api.services.drive.model.File
The title of this file.
setTrashed(Boolean) - Method in class com.google.api.services.drive.model.File.Labels
Whether this file has been trashed.
setType(String) - Method in class com.google.api.services.drive.model.Permission
The type of permission (For example: user, group etc).
setUpdateModifiedDate(Boolean) - Method in class com.google.api.services.drive.Drive.Files.Patch
Controls updating the modified date of the file.
setUpdateModifiedDate(Boolean) - Method in class com.google.api.services.drive.Drive.Files.Update
Controls updating the modified date of the file.
setUpdateViewedDate(Boolean) - Method in class com.google.api.services.drive.Drive.Files.Get
Whether to update the view date after successfully retrieving the file.
setUpdateViewedDate(Boolean) - Method in class com.google.api.services.drive.Drive.Files.Patch
Whether to update the view date after successfully updating the file.
setUpdateViewedDate(Boolean) - Method in class com.google.api.services.drive.Drive.Files.Update
Whether to update the view date after successfully updating the file.
setUserIp(String) - Method in class com.google.api.services.drive.Drive.Files.Get
 
setUserIp(String) - Method in class com.google.api.services.drive.Drive.Files.Insert
 
setUserIp(String) - Method in class com.google.api.services.drive.Drive.Files.Patch
 
setUserIp(String) - Method in class com.google.api.services.drive.Drive.Files.Update
 
setUserIp(String) - Method in class com.google.api.services.drive.DriveRequest
IP address of the site where the request originates.
setUserPermission(Permission) - Method in class com.google.api.services.drive.model.File
The permissions for the authenticated user on this file.

U

update(String, File) - Method in class com.google.api.services.drive.Drive.Files
Updates file metadata and/or content Create a request for the method "files.update".
update(String, File, AbstractInputStreamContent) - Method in class com.google.api.services.drive.Drive.Files
Updates file metadata and/or content Create a request for the method "files.update".
A B C D E F G I P S U