public class Monitoring.Projects.NotificationChannels.Patch extends MonitoringRequest<NotificationChannel>
com.google.api.client.util.GenericData.Flags| Modifier | Constructor and Description |
|---|---|
protected |
Patch(java.lang.String name,
NotificationChannel content)
Updates a notification channel.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
The full REST resource name for this channel.
|
java.lang.String |
getUpdateMask()
The fields to update.
|
Monitoring.Projects.NotificationChannels.Patch |
set(java.lang.String parameterName,
java.lang.Object value) |
Monitoring.Projects.NotificationChannels.Patch |
set$Xgafv(java.lang.String $Xgafv)
V1 error format.
|
Monitoring.Projects.NotificationChannels.Patch |
setAccessToken(java.lang.String accessToken)
OAuth access token.
|
Monitoring.Projects.NotificationChannels.Patch |
setAlt(java.lang.String alt)
Data format for response.
|
Monitoring.Projects.NotificationChannels.Patch |
setCallback(java.lang.String callback)
JSONP
|
Monitoring.Projects.NotificationChannels.Patch |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Monitoring.Projects.NotificationChannels.Patch |
setKey(java.lang.String key)
API key.
|
Monitoring.Projects.NotificationChannels.Patch |
setName(java.lang.String name)
The full REST resource name for this channel.
|
Monitoring.Projects.NotificationChannels.Patch |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Monitoring.Projects.NotificationChannels.Patch |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Monitoring.Projects.NotificationChannels.Patch |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Monitoring.Projects.NotificationChannels.Patch |
setUpdateMask(java.lang.String updateMask)
The fields to update.
|
Monitoring.Projects.NotificationChannels.Patch |
setUploadProtocol(java.lang.String uploadProtocol)
Upload protocol for media (e.g.
|
Monitoring.Projects.NotificationChannels.Patch |
setUploadType(java.lang.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, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, valuesprotected Patch(java.lang.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 - The full REST resource name for this channel. The syntax is:
projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]
The [CHANNEL_ID] is automatically
assigned by the server on creation.content - the NotificationChannelpublic Monitoring.Projects.NotificationChannels.Patch set$Xgafv(java.lang.String $Xgafv)
MonitoringRequestset$Xgafv in class MonitoringRequest<NotificationChannel>public Monitoring.Projects.NotificationChannels.Patch setAccessToken(java.lang.String accessToken)
MonitoringRequestsetAccessToken in class MonitoringRequest<NotificationChannel>public Monitoring.Projects.NotificationChannels.Patch setAlt(java.lang.String alt)
MonitoringRequestsetAlt in class MonitoringRequest<NotificationChannel>public Monitoring.Projects.NotificationChannels.Patch setCallback(java.lang.String callback)
MonitoringRequestsetCallback in class MonitoringRequest<NotificationChannel>public Monitoring.Projects.NotificationChannels.Patch setFields(java.lang.String fields)
MonitoringRequestsetFields in class MonitoringRequest<NotificationChannel>public Monitoring.Projects.NotificationChannels.Patch setKey(java.lang.String key)
MonitoringRequestsetKey in class MonitoringRequest<NotificationChannel>public Monitoring.Projects.NotificationChannels.Patch setOauthToken(java.lang.String oauthToken)
MonitoringRequestsetOauthToken in class MonitoringRequest<NotificationChannel>public Monitoring.Projects.NotificationChannels.Patch setPrettyPrint(java.lang.Boolean prettyPrint)
MonitoringRequestsetPrettyPrint in class MonitoringRequest<NotificationChannel>public Monitoring.Projects.NotificationChannels.Patch setQuotaUser(java.lang.String quotaUser)
MonitoringRequestsetQuotaUser in class MonitoringRequest<NotificationChannel>public Monitoring.Projects.NotificationChannels.Patch setUploadType(java.lang.String uploadType)
MonitoringRequestsetUploadType in class MonitoringRequest<NotificationChannel>public Monitoring.Projects.NotificationChannels.Patch setUploadProtocol(java.lang.String uploadProtocol)
MonitoringRequestsetUploadProtocol in class MonitoringRequest<NotificationChannel>public java.lang.String getName()
public Monitoring.Projects.NotificationChannels.Patch setName(java.lang.String name)
public java.lang.String getUpdateMask()
public Monitoring.Projects.NotificationChannels.Patch setUpdateMask(java.lang.String updateMask)
public Monitoring.Projects.NotificationChannels.Patch set(java.lang.String parameterName, java.lang.Object value)
set in class MonitoringRequest<NotificationChannel>