public class Monitoring.Projects.NotificationChannels.Patch extends MonitoringRequest<NotificationChannel>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Patch(String name,
NotificationChannel content)
Updates a notification channel.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, 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, 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 Patch(String name, NotificationChannel content)
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
Monitoring.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must
be called to initialize this instance immediately after invoking the constructor.
name - Identifier. The full REST resource name for this channel. The format is:
projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID] The [CHANNEL_ID] is
automatically assigned by the server on creation.content - the NotificationChannelpublic Monitoring.Projects.NotificationChannels.Patch set$Xgafv(String $Xgafv)
MonitoringRequestset$Xgafv in class MonitoringRequest<NotificationChannel>public Monitoring.Projects.NotificationChannels.Patch setAccessToken(String accessToken)
MonitoringRequestsetAccessToken in class MonitoringRequest<NotificationChannel>public Monitoring.Projects.NotificationChannels.Patch setAlt(String alt)
MonitoringRequestsetAlt in class MonitoringRequest<NotificationChannel>public Monitoring.Projects.NotificationChannels.Patch setCallback(String callback)
MonitoringRequestsetCallback in class MonitoringRequest<NotificationChannel>public Monitoring.Projects.NotificationChannels.Patch setFields(String fields)
MonitoringRequestsetFields in class MonitoringRequest<NotificationChannel>public Monitoring.Projects.NotificationChannels.Patch setKey(String key)
MonitoringRequestsetKey in class MonitoringRequest<NotificationChannel>public Monitoring.Projects.NotificationChannels.Patch setOauthToken(String oauthToken)
MonitoringRequestsetOauthToken in class MonitoringRequest<NotificationChannel>public Monitoring.Projects.NotificationChannels.Patch setPrettyPrint(Boolean prettyPrint)
MonitoringRequestsetPrettyPrint in class MonitoringRequest<NotificationChannel>public Monitoring.Projects.NotificationChannels.Patch setQuotaUser(String quotaUser)
MonitoringRequestsetQuotaUser in class MonitoringRequest<NotificationChannel>public Monitoring.Projects.NotificationChannels.Patch setUploadType(String uploadType)
MonitoringRequestsetUploadType in class MonitoringRequest<NotificationChannel>public Monitoring.Projects.NotificationChannels.Patch setUploadProtocol(String uploadProtocol)
MonitoringRequestsetUploadProtocol in class MonitoringRequest<NotificationChannel>public String getName()
public Monitoring.Projects.NotificationChannels.Patch setName(String name)
public String getUpdateMask()
public Monitoring.Projects.NotificationChannels.Patch setUpdateMask(String updateMask)
public Monitoring.Projects.NotificationChannels.Patch set(String parameterName, Object value)
set in class MonitoringRequest<NotificationChannel>Copyright © 2011–2025 Google. All rights reserved.