- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Lists the monitored resources that are members of a group.
HTTP request
GET https://monitoring.googleapis.com/v3/{name}/members
Path parameters
Parameters | |
---|---|
name |
Required. The group whose members are listed. The format is:
|
Query parameters
Parameters | |
---|---|
pageSize |
A positive number that is the maximum number of results to return. |
pageToken |
If this field is not empty then it must contain the |
filter |
An optional list filter describing the members to be returned. The filter may reference the type, labels, and metadata of monitored resources that comprise the group. For example, to return only resources representing Compute Engine VM instances, use this filter:
|
interval |
An optional time interval for which results should be returned. Only members that were part of the group during the specified interval are included in the response. If no interval is provided then the group membership over the last minute is returned. |
Request body
The request body must be empty.
Response body
The members.list
response.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"members": [
{
object ( |
Fields | |
---|---|
members[] |
A set of monitored resources in the group. |
nextPageToken |
If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as |
totalSize |
The total number of elements matching this request. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/monitoring
https://www.googleapis.com/auth/monitoring.read
For more information, see the Authentication Overview.