# GKE Hub V1beta1 API - Class Google::Cloud::GkeHub::V1beta1::MembershipState (v0.21.0)

0.21.0 (latest) 0.20.1 0.19.0 0.18.1 0.17.0 0.16.0 0.15.0 0.14.1 0.13.0 0.12.0 0.11.1 0.10.2 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.2 Reference documentation and code samples for the GKE Hub V1beta1 API class Google::Cloud::GkeHub::V1beta1::MembershipState.

State of the Membership resource.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #code

    def code() -> ::Google::Cloud::GkeHub::V1beta1::MembershipState::Code

**Returns**

- ([::Google::Cloud::GkeHub::V1beta1::MembershipState::Code](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1beta1/latest/Google-Cloud-GkeHub-V1beta1-MembershipState-Code)) --- Output only. The current state of the Membership resource.

### #description

    def description() -> ::String

**Returns**

- (::String) --- This field is never set by the Hub Service.

### #description=

    def description=(value) -> ::String

**Parameter**

- **value** (::String) --- This field is never set by the Hub Service.
**Returns**

- (::String) --- This field is never set by the Hub Service.

### #update_time

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

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1beta1/latest/Google-Protobuf-Timestamp)) --- This field is never set by the Hub Service.

### #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-v1beta1/latest/Google-Protobuf-Timestamp)) --- This field is never set by the Hub Service.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_hub-v1beta1/latest/Google-Protobuf-Timestamp)) --- This field is never set by the Hub Service.