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
$msg->specific_allocation()/$msg->specific_allocation($value)Type:
Message(Google::Cloud::Capacityplanner::V1beta::Allocation::Allocation::SpecificSKUAllocation)Reservation for instances with specific machine shapes.
$msg->id()/$msg->id($value)Type:
Int64The unique identifier for the resource. This identifier is defined by the server.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The creation timestamp for this allocation.
$msg->zone()/$msg->zone($value)Type:
StringZone in which the reservation resides.
$msg->description()/$msg->description($value)Type:
StringA description while creating reservation.
$msg->allocation()/$msg->allocation($value)Type:
StringThe reservation resource name.
$msg->owner_project_id()/$msg->owner_project_id($value)Type:
String$msg->status()/$msg->status($value)Type:
Enum(Google::Cloud::Capacityplanner::V1beta::Allocation::Status)The status of the reservation.
$msg->share_settings()/$msg->share_settings($value)Type:
Message(Google::Cloud::Capacityplanner::V1beta::Allocation::Allocation::ShareSettings)Specify share-settings to create a shared reservation.
$msg->auto_delete_time()/$msg->auto_delete_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Absolute time in future when the reservation will be auto-deleted by Compute Engine.
Enum: Allocation::Status
STATUS_UNSPECIFIED=>0INVALID=>1CREATING=>2READY=>3DELETING=>4UPDATING=>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.