# Cloud Gaming V1 API - Class Google::Cloud::Gaming::V1::PreviewRealmUpdateResponse (v0.7.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.7.0 (latest)](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/latest/Google-Cloud-Gaming-V1-PreviewRealmUpdateResponse)
- [0.6.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/0.6.0/Google-Cloud-Gaming-V1-PreviewRealmUpdateResponse)
- [0.5.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/0.5.0/Google-Cloud-Gaming-V1-PreviewRealmUpdateResponse)
- [0.4.4](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/0.4.4/Google-Cloud-Gaming-V1-PreviewRealmUpdateResponse)
Reference documentation and code samples for the Cloud Gaming V1 API class Google::Cloud::Gaming::V1::PreviewRealmUpdateResponse.

Response message for RealmsService.PreviewRealmUpdate.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #etag

    def etag() -> ::String

**Returns**

- (::String) --- ETag of the realm.

### #etag=

    def etag=(value) -> ::String

**Parameter**

- **value** (::String) --- ETag of the realm.
**Returns**

- (::String) --- ETag of the realm.

### #target_state

    def target_state() -> ::Google::Cloud::Gaming::V1::TargetState

**Returns**

- ([::Google::Cloud::Gaming::V1::TargetState](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/latest/Google-Cloud-Gaming-V1-TargetState)) --- The target state.

### #target_state=

    def target_state=(value) -> ::Google::Cloud::Gaming::V1::TargetState

**Parameter**

- **value** ([::Google::Cloud::Gaming::V1::TargetState](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/latest/Google-Cloud-Gaming-V1-TargetState)) --- The target state.
**Returns**

- ([::Google::Cloud::Gaming::V1::TargetState](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/latest/Google-Cloud-Gaming-V1-TargetState)) --- The target state.