Package | Description |
---|---|
com.google.api.services.drive | |
com.google.api.services.drive.model |
Modifier and Type | Method and Description |
---|---|
Drive.Revisions.Patch |
Drive.Revisions.patch(String fileId,
String revisionId,
Revision content)
Updates a revision.
|
Drive.Revisions.Update |
Drive.Revisions.update(String fileId,
String revisionId,
Revision content)
Updates a revision.
|
Constructor and Description |
---|
Patch(String fileId,
String revisionId,
Revision content)
Updates a revision.
|
Update(String fileId,
String revisionId,
Revision content)
Updates a revision.
|
Modifier and Type | Method and Description |
---|---|
Revision |
Revision.clone() |
Revision |
Revision.set(String fieldName,
Object value) |
Revision |
Revision.setDownloadUrl(String downloadUrl) |
Revision |
Revision.setEtag(String etag)
The ETag of the revision.
|
Revision |
Revision.setExportLinks(Map<String,String> exportLinks)
Links for exporting Docs Editors files to specific formats.
|
Revision |
Revision.setFileSize(Long fileSize)
The size of the revision in bytes.
|
Revision |
Revision.setId(String id)
The ID of the revision.
|
Revision |
Revision.setKind(String kind)
This is always drive#revision.
|
Revision |
Revision.setLastModifyingUser(User lastModifyingUser)
The last user to modify this revision.
|
Revision |
Revision.setLastModifyingUserName(String lastModifyingUserName)
Name of the last user to modify this revision.
|
Revision |
Revision.setMd5Checksum(String md5Checksum)
An MD5 checksum for the content of this revision.
|
Revision |
Revision.setMimeType(String mimeType)
The MIME type of the revision.
|
Revision |
Revision.setModifiedDate(DateTime modifiedDate)
Last time this revision was modified (formatted RFC 3339 timestamp).
|
Revision |
Revision.setOriginalFilename(String originalFilename)
The original filename when this revision was created.
|
Revision |
Revision.setPinned(Boolean pinned)
Whether this revision is pinned to prevent automatic purging.
|
Revision |
Revision.setPublishAuto(Boolean publishAuto)
Whether subsequent revisions will be automatically republished.
|
Revision |
Revision.setPublished(Boolean published)
Whether this revision is published.
|
Revision |
Revision.setPublishedLink(String publishedLink)
A link to the published revision.
|
Revision |
Revision.setPublishedOutsideDomain(Boolean publishedOutsideDomain)
Whether this revision is published outside the domain.
|
Revision |
Revision.setSelfLink(String selfLink)
A link back to this revision.
|
Modifier and Type | Method and Description |
---|---|
List<Revision> |
RevisionList.getItems()
The list of revisions.
|
Modifier and Type | Method and Description |
---|---|
RevisionList |
RevisionList.setItems(List<Revision> items)
The list of revisions.
|
Copyright © 2011–2021 Google. All rights reserved.