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\u003eThis documentation covers version 2.5.0 of the API, while version 2.6.0 is the latest available version for Google.Cloud.ServiceDirectory.V1, and there are several older versions available, all the way down to 1.0.0.\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, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNamespace\u003c/code\u003e class has properties for \u003ccode\u003eLabels\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eNamespaceName\u003c/code\u003e (a typed view of the resource name), and \u003ccode\u003eUid\u003c/code\u003e, each with their own specific type and purpose, such as storing resource labels or a unique identifier.\u003c/p\u003e\n"]]],[],null,[]]