members
Creates, updates, deletes, gets or lists a members
resource.
Overview
Name | members |
Type | Resource |
Id | google.monitoring.members |
Fields
Name | Datatype | Description |
---|---|---|
labels | object | Required. Values for all of the labels listed in the associated monitored resource descriptor. For example, Compute Engine VM instances use the labels "project_id", "instance_id", and "zone". |
type | string | Required. The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor object. For example, the type of a Compute Engine VM instance is gce_instance. For a list of types, see Monitoring resource types (https://cloud.google.com/monitoring/api/resources) and Logging resource types (https://cloud.google.com/logging/docs/api/v2/resource-list). |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
projects_groups_members_list | SELECT | groupsId, projectsId | Lists the monitored resources that are members of a group. |
SELECT
examples
Lists the monitored resources that are members of a group.
SELECT
labels,
type
FROM google.monitoring.members
WHERE groupsId = '{{ groupsId }}'
AND projectsId = '{{ projectsId }}';