Skip to main content

members

Creates, updates, deletes, gets or lists a members resource.

Overview

Namemembers
TypeResource
Idgoogle.monitoring.members

Fields

NameDatatypeDescription
labelsobjectRequired. 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".
typestringRequired. 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

NameAccessible byRequired ParamsDescription
projects_groups_members_listSELECTgroupsId, projectsIdLists 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 }}';