GKE Hub v1 API - Class Namespace (2.8.0)

public sealed class Namespace : IMessage<Namespace>, IEquatable<Namespace>, IDeepCloneable<Namespace>, IBufferMessage, IMessage

Reference documentation and code samples for the GKE Hub v1 API class Namespace.

Namespace represents a namespace across the Fleet

Inheritance

object > Namespace

Namespace

Google.Cloud.GkeHub.V1

Assembly

Google.Cloud.GkeHub.V1.dll

Constructors

Namespace()

public Namespace()

Namespace(Namespace)

public Namespace(Namespace other)
Parameter
Name Description
other Namespace

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. When the namespace was created.

Property Value
Type Description
Timestamp

DeleteTime

public Timestamp DeleteTime { get; set; }

Output only. When the namespace was deleted.

Property Value
Type Description
Timestamp

Labels

public MapField<string, string> Labels { get; }

Optional. Labels for this Namespace.

Property Value
Type Description
MapFieldstringstring

Name

public string Name { get; set; }

The resource name for the namespace projects/{project}/locations/{location}/namespaces/{namespace}

Property Value
Type Description
string

NamespaceLabels

public MapField<string, string> NamespaceLabels { get; }

Optional. Namespace-level cluster namespace labels. These labels are applied to the related namespace of the member clusters bound to the parent Scope. Scope-level labels (namespace_labels in the Fleet Scope resource) take precedence over Namespace-level labels if they share a key. Keys and values must be Kubernetes-conformant.

Property Value
Type Description
MapFieldstringstring

NamespaceName

public NamespaceName NamespaceName { get; set; }

NamespaceName-typed view over the Name resource name property.

Property Value
Type Description
NamespaceName

Scope

public string Scope { get; set; }

Required. Scope associated with the namespace

Property Value
Type Description
string

ScopeAsScopeName

public ScopeName ScopeAsScopeName { get; set; }

ScopeName-typed view over the Scope resource name property.

Property Value
Type Description
ScopeName

State

public NamespaceLifecycleState State { get; set; }

Output only. State of the namespace resource.

Property Value
Type Description
NamespaceLifecycleState

Uid

public string Uid { get; set; }

Output only. Google-generated UUID for this resource. This is unique across all namespace resources. If a namespace resource is deleted and another resource with the same name is created, it gets a different uid.

Property Value
Type Description
string

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. When the namespace was last updated.

Property Value
Type Description
Timestamp