NAME

Google::Cloud::Capacityplanner::V1beta::Allocation - Compiled Protocol Buffers messages for google/cloud/capacityplanner/v1beta/allocation.proto

SYNOPSIS

use Google::Cloud::Capacityplanner::V1beta::Allocation;

my $msg = Google::Cloud::Capacityplanner::V1beta::Allocation::Allocation->new({
    specific_allocation => $specific_allocation,
    id => $id,
    create_time => $create_time,
    zone => $zone,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/capacityplanner/v1beta/allocation.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::Capacityplanner::V1beta::Allocation::Allocation

Repesents Allocation which is part of aggregated reservations data response of "QueryReservations".

Inherits from Protobuf::Message.

Accessors

Enum: Allocation::Status

  • STATUS_UNSPECIFIED => 0

  • INVALID => 1

  • CREATING => 2

  • READY => 3

  • DELETING => 4

  • UPDATING => 5

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Capacityplanner::V1beta::Allocation::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.