NAME

Google::Cloud::Gkehub::Metering::V1beta::Metering - Compiled Protocol Buffers messages for google/cloud/gkehub/v1beta/metering/metering.proto

SYNOPSIS

use Google::Cloud::Gkehub::Metering::V1beta::Metering;

my $msg = Google::Cloud::Gkehub::Metering::V1beta::Metering::MembershipState->new({
    last_measurement_time => $last_measurement_time,
    precise_last_measured_cluster_vcpu_capacity => $precise_last_measured_cluster_vcpu_capacity,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Gkehub::Metering::V1beta::Metering::MembershipState->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/gkehub/v1beta/metering/metering.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::Gkehub::Metering::V1beta::Metering::MembershipState

Metering: Per-Membership Feature State.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    The time stamp of the most recent measurement of the number of vCPUs in the cluster.

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

    Type: Float

    The vCPUs capacity in the cluster according to the most recent measurement (1/1000 precision).

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Gkehub::Metering::V1beta::Metering::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.