| Package | Description |
|---|---|
| com.google.api.services.drive |
| Modifier and Type | Method and Description |
|---|---|
Drive.Files.Patch |
Drive.Files.patch(java.lang.String fileId,
File content)
Updates file metadata and/or content.
|
Drive.Files.Patch |
Drive.Files.Patch.set(java.lang.String parameterName,
java.lang.Object value) |
Drive.Files.Patch |
Drive.Files.Patch.setAddParents(java.lang.String addParents)
Comma-separated list of parent IDs to add.
|
Drive.Files.Patch |
Drive.Files.Patch.setAlt(java.lang.String alt) |
Drive.Files.Patch |
Drive.Files.Patch.setConvert(java.lang.Boolean convert)
Whether to convert this file to the corresponding Google Docs format.
|
Drive.Files.Patch |
Drive.Files.Patch.setFields(java.lang.String fields) |
Drive.Files.Patch |
Drive.Files.Patch.setFileId(java.lang.String fileId)
The ID of the file to update.
|
Drive.Files.Patch |
Drive.Files.Patch.setKey(java.lang.String key) |
Drive.Files.Patch |
Drive.Files.Patch.setNewRevision(java.lang.Boolean newRevision)
Whether a blob upload should create a new revision.
|
Drive.Files.Patch |
Drive.Files.Patch.setOauthToken(java.lang.String oauthToken) |
Drive.Files.Patch |
Drive.Files.Patch.setOcr(java.lang.Boolean ocr)
Whether to attempt OCR on .jpg, .png, .gif, or .pdf uploads.
|
Drive.Files.Patch |
Drive.Files.Patch.setOcrLanguage(java.lang.String ocrLanguage)
If ocr is true, hints at the language to use.
|
Drive.Files.Patch |
Drive.Files.Patch.setPinned(java.lang.Boolean pinned)
Whether to pin the new revision.
|
Drive.Files.Patch |
Drive.Files.Patch.setPrettyPrint(java.lang.Boolean prettyPrint) |
Drive.Files.Patch |
Drive.Files.Patch.setQuotaUser(java.lang.String quotaUser) |
Drive.Files.Patch |
Drive.Files.Patch.setRemoveParents(java.lang.String removeParents)
Comma-separated list of parent IDs to remove.
|
Drive.Files.Patch |
Drive.Files.Patch.setSetModifiedDate(java.lang.Boolean setModifiedDate)
Whether to set the modified date with the supplied modified date.
|
Drive.Files.Patch |
Drive.Files.Patch.setTimedTextLanguage(java.lang.String timedTextLanguage)
The language of the timed text.
|
Drive.Files.Patch |
Drive.Files.Patch.setTimedTextTrackName(java.lang.String timedTextTrackName)
The timed text track name.
|
Drive.Files.Patch |
Drive.Files.Patch.setUpdateViewedDate(java.lang.Boolean updateViewedDate)
Whether to update the view date after successfully updating the file.
|
Drive.Files.Patch |
Drive.Files.Patch.setUseContentAsIndexableText(java.lang.Boolean useContentAsIndexableText)
Whether to use the content as indexable text.
|
Drive.Files.Patch |
Drive.Files.Patch.setUserIp(java.lang.String userIp) |