public class AlertCenter.Alerts.GetMetadata extends AlertCenterRequest<AlertMetadata>
com.google.api.client.util.GenericData.FlagsAbstractMap.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, 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 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>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<AlertMetadata>IOExceptionpublic AlertCenter.Alerts.GetMetadata set$Xgafv(String $Xgafv)
AlertCenterRequestset$Xgafv in class AlertCenterRequest<AlertMetadata>public AlertCenter.Alerts.GetMetadata setAccessToken(String accessToken)
AlertCenterRequestsetAccessToken in class AlertCenterRequest<AlertMetadata>public AlertCenter.Alerts.GetMetadata setAlt(String alt)
AlertCenterRequestsetAlt in class AlertCenterRequest<AlertMetadata>public AlertCenter.Alerts.GetMetadata setCallback(String callback)
AlertCenterRequestsetCallback in class AlertCenterRequest<AlertMetadata>public AlertCenter.Alerts.GetMetadata setFields(String fields)
AlertCenterRequestsetFields in class AlertCenterRequest<AlertMetadata>public AlertCenter.Alerts.GetMetadata setKey(String key)
AlertCenterRequestsetKey in class AlertCenterRequest<AlertMetadata>public AlertCenter.Alerts.GetMetadata setOauthToken(String oauthToken)
AlertCenterRequestsetOauthToken in class AlertCenterRequest<AlertMetadata>public AlertCenter.Alerts.GetMetadata setPrettyPrint(Boolean prettyPrint)
AlertCenterRequestsetPrettyPrint in class AlertCenterRequest<AlertMetadata>public AlertCenter.Alerts.GetMetadata setQuotaUser(String quotaUser)
AlertCenterRequestsetQuotaUser in class AlertCenterRequest<AlertMetadata>public AlertCenter.Alerts.GetMetadata setUploadType(String uploadType)
AlertCenterRequestsetUploadType in class AlertCenterRequest<AlertMetadata>public AlertCenter.Alerts.GetMetadata setUploadProtocol(String uploadProtocol)
AlertCenterRequestsetUploadProtocol 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–2025 Google. All rights reserved.