public class AlertCenter.Alerts.Undelete extends AlertCenterRequest<Alert>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Undelete(String alertId,
UndeleteAlertRequest content)
Restores, or "undeletes", an alert that was marked for deletion within the past 30 days.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAlertId()
Required.
|
AlertCenter.Alerts.Undelete |
set(String parameterName,
Object value) |
AlertCenter.Alerts.Undelete |
set$Xgafv(String $Xgafv)
V1 error format.
|
AlertCenter.Alerts.Undelete |
setAccessToken(String accessToken)
OAuth access token.
|
AlertCenter.Alerts.Undelete |
setAlertId(String alertId)
Required.
|
AlertCenter.Alerts.Undelete |
setAlt(String alt)
Data format for response.
|
AlertCenter.Alerts.Undelete |
setCallback(String callback)
JSONP
|
AlertCenter.Alerts.Undelete |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
AlertCenter.Alerts.Undelete |
setKey(String key)
API key.
|
AlertCenter.Alerts.Undelete |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
AlertCenter.Alerts.Undelete |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
AlertCenter.Alerts.Undelete |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
AlertCenter.Alerts.Undelete |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
AlertCenter.Alerts.Undelete |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, 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 Undelete(String alertId, UndeleteAlertRequest content)
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
AlertCenter.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after invoking the constructor.
alertId - Required. The identifier of the alert to undelete.content - the UndeleteAlertRequestpublic AlertCenter.Alerts.Undelete set$Xgafv(String $Xgafv)
AlertCenterRequestset$Xgafv in class AlertCenterRequest<Alert>public AlertCenter.Alerts.Undelete setAccessToken(String accessToken)
AlertCenterRequestsetAccessToken in class AlertCenterRequest<Alert>public AlertCenter.Alerts.Undelete setAlt(String alt)
AlertCenterRequestsetAlt in class AlertCenterRequest<Alert>public AlertCenter.Alerts.Undelete setCallback(String callback)
AlertCenterRequestsetCallback in class AlertCenterRequest<Alert>public AlertCenter.Alerts.Undelete setFields(String fields)
AlertCenterRequestsetFields in class AlertCenterRequest<Alert>public AlertCenter.Alerts.Undelete setKey(String key)
AlertCenterRequestsetKey in class AlertCenterRequest<Alert>public AlertCenter.Alerts.Undelete setOauthToken(String oauthToken)
AlertCenterRequestsetOauthToken in class AlertCenterRequest<Alert>public AlertCenter.Alerts.Undelete setPrettyPrint(Boolean prettyPrint)
AlertCenterRequestsetPrettyPrint in class AlertCenterRequest<Alert>public AlertCenter.Alerts.Undelete setQuotaUser(String quotaUser)
AlertCenterRequestsetQuotaUser in class AlertCenterRequest<Alert>public AlertCenter.Alerts.Undelete setUploadType(String uploadType)
AlertCenterRequestsetUploadType in class AlertCenterRequest<Alert>public AlertCenter.Alerts.Undelete setUploadProtocol(String uploadProtocol)
AlertCenterRequestsetUploadProtocol in class AlertCenterRequest<Alert>public String getAlertId()
public AlertCenter.Alerts.Undelete setAlertId(String alertId)
public AlertCenter.Alerts.Undelete set(String parameterName, Object value)
set in class AlertCenterRequest<Alert>Copyright © 2011–2025 Google. All rights reserved.