public class Drive.Permissions.Delete extends DriveRequest<Void>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Drive.Permissions.Delete(String fileId,
String permissionId)
Deletes a permission.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFileId()
The ID of the file.
|
String |
getPermissionId()
The ID of the permission.
|
Drive.Permissions.Delete |
set(String parameterName,
Object value) |
Drive.Permissions.Delete |
setAlt(String alt)
Data format for the response.
|
Drive.Permissions.Delete |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Drive.Permissions.Delete |
setFileId(String fileId)
The ID of the file.
|
Drive.Permissions.Delete |
setKey(String key)
API key.
|
Drive.Permissions.Delete |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Drive.Permissions.Delete |
setPermissionId(String permissionId)
The ID of the permission.
|
Drive.Permissions.Delete |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Drive.Permissions.Delete |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Drive.Permissions.Delete |
setUserIp(String userIp)
IP address of the site where the request originates.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, valuesprotected Drive.Permissions.Delete(String fileId, String permissionId)
AbstractGoogleClientRequest.execute() method to invoke the remote operation. Drive.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must
be called to initialize this instance immediately after invoking the constructor.
fileId - The ID of the file.permissionId - The ID of the permission.public Drive.Permissions.Delete setAlt(String alt)
DriveRequestsetAlt in class DriveRequest<Void>public Drive.Permissions.Delete setFields(String fields)
DriveRequestsetFields in class DriveRequest<Void>public Drive.Permissions.Delete setKey(String key)
DriveRequestsetKey in class DriveRequest<Void>public Drive.Permissions.Delete setOauthToken(String oauthToken)
DriveRequestsetOauthToken in class DriveRequest<Void>public Drive.Permissions.Delete setPrettyPrint(Boolean prettyPrint)
DriveRequestsetPrettyPrint in class DriveRequest<Void>public Drive.Permissions.Delete setQuotaUser(String quotaUser)
DriveRequestsetQuotaUser in class DriveRequest<Void>public Drive.Permissions.Delete setUserIp(String userIp)
DriveRequestsetUserIp in class DriveRequest<Void>public String getFileId()
public Drive.Permissions.Delete setFileId(String fileId)
public String getPermissionId()
public Drive.Permissions.Delete setPermissionId(String permissionId)
public Drive.Permissions.Delete set(String parameterName, Object value)
set in class DriveRequest<Void>