Cloud Monitoring V3 API - Module Google::Cloud::Monitoring::V3::GroupService (v0.18.0)

Reference documentation and code samples for the Cloud Monitoring V3 API module Google::Cloud::Monitoring::V3::GroupService.

The Group API lets you inspect and manage your groups.

A group is a named filter that is used to identify a collection of monitored resources. Groups are typically used to mirror the physical and/or logical topology of the environment. Because group membership is computed dynamically, monitored resources that are started in the future are automatically placed in matching groups. By using a group to name monitored resources in, for example, an alert policy, the target of that alert policy is updated automatically as monitored resources are added and removed from the infrastructure.

Example

Load this service and instantiate a gRPC client

require "google/cloud/monitoring/v3/group_service"
client = ::Google::Cloud::Monitoring::V3::GroupService::Client.new