public class AlertCenter.Alerts.Get extends AlertCenterRequest<Alert>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Get(String alertId)
Gets the specified alert.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
String |
getAlertId()
Required.
|
String |
getCustomerId()
Optional.
|
AlertCenter.Alerts.Get |
set(String parameterName,
Object value) |
AlertCenter.Alerts.Get |
set$Xgafv(String $Xgafv)
V1 error format.
|
AlertCenter.Alerts.Get |
setAccessToken(String accessToken)
OAuth access token.
|
AlertCenter.Alerts.Get |
setAlertId(String alertId)
Required.
|
AlertCenter.Alerts.Get |
setAlt(String alt)
Data format for response.
|
AlertCenter.Alerts.Get |
setCallback(String callback)
JSONP
|
AlertCenter.Alerts.Get |
setCustomerId(String customerId)
Optional.
|
AlertCenter.Alerts.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
AlertCenter.Alerts.Get |
setKey(String key)
API key.
|
AlertCenter.Alerts.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
AlertCenter.Alerts.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
AlertCenter.Alerts.Get |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
AlertCenter.Alerts.Get |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
AlertCenter.Alerts.Get |
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, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, 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 Get(String alertId)
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 retrieve.public com.google.api.client.http.HttpResponse executeUsingHead()
throws IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Alert>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Alert>IOExceptionpublic AlertCenter.Alerts.Get set$Xgafv(String $Xgafv)
AlertCenterRequestset$Xgafv in class AlertCenterRequest<Alert>public AlertCenter.Alerts.Get setAccessToken(String accessToken)
AlertCenterRequestsetAccessToken in class AlertCenterRequest<Alert>public AlertCenter.Alerts.Get setAlt(String alt)
AlertCenterRequestsetAlt in class AlertCenterRequest<Alert>public AlertCenter.Alerts.Get setCallback(String callback)
AlertCenterRequestsetCallback in class AlertCenterRequest<Alert>public AlertCenter.Alerts.Get setFields(String fields)
AlertCenterRequestsetFields in class AlertCenterRequest<Alert>public AlertCenter.Alerts.Get setKey(String key)
AlertCenterRequestsetKey in class AlertCenterRequest<Alert>public AlertCenter.Alerts.Get setOauthToken(String oauthToken)
AlertCenterRequestsetOauthToken in class AlertCenterRequest<Alert>public AlertCenter.Alerts.Get setPrettyPrint(Boolean prettyPrint)
AlertCenterRequestsetPrettyPrint in class AlertCenterRequest<Alert>public AlertCenter.Alerts.Get setQuotaUser(String quotaUser)
AlertCenterRequestsetQuotaUser in class AlertCenterRequest<Alert>public AlertCenter.Alerts.Get setUploadType(String uploadType)
AlertCenterRequestsetUploadType in class AlertCenterRequest<Alert>public AlertCenter.Alerts.Get setUploadProtocol(String uploadProtocol)
AlertCenterRequestsetUploadProtocol in class AlertCenterRequest<Alert>public String getAlertId()
public AlertCenter.Alerts.Get setAlertId(String alertId)
public String getCustomerId()
public AlertCenter.Alerts.Get setCustomerId(String customerId)
public AlertCenter.Alerts.Get set(String parameterName, Object value)
set in class AlertCenterRequest<Alert>Copyright © 2011–2025 Google. All rights reserved.