public sealed class Namespace : IMessage<Namespace>, IEquatable<Namespace>, IDeepCloneable<Namespace>, IBufferMessage, IMessage
Reference documentation and code samples for the Service Directory v1 API class 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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eNamespace\u003c/code\u003e class in the Service Directory v1 API is a container for grouping services, allowing administrators to define permissions for collections of services.\u003c/p\u003e\n"],["\u003cp\u003eVersion 2.6.0 is the latest version, and version 2.4.0 is the current one being detailed with links to prior versions available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNamespace\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eNamespace\u003c/code\u003e class include \u003ccode\u003eLabels\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eNamespaceName\u003c/code\u003e, and \u003ccode\u003eUid\u003c/code\u003e, each serving specific purposes such as storing resource labels, the resource name, a typed view of the resource name, and the globally unique identifier, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe Namespace class has two contructors, one with no parameters, and one that takes another Namespace as a parameter.\u003c/p\u003e\n"]]],[],null,[]]