public class Drive.Properties.Delete extends DriveRequest<Void>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Delete(String fileId,
String propertyKey)
Deletes a property.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFileId()
The ID of the file.
|
String |
getPropertyKey()
The key of the property.
|
String |
getVisibility()
The visibility of the property.
|
Drive.Properties.Delete |
set(String parameterName,
Object value) |
Drive.Properties.Delete |
setAlt(String alt)
Data format for the response.
|
Drive.Properties.Delete |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Drive.Properties.Delete |
setFileId(String fileId)
The ID of the file.
|
Drive.Properties.Delete |
setKey(String key)
API key.
|
Drive.Properties.Delete |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Drive.Properties.Delete |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Drive.Properties.Delete |
setPropertyKey(String propertyKey)
The key of the property.
|
Drive.Properties.Delete |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Drive.Properties.Delete |
setUserIp(String userIp)
Deprecated.
|
Drive.Properties.Delete |
setVisibility(String visibility)
The visibility of the property.
|
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, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected Delete(String fileId, String propertyKey)
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.propertyKey - The key of the property.public Drive.Properties.Delete setAlt(String alt)
DriveRequestsetAlt in class DriveRequest<Void>public Drive.Properties.Delete setFields(String fields)
DriveRequestsetFields in class DriveRequest<Void>public Drive.Properties.Delete setKey(String key)
DriveRequestsetKey in class DriveRequest<Void>public Drive.Properties.Delete setOauthToken(String oauthToken)
DriveRequestsetOauthToken in class DriveRequest<Void>public Drive.Properties.Delete setPrettyPrint(Boolean prettyPrint)
DriveRequestsetPrettyPrint in class DriveRequest<Void>public Drive.Properties.Delete setQuotaUser(String quotaUser)
DriveRequestsetQuotaUser in class DriveRequest<Void>public Drive.Properties.Delete setUserIp(String userIp)
DriveRequestsetUserIp in class DriveRequest<Void>public String getFileId()
public Drive.Properties.Delete setFileId(String fileId)
public String getPropertyKey()
public Drive.Properties.Delete setPropertyKey(String propertyKey)
public String getVisibility()
public Drive.Properties.Delete setVisibility(String visibility)
public Drive.Properties.Delete set(String parameterName, Object value)
set in class DriveRequest<Void>Copyright © 2011–2023 Google. All rights reserved.