public class AlertCenter.Alerts.Get extends AlertCenterRequest<Alert>
com.google.api.client.util.GenericData.Flags
AbstractMap.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, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, 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 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>
IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Alert>
IOException
public AlertCenter.Alerts.Get set$Xgafv(String $Xgafv)
AlertCenterRequest
set$Xgafv
in class AlertCenterRequest<Alert>
public AlertCenter.Alerts.Get setAccessToken(String accessToken)
AlertCenterRequest
setAccessToken
in class AlertCenterRequest<Alert>
public AlertCenter.Alerts.Get setAlt(String alt)
AlertCenterRequest
setAlt
in class AlertCenterRequest<Alert>
public AlertCenter.Alerts.Get setCallback(String callback)
AlertCenterRequest
setCallback
in class AlertCenterRequest<Alert>
public AlertCenter.Alerts.Get setFields(String fields)
AlertCenterRequest
setFields
in class AlertCenterRequest<Alert>
public AlertCenter.Alerts.Get setKey(String key)
AlertCenterRequest
setKey
in class AlertCenterRequest<Alert>
public AlertCenter.Alerts.Get setOauthToken(String oauthToken)
AlertCenterRequest
setOauthToken
in class AlertCenterRequest<Alert>
public AlertCenter.Alerts.Get setPrettyPrint(Boolean prettyPrint)
AlertCenterRequest
setPrettyPrint
in class AlertCenterRequest<Alert>
public AlertCenter.Alerts.Get setQuotaUser(String quotaUser)
AlertCenterRequest
setQuotaUser
in class AlertCenterRequest<Alert>
public AlertCenter.Alerts.Get setUploadType(String uploadType)
AlertCenterRequest
setUploadType
in class AlertCenterRequest<Alert>
public AlertCenter.Alerts.Get setUploadProtocol(String uploadProtocol)
AlertCenterRequest
setUploadProtocol
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–2024 Google. All rights reserved.