NAME
Google::Monitoring::Dashboard::V1::Piechart - Compiled Protocol Buffers messages for google/monitoring/dashboard/v1/piechart.proto
SYNOPSIS
use Google::Monitoring::Dashboard::V1::Piechart;
my $msg = Google::Monitoring::Dashboard::V1::Piechart::PieChart->new({
data_sets => $data_sets,
chart_type => $chart_type,
show_labels => $show_labels,
});
# Read or update a field
my $val = $msg->data_sets();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Monitoring::Dashboard::V1::Piechart::PieChart->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/monitoring/dashboard/v1/piechart.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::Dashboard::V1::Piechart::PieChart
A widget that displays timeseries data as a pie or a donut.
Inherits from Protobuf::Message.
Accessors
$msg->data_sets()/$msg->data_sets($value)Type:
Message(Google::Monitoring::Dashboard::V1::Piechart::PieChart::PieChartDataSet)Required. The queries for the chart's data.
$msg->chart_type()/$msg->chart_type($value)Type:
Enum(Google::Monitoring::Dashboard::V1::PieChart::PieChartType)Required. Indicates the visualization type for the PieChart.
$msg->show_labels()/$msg->show_labels($value)Type:
BoolOptional. Indicates whether or not the pie chart should show slices' labels
Enum: PieChart::PieChartType
PIE_CHART_TYPE_UNSPECIFIED=>0PIE=>1DONUT=>2
SEE ALSO
Protobuf, Protobuf::Message, Google::Monitoring::Dashboard::V1::Piechart::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.