public class Monitoring.Projects.NotificationChannels.List extends MonitoringRequest<ListNotificationChannelsResponse>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
List(String name)
Lists the notification channels that have been created for the project.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
String |
getFilter()
If provided, this field specifies the criteria that must be met by notification channels to be
included in the response.For more details, see sorting and filtering
(https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
|
String |
getName()
Required.
|
String |
getOrderBy()
A comma-separated list of fields by which to sort the result.
|
Integer |
getPageSize()
The maximum number of results to return in a single response.
|
String |
getPageToken()
If non-empty, page_token must contain a value returned as the next_page_token in a previous
response to request the next set of results.
|
Monitoring.Projects.NotificationChannels.List |
set(String parameterName,
Object value) |
Monitoring.Projects.NotificationChannels.List |
set$Xgafv(String $Xgafv)
V1 error format.
|
Monitoring.Projects.NotificationChannels.List |
setAccessToken(String accessToken)
OAuth access token.
|
Monitoring.Projects.NotificationChannels.List |
setAlt(String alt)
Data format for response.
|
Monitoring.Projects.NotificationChannels.List |
setCallback(String callback)
JSONP
|
Monitoring.Projects.NotificationChannels.List |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Monitoring.Projects.NotificationChannels.List |
setFilter(String filter)
If provided, this field specifies the criteria that must be met by notification channels
to be included in the response.For more details, see sorting and filtering
(https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
|
Monitoring.Projects.NotificationChannels.List |
setKey(String key)
API key.
|
Monitoring.Projects.NotificationChannels.List |
setName(String name)
Required.
|
Monitoring.Projects.NotificationChannels.List |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Monitoring.Projects.NotificationChannels.List |
setOrderBy(String orderBy)
A comma-separated list of fields by which to sort the result.
|
Monitoring.Projects.NotificationChannels.List |
setPageSize(Integer pageSize)
The maximum number of results to return in a single response.
|
Monitoring.Projects.NotificationChannels.List |
setPageToken(String pageToken)
If non-empty, page_token must contain a value returned as the next_page_token in a
previous response to request the next set of results.
|
Monitoring.Projects.NotificationChannels.List |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Monitoring.Projects.NotificationChannels.List |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Monitoring.Projects.NotificationChannels.List |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Monitoring.Projects.NotificationChannels.List |
setUploadType(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, 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 List(String name)
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 - Required. The project (https://cloud.google.com/monitoring/api/v3#project_name) on which to execute
the request. The format is: projects/[PROJECT_ID_OR_NUMBER] This names the container in
which to look for the notification channels; it does not name a specific channel. To query
a specific channel by REST resource name, use the GetNotificationChannel operation.public com.google.api.client.http.HttpResponse executeUsingHead()
throws IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<ListNotificationChannelsResponse>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<ListNotificationChannelsResponse>IOExceptionpublic Monitoring.Projects.NotificationChannels.List set$Xgafv(String $Xgafv)
MonitoringRequestset$Xgafv in class MonitoringRequest<ListNotificationChannelsResponse>public Monitoring.Projects.NotificationChannels.List setAccessToken(String accessToken)
MonitoringRequestsetAccessToken in class MonitoringRequest<ListNotificationChannelsResponse>public Monitoring.Projects.NotificationChannels.List setAlt(String alt)
MonitoringRequestsetAlt in class MonitoringRequest<ListNotificationChannelsResponse>public Monitoring.Projects.NotificationChannels.List setCallback(String callback)
MonitoringRequestsetCallback in class MonitoringRequest<ListNotificationChannelsResponse>public Monitoring.Projects.NotificationChannels.List setFields(String fields)
MonitoringRequestsetFields in class MonitoringRequest<ListNotificationChannelsResponse>public Monitoring.Projects.NotificationChannels.List setKey(String key)
MonitoringRequestsetKey in class MonitoringRequest<ListNotificationChannelsResponse>public Monitoring.Projects.NotificationChannels.List setOauthToken(String oauthToken)
MonitoringRequestsetOauthToken in class MonitoringRequest<ListNotificationChannelsResponse>public Monitoring.Projects.NotificationChannels.List setPrettyPrint(Boolean prettyPrint)
MonitoringRequestsetPrettyPrint in class MonitoringRequest<ListNotificationChannelsResponse>public Monitoring.Projects.NotificationChannels.List setQuotaUser(String quotaUser)
MonitoringRequestsetQuotaUser in class MonitoringRequest<ListNotificationChannelsResponse>public Monitoring.Projects.NotificationChannels.List setUploadType(String uploadType)
MonitoringRequestsetUploadType in class MonitoringRequest<ListNotificationChannelsResponse>public Monitoring.Projects.NotificationChannels.List setUploadProtocol(String uploadProtocol)
MonitoringRequestsetUploadProtocol in class MonitoringRequest<ListNotificationChannelsResponse>public String getName()
public Monitoring.Projects.NotificationChannels.List setName(String name)
public String getFilter()
public Monitoring.Projects.NotificationChannels.List setFilter(String filter)
public String getOrderBy()
public Monitoring.Projects.NotificationChannels.List setOrderBy(String orderBy)
public Integer getPageSize()
public Monitoring.Projects.NotificationChannels.List setPageSize(Integer pageSize)
public String getPageToken()
public Monitoring.Projects.NotificationChannels.List setPageToken(String pageToken)
public Monitoring.Projects.NotificationChannels.List set(String parameterName, Object value)
set in class MonitoringRequest<ListNotificationChannelsResponse>Copyright © 2011–2024 Google. All rights reserved.