GKE Hub v1 API - Class Scope (2.8.0)

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

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

Scope represents a Scope in a Fleet.

Inheritance

object > Scope

Namespace

Google.Cloud.GkeHub.V1

Assembly

Google.Cloud.GkeHub.V1.dll

Constructors

Scope()

public Scope()

Scope(Scope)

public Scope(Scope other)
Parameter
Name Description
other Scope

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. When the scope was created.

Property Value
Type Description
Timestamp

DeleteTime

public Timestamp DeleteTime { get; set; }

Output only. When the scope was deleted.

Property Value
Type Description
Timestamp

Labels

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

Optional. Labels for this Scope.

Property Value
Type Description
MapFieldstringstring

Name

public string Name { get; set; }

The resource name for the scope projects/{project}/locations/{location}/scopes/{scope}

Property Value
Type Description
string

NamespaceLabels

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

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

Property Value
Type Description
MapFieldstringstring

ScopeName

public ScopeName ScopeName { get; set; }

ScopeName-typed view over the Name resource name property.

Property Value
Type Description
ScopeName

State

public ScopeLifecycleState State { get; set; }

Output only. State of the scope resource.

Property Value
Type Description
ScopeLifecycleState

Uid

public string Uid { get; set; }

Output only. Google-generated UUID for this resource. This is unique across all scope resources. If a scope 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 scope was last updated.

Property Value
Type Description
Timestamp