Package | Description |
---|---|
com.google.api.services.drive | |
com.google.api.services.drive.model |
Modifier and Type | Method and Description |
---|---|
Drive.Revisions.Update |
Drive.Revisions.update(String fileId,
String revisionId,
Revision content)
Updates a revision with patch semantics.
|
Constructor and Description |
---|
Update(String fileId,
String revisionId,
Revision content)
Updates a revision with patch semantics.
|
Modifier and Type | Method and Description |
---|---|
Revision |
Revision.clone() |
Revision |
Revision.set(String fieldName,
Object value) |
Revision |
Revision.setExportLinks(Map<String,String> exportLinks)
Links for exporting Docs Editors files to specific formats.
|
Revision |
Revision.setId(String id)
The ID of the revision.
|
Revision |
Revision.setKeepForever(Boolean keepForever)
Whether to keep this revision forever, even if it is no longer the head revision.
|
Revision |
Revision.setKind(String kind)
Identifies what kind of resource this is.
|
Revision |
Revision.setLastModifyingUser(User lastModifyingUser)
The last user to modify this revision.
|
Revision |
Revision.setMd5Checksum(String md5Checksum)
The MD5 checksum of the revision's content.
|
Revision |
Revision.setMimeType(String mimeType)
The MIME type of the revision.
|
Revision |
Revision.setModifiedTime(com.google.api.client.util.DateTime modifiedTime)
The last time the revision was modified (RFC 3339 date-time).
|
Revision |
Revision.setOriginalFilename(String originalFilename)
The original filename used to create this revision.
|
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.setSize(Long size)
The size of the revision's content in bytes.
|
Modifier and Type | Method and Description |
---|---|
List<Revision> |
RevisionList.getRevisions()
The list of revisions.
|
Modifier and Type | Method and Description |
---|---|
RevisionList |
RevisionList.setRevisions(List<Revision> revisions)
The list of revisions.
|
Copyright © 2011–2023 Google. All rights reserved.