NAME
Google::Monitoring::V3::Group - Compiled Protocol Buffers messages for google/monitoring/v3/group.proto
SYNOPSIS
use Google::Monitoring::V3::Group;
my $msg = Google::Monitoring::V3::Group::Group->new({
name => $name,
display_name => $display_name,
parent_name => $parent_name,
filter => $filter,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Monitoring::V3::Group::Group->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/monitoring/v3/group.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Monitoring::V3::Group::Group
The description of a dynamic collection of monitored resources. Each group has a filter that is matched against monitored resources and their associated metadata. If a group's filter matches an available monitored resource, then that resource is a member of that group. Groups can contain any number of monitored resources, and each monitored resource can be a member of any number of groups.
Groups can be nested in parent-child hierarchies. The `parentName` field identifies an optional parent for each group. If a group has a parent, then the only monitored resources available to be matched by the group's filter are the resources contained in the parent group. In other words, a group contains the monitored resources that match its filter and the filters of all the group's ancestors. A group without a parent can contain any monitored resource.
For example, consider an infrastructure running a set of instances with two user-defined tags: `"environment"` and `"role"`. A parent group has a filter, `environment="production"`. A child of that parent group has a filter, `role="transcoder"`. The parent group contains all instances in the production environment, regardless of their roles. The child group contains instances that have the transcoder role *and* are in the production environment.
The monitored resources contained in a group can change at any moment, depending on what resources exist and what filters are associated with the group and its ancestors.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. The name of this group. The format is:
projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]When creating a group, this field is ignored and a new name is created consisting of the project specified in the call to `CreateGroup` and a unique `[GROUP_ID]` that is generated automatically.
$msg->display_name()/$msg->display_name($value)Type:
StringA user-assigned name for this group, used only for display purposes.
$msg->parent_name()/$msg->parent_name($value)Type:
StringThe name of the group's parent, if it has one. The format is:
projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID]For groups with no parent, `parent_name` is the empty string, `""`.
$msg->filter()/$msg->filter($value)Type:
StringThe filter used to determine which monitored resources belong to this group.
$msg->is_cluster()/$msg->is_cluster($value)Type:
BoolIf true, the members of this group are considered to be a cluster. The system can perform additional analysis on groups that are clusters.
SEE ALSO
Protobuf, Protobuf::Message, Google::Monitoring::V3::Group::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.