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

Enum: PieChart::PieChartType

  • PIE_CHART_TYPE_UNSPECIFIED => 0

  • PIE => 1

  • DONUT => 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.