target.apidocs.com.google.api.services.drive.class-use.Drive.Files.Patch.html Maven / Gradle / Ivy
Uses of Class com.google.api.services.drive.Drive.Files.Patch (Google Drive API v2-rev20240521-2.0.0)
Uses of Class
com.google.api.services.drive.Drive.Files.Patch
-
Packages that use Drive.Files.Patch
Package
Description
com.google.api.services.drive
-
-
Uses of Drive.Files.Patch in com.google.api.services.drive
Methods in com.google.api.services.drive that return Drive.Files.Patch
Modifier and Type
Method and Description
Drive.Files.Patch
Drive.Files.patch(String fileId,
File content)
Updates a file's metadata and/or content.
Drive.Files.Patch
Drive.Files.Patch.set(String parameterName,
Object value)
Drive.Files.Patch
Drive.Files.Patch.set$Xgafv(String $Xgafv)
Drive.Files.Patch
Drive.Files.Patch.setAccessToken(String accessToken)
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.setCallback(String callback)
Drive.Files.Patch
Drive.Files.Patch.setConvert(Boolean convert)
Deprecated: This parameter has no function.
Drive.Files.Patch
Drive.Files.Patch.setEnforceSingleParent(Boolean enforceSingleParent)
Deprecated: Adding files to multiple folders is no longer supported.
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.setIncludeLabels(String includeLabels)
A comma-separated list of IDs of labels to include in the `labelInfo` part of the response.
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.setUploadProtocol(String uploadProtocol)
Drive.Files.Patch
Drive.Files.Patch.setUploadType(String uploadType)
Drive.Files.Patch
Drive.Files.Patch.setUseContentAsIndexableText(Boolean useContentAsIndexableText)
Whether to use the content as indexable text.
Copyright © 2011–2024 Google. All rights reserved.