Package | Description |
---|---|
com.google.api.services.drive |
Modifier and Type | Method and Description |
---|---|
Drive.Permissions.Patch |
Drive.Permissions.patch(java.lang.String fileId,
java.lang.String permissionId,
Permission content)
Updates a permission using patch semantics.
|
Drive.Permissions.Patch |
Drive.Permissions.Patch.set(java.lang.String parameterName,
java.lang.Object value) |
Drive.Permissions.Patch |
Drive.Permissions.Patch.setAlt(java.lang.String alt) |
Drive.Permissions.Patch |
Drive.Permissions.Patch.setFields(java.lang.String fields) |
Drive.Permissions.Patch |
Drive.Permissions.Patch.setFileId(java.lang.String fileId)
The ID for the file or shared drive.
|
Drive.Permissions.Patch |
Drive.Permissions.Patch.setKey(java.lang.String key) |
Drive.Permissions.Patch |
Drive.Permissions.Patch.setOauthToken(java.lang.String oauthToken) |
Drive.Permissions.Patch |
Drive.Permissions.Patch.setPermissionId(java.lang.String permissionId)
The ID for the permission.
|
Drive.Permissions.Patch |
Drive.Permissions.Patch.setPrettyPrint(java.lang.Boolean prettyPrint) |
Drive.Permissions.Patch |
Drive.Permissions.Patch.setQuotaUser(java.lang.String quotaUser) |
Drive.Permissions.Patch |
Drive.Permissions.Patch.setRemoveExpiration(java.lang.Boolean removeExpiration)
Whether to remove the expiration date.
|
Drive.Permissions.Patch |
Drive.Permissions.Patch.setSupportsAllDrives(java.lang.Boolean supportsAllDrives)
Deprecated - Whether the requesting application supports both My Drives and shared drives.
|
Drive.Permissions.Patch |
Drive.Permissions.Patch.setSupportsTeamDrives(java.lang.Boolean supportsTeamDrives)
Deprecated use supportsAllDrives instead.
|
Drive.Permissions.Patch |
Drive.Permissions.Patch.setTransferOwnership(java.lang.Boolean transferOwnership)
Whether changing a role to 'owner' downgrades the current owners to writers.
|
Drive.Permissions.Patch |
Drive.Permissions.Patch.setUseDomainAdminAccess(java.lang.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.
|
Drive.Permissions.Patch |
Drive.Permissions.Patch.setUserIp(java.lang.String userIp) |