public sealed class Namespace : IMessage<Namespace>, IEquatable<Namespace>, IDeepCloneable<Namespace>, IBufferMessage, IMessage
Reference documentation and code samples for the Service Directory v1beta1 API class 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.
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 v1beta1 API serves as a container for grouping services, allowing administrators to manage permissions collectively.\u003c/p\u003e\n"],["\u003cp\u003eThis class, part of the \u003ccode\u003eGoogle.Cloud.ServiceDirectory.V1Beta1\u003c/code\u003e namespace, is implemented in the \u003ccode\u003eGoogle.Cloud.ServiceDirectory.V1Beta1.dll\u003c/code\u003e assembly and inherits from the \u003ccode\u003eobject\u003c/code\u003e class while implementing 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\u003eThe \u003ccode\u003eNamespace\u003c/code\u003e class includes properties like \u003ccode\u003eCreateTime\u003c/code\u003e, \u003ccode\u003eLabels\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eNamespaceName\u003c/code\u003e, \u003ccode\u003eUid\u003c/code\u003e, and \u003ccode\u003eUpdateTime\u003c/code\u003e, providing details about the namespace's creation, associated labels, resource name, unique identifier, and update timestamps.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNamespace\u003c/code\u003e class offers two constructors: a default constructor \u003ccode\u003eNamespace()\u003c/code\u003e and another that takes a \u003ccode\u003eNamespace\u003c/code\u003e object as an argument \u003ccode\u003eNamespace(Namespace other)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eName\u003c/code\u003e property is immutable and represents the resource name in the format \u003ccode\u003eprojects/*/locations/*/namespaces/*\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]