target.apidocs.com.google.api.services.drive.class-use.Drive.Permissions.Create.html Maven / Gradle / Ivy
Uses of Class com.google.api.services.drive.Drive.Permissions.Create (Google Drive API v3-rev20241027-2.0.0)
Uses of Class
com.google.api.services.drive.Drive.Permissions.Create
-
Packages that use Drive.Permissions.Create
Package
Description
com.google.api.services.drive
-
-
Uses of Drive.Permissions.Create in com.google.api.services.drive
Methods in com.google.api.services.drive that return Drive.Permissions.Create
Modifier and Type
Method and Description
Drive.Permissions.Create
Drive.Permissions.create(String fileId,
Permission content)
Creates a permission for a file or shared drive.
Drive.Permissions.Create
Drive.Permissions.Create.set(String parameterName,
Object value)
Drive.Permissions.Create
Drive.Permissions.Create.set$Xgafv(String $Xgafv)
Drive.Permissions.Create
Drive.Permissions.Create.setAccessToken(String accessToken)
Drive.Permissions.Create
Drive.Permissions.Create.setAlt(String alt)
Drive.Permissions.Create
Drive.Permissions.Create.setCallback(String callback)
Drive.Permissions.Create
Drive.Permissions.Create.setEmailMessage(String emailMessage)
A plain text custom message to include in the notification email.
Drive.Permissions.Create
Drive.Permissions.Create.setEnforceSingleParent(Boolean enforceSingleParent)
Deprecated: See `moveToNewOwnersRoot` for details.
Drive.Permissions.Create
Drive.Permissions.Create.setFields(String fields)
Drive.Permissions.Create
Drive.Permissions.Create.setFileId(String fileId)
The ID of the file or shared drive.
Drive.Permissions.Create
Drive.Permissions.Create.setKey(String key)
Drive.Permissions.Create
Drive.Permissions.Create.setMoveToNewOwnersRoot(Boolean moveToNewOwnersRoot)
This parameter will only take effect if the item is not in a shared drive and the request
is attempting to transfer the ownership of the item.
Drive.Permissions.Create
Drive.Permissions.Create.setOauthToken(String oauthToken)
Drive.Permissions.Create
Drive.Permissions.Create.setPrettyPrint(Boolean prettyPrint)
Drive.Permissions.Create
Drive.Permissions.Create.setQuotaUser(String quotaUser)
Drive.Permissions.Create
Drive.Permissions.Create.setSendNotificationEmail(Boolean sendNotificationEmail)
Whether to send a notification email when sharing to users or groups.
Drive.Permissions.Create
Drive.Permissions.Create.setSupportsAllDrives(Boolean supportsAllDrives)
Whether the requesting application supports both My Drives and shared drives.
Drive.Permissions.Create
Drive.Permissions.Create.setSupportsTeamDrives(Boolean supportsTeamDrives)
Deprecated: Use `supportsAllDrives` instead.
Drive.Permissions.Create
Drive.Permissions.Create.setTransferOwnership(Boolean transferOwnership)
Whether to transfer ownership to the specified user and downgrade the current owner to a
writer.
Drive.Permissions.Create
Drive.Permissions.Create.setUploadProtocol(String uploadProtocol)
Drive.Permissions.Create
Drive.Permissions.Create.setUploadType(String uploadType)
Drive.Permissions.Create
Drive.Permissions.Create.setUseDomainAdminAccess(Boolean useDomainAdminAccess)
Issue the request as a domain administrator; if set to true, then the requester will be
granted access if the file ID parameter refers to a shared drive and the requester is an
administrator of the domain to which the shared drive belongs.
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy