public class AlertCenter.Alerts.GetMetadata extends AlertCenterRequest<AlertMetadata>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
GetMetadata(String alertId)
Returns the metadata of an alert.
|
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 GetMetadata(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 this metadata belongs to.public com.google.api.client.http.HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<AlertMetadata>
IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<AlertMetadata>
IOException
public AlertCenter.Alerts.GetMetadata set$Xgafv(String $Xgafv)
AlertCenterRequest
set$Xgafv
in class AlertCenterRequest<AlertMetadata>
public AlertCenter.Alerts.GetMetadata setAccessToken(String accessToken)
AlertCenterRequest
setAccessToken
in class AlertCenterRequest<AlertMetadata>
public AlertCenter.Alerts.GetMetadata setAlt(String alt)
AlertCenterRequest
setAlt
in class AlertCenterRequest<AlertMetadata>
public AlertCenter.Alerts.GetMetadata setCallback(String callback)
AlertCenterRequest
setCallback
in class AlertCenterRequest<AlertMetadata>
public AlertCenter.Alerts.GetMetadata setFields(String fields)
AlertCenterRequest
setFields
in class AlertCenterRequest<AlertMetadata>
public AlertCenter.Alerts.GetMetadata setKey(String key)
AlertCenterRequest
setKey
in class AlertCenterRequest<AlertMetadata>
public AlertCenter.Alerts.GetMetadata setOauthToken(String oauthToken)
AlertCenterRequest
setOauthToken
in class AlertCenterRequest<AlertMetadata>
public AlertCenter.Alerts.GetMetadata setPrettyPrint(Boolean prettyPrint)
AlertCenterRequest
setPrettyPrint
in class AlertCenterRequest<AlertMetadata>
public AlertCenter.Alerts.GetMetadata setQuotaUser(String quotaUser)
AlertCenterRequest
setQuotaUser
in class AlertCenterRequest<AlertMetadata>
public AlertCenter.Alerts.GetMetadata setUploadType(String uploadType)
AlertCenterRequest
setUploadType
in class AlertCenterRequest<AlertMetadata>
public AlertCenter.Alerts.GetMetadata setUploadProtocol(String uploadProtocol)
AlertCenterRequest
setUploadProtocol
in class AlertCenterRequest<AlertMetadata>
public String getAlertId()
public AlertCenter.Alerts.GetMetadata setAlertId(String alertId)
public String getCustomerId()
public AlertCenter.Alerts.GetMetadata setCustomerId(String customerId)
public AlertCenter.Alerts.GetMetadata set(String parameterName, Object value)
set
in class AlertCenterRequest<AlertMetadata>
Copyright © 2011–2024 Google. All rights reserved.