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.
Implements
IMessageNamespace, IEquatableNamespace, IDeepCloneableNamespace, IBufferMessage, IMessageNamespace
Google.Cloud.ServiceDirectory.V1Assembly
Google.Cloud.ServiceDirectory.V1.dll
Constructors
Namespace()
public Namespace()
Namespace(Namespace)
public Namespace(Namespace other)
Parameter | |
---|---|
Name | Description |
other |
Namespace |
Properties
Labels
public MapField<string, string> Labels { get; }
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.
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |
Name
public string Name { get; set; }
Immutable. The resource name for the namespace in the format
projects/*/locations/*/namespaces/*
.
Property Value | |
---|---|
Type | Description |
string |
NamespaceName
public NamespaceName NamespaceName { get; set; }
NamespaceName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
NamespaceName |
Uid
public string Uid { get; set; }
Output only. The globally unique identifier of the namespace in the UUID4 format.
Property Value | |
---|---|
Type | Description |
string |