GKE Hub v1 API - Class Feature (2.2.0)

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

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

Feature represents the settings and status of any Hub Feature.

Inheritance

object > Feature

Namespace

Google.Cloud.GkeHub.V1

Assembly

Google.Cloud.GkeHub.V1.dll

Constructors

Feature()

public Feature()

Feature(Feature)

public Feature(Feature other)
Parameter
NameDescription
otherFeature

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. When the Feature resource was created.

Property Value
TypeDescription
Timestamp

DeleteTime

public Timestamp DeleteTime { get; set; }

Output only. When the Feature resource was deleted.

Property Value
TypeDescription
Timestamp

FeatureName

public FeatureName FeatureName { get; set; }

FeatureName-typed view over the Name resource name property.

Property Value
TypeDescription
FeatureName

Labels

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

GCP labels for this Feature.

Property Value
TypeDescription
MapFieldstringstring

MembershipSpecs

public MapField<string, MembershipFeatureSpec> MembershipSpecs { get; }

Optional. Membership-specific configuration for this Feature. If this Feature does not support any per-Membership configuration, this field may be unused.

The keys indicate which Membership the configuration is for, in the form:

projects/{p}/locations/{l}/memberships/{m}

Where {p} is the project, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} WILL match the Feature's project.

{p} will always be returned as the project number, but the project ID is also accepted during input. If the same Membership is specified in the map twice (using the project ID form, and the project number form), exactly ONE of the entries will be saved, with no guarantees as to which. For this reason, it is recommended the same format be used for all entries when mutating a Feature.

Property Value
TypeDescription
MapFieldstringMembershipFeatureSpec

MembershipStates

public MapField<string, MembershipFeatureState> MembershipStates { get; }

Output only. Membership-specific Feature status. If this Feature does report any per-Membership status, this field may be unused.

The keys indicate which Membership the state is for, in the form:

projects/{p}/locations/{l}/memberships/{m}

Where {p} is the project number, {l} is a valid location and {m} is a valid Membership in this project at that location. {p} MUST match the Feature's project number.

Property Value
TypeDescription
MapFieldstringMembershipFeatureState

Name

public string Name { get; set; }

Output only. The full, unique name of this Feature resource in the format projects/*/locations/*/features/*.

Property Value
TypeDescription
string

ResourceState

public FeatureResourceState ResourceState { get; set; }

Output only. State of the Feature resource itself.

Property Value
TypeDescription
FeatureResourceState

Spec

public CommonFeatureSpec Spec { get; set; }

Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused.

Property Value
TypeDescription
CommonFeatureSpec

State

public CommonFeatureState State { get; set; }

Output only. The Hub-wide Feature state.

Property Value
TypeDescription
CommonFeatureState

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. When the Feature resource was last updated.

Property Value
TypeDescription
Timestamp