public class Monitoring.Projects.Groups.List extends MonitoringRequest<ListGroupsResponse>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
List(String name)
Lists the existing groups.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
String |
getAncestorsOfGroup()
A group name.
|
String |
getChildrenOfGroup()
A group name.
|
String |
getDescendantsOfGroup()
A group name.
|
String |
getName()
Required.
|
Integer |
getPageSize()
A positive number that is the maximum number of results to return.
|
String |
getPageToken()
If this field is not empty then it must contain the next_page_token value returned by a previous
call to this method.
|
Monitoring.Projects.Groups.List |
set(String parameterName,
Object value) |
Monitoring.Projects.Groups.List |
set$Xgafv(String $Xgafv)
V1 error format.
|
Monitoring.Projects.Groups.List |
setAccessToken(String accessToken)
OAuth access token.
|
Monitoring.Projects.Groups.List |
setAlt(String alt)
Data format for response.
|
Monitoring.Projects.Groups.List |
setAncestorsOfGroup(String ancestorsOfGroup)
A group name.
|
Monitoring.Projects.Groups.List |
setCallback(String callback)
JSONP
|
Monitoring.Projects.Groups.List |
setChildrenOfGroup(String childrenOfGroup)
A group name.
|
Monitoring.Projects.Groups.List |
setDescendantsOfGroup(String descendantsOfGroup)
A group name.
|
Monitoring.Projects.Groups.List |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Monitoring.Projects.Groups.List |
setKey(String key)
API key.
|
Monitoring.Projects.Groups.List |
setName(String name)
Required.
|
Monitoring.Projects.Groups.List |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Monitoring.Projects.Groups.List |
setPageSize(Integer pageSize)
A positive number that is the maximum number of results to return.
|
Monitoring.Projects.Groups.List |
setPageToken(String pageToken)
If this field is not empty then it must contain the next_page_token value returned by a
previous call to this method.
|
Monitoring.Projects.Groups.List |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Monitoring.Projects.Groups.List |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Monitoring.Projects.Groups.List |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Monitoring.Projects.Groups.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) whose groups are to
be listed. The format is: projects/[PROJECT_ID_OR_NUMBER]public com.google.api.client.http.HttpResponse executeUsingHead()
throws IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<ListGroupsResponse>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<ListGroupsResponse>IOExceptionpublic Monitoring.Projects.Groups.List set$Xgafv(String $Xgafv)
MonitoringRequestset$Xgafv in class MonitoringRequest<ListGroupsResponse>public Monitoring.Projects.Groups.List setAccessToken(String accessToken)
MonitoringRequestsetAccessToken in class MonitoringRequest<ListGroupsResponse>public Monitoring.Projects.Groups.List setAlt(String alt)
MonitoringRequestsetAlt in class MonitoringRequest<ListGroupsResponse>public Monitoring.Projects.Groups.List setCallback(String callback)
MonitoringRequestsetCallback in class MonitoringRequest<ListGroupsResponse>public Monitoring.Projects.Groups.List setFields(String fields)
MonitoringRequestsetFields in class MonitoringRequest<ListGroupsResponse>public Monitoring.Projects.Groups.List setKey(String key)
MonitoringRequestsetKey in class MonitoringRequest<ListGroupsResponse>public Monitoring.Projects.Groups.List setOauthToken(String oauthToken)
MonitoringRequestsetOauthToken in class MonitoringRequest<ListGroupsResponse>public Monitoring.Projects.Groups.List setPrettyPrint(Boolean prettyPrint)
MonitoringRequestsetPrettyPrint in class MonitoringRequest<ListGroupsResponse>public Monitoring.Projects.Groups.List setQuotaUser(String quotaUser)
MonitoringRequestsetQuotaUser in class MonitoringRequest<ListGroupsResponse>public Monitoring.Projects.Groups.List setUploadType(String uploadType)
MonitoringRequestsetUploadType in class MonitoringRequest<ListGroupsResponse>public Monitoring.Projects.Groups.List setUploadProtocol(String uploadProtocol)
MonitoringRequestsetUploadProtocol in class MonitoringRequest<ListGroupsResponse>public String getName()
public Monitoring.Projects.Groups.List setName(String name)
public String getAncestorsOfGroup()
public Monitoring.Projects.Groups.List setAncestorsOfGroup(String ancestorsOfGroup)
public String getChildrenOfGroup()
public Monitoring.Projects.Groups.List setChildrenOfGroup(String childrenOfGroup)
public String getDescendantsOfGroup()
public Monitoring.Projects.Groups.List setDescendantsOfGroup(String descendantsOfGroup)
public Integer getPageSize()
public Monitoring.Projects.Groups.List setPageSize(Integer pageSize)
public String getPageToken()
public Monitoring.Projects.Groups.List setPageToken(String pageToken)
public Monitoring.Projects.Groups.List set(String parameterName, Object value)
set in class MonitoringRequest<ListGroupsResponse>Copyright © 2011–2024 Google. All rights reserved.