NAME

Google::Cloud::Databasecenter::V1beta::MetricData - Compiled Protocol Buffers messages for google/cloud/databasecenter/v1beta/metric_data.proto

SYNOPSIS

use Google::Cloud::Databasecenter::V1beta::MetricData;

my $msg = Google::Cloud::Databasecenter::V1beta::MetricData::Metrics->new({
    p99_cpu_utilization => $p99_cpu_utilization,
    p95_cpu_utilization => $p95_cpu_utilization,
    current_storage_used_bytes => $current_storage_used_bytes,
    peak_storage_utilization => $peak_storage_utilization,
});

# Read or update a field
my $val = $msg->p99_cpu_utilization();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Databasecenter::V1beta::MetricData::Metrics->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/databasecenter/v1beta/metric_data.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Databasecenter::V1beta::MetricData::Metrics

Metrics represents the metrics for a database resource.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Databasecenter::V1beta::MetricData::MetricData

MetricData represents the metric data for a database resource.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Databasecenter::V1beta::MetricData::TypedValue

TypedValue represents the value of the metric based on data type.

Inherits from Protobuf::Message.

Accessors

  • $msg->double_value() / $msg->double_value($value)

    Type: Double

    The value of the metric as double.

  • $msg->int64_value() / $msg->int64_value($value)

    Type: Int64

    The value of the metric as int.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Databasecenter::V1beta::MetricData::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.