Class Namespace (1.4.0)

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.

Inheritance

Object > Namespace

Namespace

Google.Cloud.ServiceDirectory.V1

Assembly

Google.Cloud.ServiceDirectory.V1.dll

Constructors

Namespace()

public Namespace()

Namespace(Namespace)

public Namespace(Namespace other)
Parameter
NameDescription
otherNamespace

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
TypeDescription
MapField<String, String>

Name

public string Name { get; set; }

Immutable. The resource name for the namespace in the format projects/*/locations/*/namespaces/*.

Property Value
TypeDescription
String

NamespaceName

public NamespaceName NamespaceName { get; set; }

NamespaceName-typed view over the Name resource name property.

Property Value
TypeDescription
NamespaceName