public class AlertCenter.Alerts.Undelete extends AlertCenterRequest<Alert>
com.google.api.client.util.GenericData.Flags
AbstractMap.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, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, 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, setReturnRawInputStream
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected 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 UndeleteAlertRequest
public AlertCenter.Alerts.Undelete set$Xgafv(String $Xgafv)
AlertCenterRequest
set$Xgafv
in class AlertCenterRequest<Alert>
public AlertCenter.Alerts.Undelete setAccessToken(String accessToken)
AlertCenterRequest
setAccessToken
in class AlertCenterRequest<Alert>
public AlertCenter.Alerts.Undelete setAlt(String alt)
AlertCenterRequest
setAlt
in class AlertCenterRequest<Alert>
public AlertCenter.Alerts.Undelete setCallback(String callback)
AlertCenterRequest
setCallback
in class AlertCenterRequest<Alert>
public AlertCenter.Alerts.Undelete setFields(String fields)
AlertCenterRequest
setFields
in class AlertCenterRequest<Alert>
public AlertCenter.Alerts.Undelete setKey(String key)
AlertCenterRequest
setKey
in class AlertCenterRequest<Alert>
public AlertCenter.Alerts.Undelete setOauthToken(String oauthToken)
AlertCenterRequest
setOauthToken
in class AlertCenterRequest<Alert>
public AlertCenter.Alerts.Undelete setPrettyPrint(Boolean prettyPrint)
AlertCenterRequest
setPrettyPrint
in class AlertCenterRequest<Alert>
public AlertCenter.Alerts.Undelete setQuotaUser(String quotaUser)
AlertCenterRequest
setQuotaUser
in class AlertCenterRequest<Alert>
public AlertCenter.Alerts.Undelete setUploadType(String uploadType)
AlertCenterRequest
setUploadType
in class AlertCenterRequest<Alert>
public AlertCenter.Alerts.Undelete setUploadProtocol(String uploadProtocol)
AlertCenterRequest
setUploadProtocol
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–2024 Google. All rights reserved.