NAME
Google::Cloud::Capacityplanner::V1beta::Location - Compiled Protocol Buffers messages for google/cloud/capacityplanner/v1beta/location.proto
SYNOPSIS
use Google::Cloud::Capacityplanner::V1beta::Location;
my $msg = Google::Cloud::Capacityplanner::V1beta::Location::LocationIdentifier->new({
location_level => $location_level,
source => $source,
linked_locations => $linked_locations,
});
# Read or update a field
my $val = $msg->location_level();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Capacityplanner::V1beta::Location::LocationIdentifier->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/capacityplanner/v1beta/location.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::Location::LocationIdentifier
Identifier for a Google Cloud Platform location.
Inherits from Protobuf::Message.
Accessors
$msg->location_level()/$msg->location_level($value)Type:
Enum(Google::Cloud::Capacityplanner::V1beta::LocationLevel)The location level such as a region.
$msg->source()/$msg->source($value)Type:
StringRequired. Location where resource is sourced. For Cloud Storage, the alphabetically first location is the source.
$msg->linked_locations()/$msg->linked_locations($value)Type:
Message(Google::Cloud::Capacityplanner::V1beta::Location::LocationIdentifier::LinkedLocation)Optional. Other linked locations.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Capacityplanner::V1beta::Location::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.