# GKE Hub V1 API - Class Google::Cloud::GkeHub::V1::FeatureState (v2.6.0)

2.6.0 (latest) 2.5.0 2.4.1 2.3.0 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.10.0 0.9.0 0.8.2 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.2 Reference documentation and code samples for the GKE Hub V1 API class Google::Cloud::GkeHub::V1::FeatureState.

FeatureState describes the high-level state of a Feature. It may be used to
describe a Feature's state at the environ-level, or per-membershop, depending
on the context.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #code

    def code() -> ::Google::Cloud::GkeHub::V1::FeatureState::Code

**Returns**

- ([::Google::Cloud::GkeHub::V1::FeatureState::Code](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1/latest/Google-Cloud-GkeHub-V1-FeatureState-Code)) --- The high-level, machine-readable status of this Feature.

### #code=

    def code=(value) -> ::Google::Cloud::GkeHub::V1::FeatureState::Code

**Parameter**

- **value** ([::Google::Cloud::GkeHub::V1::FeatureState::Code](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1/latest/Google-Cloud-GkeHub-V1-FeatureState-Code)) --- The high-level, machine-readable status of this Feature.
**Returns**

- ([::Google::Cloud::GkeHub::V1::FeatureState::Code](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1/latest/Google-Cloud-GkeHub-V1-FeatureState-Code)) --- The high-level, machine-readable status of this Feature.

### #description

    def description() -> ::String

**Returns**

- (::String) --- A human-readable description of the current status.

### #description=

    def description=(value) -> ::String

**Parameter**

- **value** (::String) --- A human-readable description of the current status.
**Returns**

- (::String) --- A human-readable description of the current status.

### #update_time

    def update_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1/latest/Google-Protobuf-Timestamp)) --- The time this status and any related Feature-specific details were updated.

### #update_time=

    def update_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1/latest/Google-Protobuf-Timestamp)) --- The time this status and any related Feature-specific details were updated.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1/latest/Google-Protobuf-Timestamp)) --- The time this status and any related Feature-specific details were updated.