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 serves as a container for grouping services, facilitating permission management for collections of services.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API for the \u003ccode\u003eNamespace\u003c/code\u003e class is 2.6.0, with versions ranging back to 1.0.0 available for use.\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, ensuring comprehensive functionality and compatibility.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eNamespace\u003c/code\u003e class include \u003ccode\u003eLabels\u003c/code\u003e, which allows for attaching metadata to the namespace, and \u003ccode\u003eName\u003c/code\u003e, the immutable resource name identifier.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors provided, a default one for initialization and another to create a copy of an existing \u003ccode\u003eNamespace\u003c/code\u003e object, using the parameter \u003ccode\u003eother\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]