public sealed class Namespace : IMessage<Namespace>, IEquatable<Namespace>, IDeepCloneable<Namespace>, IBufferMessage, IMessage
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\u003eThis webpage details the \u003ccode\u003eNamespace\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.ServiceDirectory.V1\u003c/code\u003e library, which serves as a container for grouping services and defining permissions in Google Cloud's Service Directory.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented is 2.6.0, but a number of previous versions are available, with version 1.4.0 being the version in context for this specific document page.\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 the base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNamespace\u003c/code\u003e class includes properties like \u003ccode\u003eLabels\u003c/code\u003e (a map of string key-value pairs) and \u003ccode\u003eName\u003c/code\u003e (the resource name for the namespace), along with a typed view of the name via \u003ccode\u003eNamespaceName\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eTwo constructors are provided for the \u003ccode\u003eNamespace\u003c/code\u003e class: one parameterless and one that accepts another \u003ccode\u003eNamespace\u003c/code\u003e instance for creating a copy.\u003c/p\u003e\n"]]],[],null,[]]