NAME

Google::Cloud::Servicedirectory::V1beta1::Namespace - Compiled Protocol Buffers messages for google/cloud/servicedirectory/v1beta1/namespace.proto

SYNOPSIS

use Google::Cloud::Servicedirectory::V1beta1::Namespace;

my $msg = Google::Cloud::Servicedirectory::V1beta1::Namespace::Namespace->new({
    name => $name,
    labels => $labels,
    create_time => $create_time,
    update_time => $update_time,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Servicedirectory::V1beta1::Namespace::Namespace->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/servicedirectory/v1beta1/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::V1beta1::Namespace::Namespace

A container for [services][google.cloud.servicedirectory.v1beta1.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: String

    Immutable. The resource name for the namespace in the format `projects/*/locations/*/namespaces/*`.

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

    Type: Message (Google::Cloud::Servicedirectory::V1beta1::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->create_time() / $msg->create_time($value)

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

    Output only. The timestamp when the namespace was created.

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

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

    Output only. The timestamp when the namespace was last updated.

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

    Type: String

    Output only. A globally unique identifier (in UUID4 format) for this namespace.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Servicedirectory::V1beta1::Namespace::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.