Package | Description |
---|---|
com.google.api.services.drive |
Modifier and Type | Method and Description |
---|---|
Drive.Files.Patch |
Drive.Files.patch(String fileId,
File content)
Updates file metadata and/or content.
|
Drive.Files.Patch |
Drive.Files.Patch.set(String parameterName,
Object value) |
Drive.Files.Patch |
Drive.Files.Patch.setAddParents(String addParents)
Comma-separated list of parent IDs to add.
|
Drive.Files.Patch |
Drive.Files.Patch.setAlt(String alt) |
Drive.Files.Patch |
Drive.Files.Patch.setConvert(Boolean convert)
This parameter is deprecated and has no function.
|
Drive.Files.Patch |
Drive.Files.Patch.setEnforceSingleParent(Boolean enforceSingleParent)
Deprecated.
|
Drive.Files.Patch |
Drive.Files.Patch.setFields(String fields) |
Drive.Files.Patch |
Drive.Files.Patch.setFileId(String fileId)
The ID of the file to update.
|
Drive.Files.Patch |
Drive.Files.Patch.setIncludePermissionsForView(String includePermissionsForView)
Specifies which additional view's permissions to include in the response.
|
Drive.Files.Patch |
Drive.Files.Patch.setKey(String key) |
Drive.Files.Patch |
Drive.Files.Patch.setModifiedDateBehavior(String modifiedDateBehavior)
Determines the behavior in which modifiedDate is updated.
|
Drive.Files.Patch |
Drive.Files.Patch.setNewRevision(Boolean newRevision)
Whether a blob upload should create a new revision.
|
Drive.Files.Patch |
Drive.Files.Patch.setOauthToken(String oauthToken) |
Drive.Files.Patch |
Drive.Files.Patch.setOcr(Boolean ocr)
Whether to attempt OCR on .jpg, .png, .gif, or .pdf uploads.
|
Drive.Files.Patch |
Drive.Files.Patch.setOcrLanguage(String ocrLanguage)
If ocr is true, hints at the language to use.
|
Drive.Files.Patch |
Drive.Files.Patch.setPinned(Boolean pinned)
Whether to pin the new revision.
|
Drive.Files.Patch |
Drive.Files.Patch.setPrettyPrint(Boolean prettyPrint) |
Drive.Files.Patch |
Drive.Files.Patch.setQuotaUser(String quotaUser) |
Drive.Files.Patch |
Drive.Files.Patch.setRemoveParents(String removeParents)
Comma-separated list of parent IDs to remove.
|
Drive.Files.Patch |
Drive.Files.Patch.setSetModifiedDate(Boolean setModifiedDate)
Whether to set the modified date using the value supplied in the request body.
|
Drive.Files.Patch |
Drive.Files.Patch.setSupportsAllDrives(Boolean supportsAllDrives)
Whether the requesting application supports both My Drives and shared drives.
|
Drive.Files.Patch |
Drive.Files.Patch.setSupportsTeamDrives(Boolean supportsTeamDrives)
Deprecated use supportsAllDrives instead.
|
Drive.Files.Patch |
Drive.Files.Patch.setTimedTextLanguage(String timedTextLanguage)
The language of the timed text.
|
Drive.Files.Patch |
Drive.Files.Patch.setTimedTextTrackName(String timedTextTrackName)
The timed text track name.
|
Drive.Files.Patch |
Drive.Files.Patch.setUpdateViewedDate(Boolean updateViewedDate)
Whether to update the view date after successfully updating the file.
|
Drive.Files.Patch |
Drive.Files.Patch.setUseContentAsIndexableText(Boolean useContentAsIndexableText)
Whether to use the content as indexable text.
|
Drive.Files.Patch |
Drive.Files.Patch.setUserIp(String userIp) |
Copyright © 2011–2021 Google. All rights reserved.