NAME
Google::Cloud::Servicedirectory::V1::Namespace - Compiled Protocol Buffers messages for google/cloud/servicedirectory/v1/namespace.proto
SYNOPSIS
use Google::Cloud::Servicedirectory::V1::Namespace;
my $msg = Google::Cloud::Servicedirectory::V1::Namespace::Namespace->new({
name => $name,
labels => $labels,
uid => $uid,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Servicedirectory::V1::Namespace::Namespace->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/servicedirectory/v1/namespace.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::Servicedirectory::V1::Namespace::Namespace
A container for [services][google.cloud.servicedirectory.v1.Service]. Namespaces allow administrators to group services together and define permissions for a collection of services.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringImmutable. The resource name for the namespace in the format `projects/*/locations/*/namespaces/*`.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Servicedirectory::V1::Namespace::Namespace::LabelsEntry)Optional. Resource labels associated with this namespace. No more than 64 user labels can be associated with a given resource. Label keys and values can be no longer than 63 characters.
$msg->uid()/$msg->uid($value)Type:
StringOutput only. The globally unique identifier of the namespace in the UUID4 format.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Servicedirectory::V1::Namespace::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.