# Cloud Gaming V1 API - Class Google::Cloud::Gaming::V1::TargetState (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-TargetState)
- [0.6.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/0.6.0/Google-Cloud-Gaming-V1-TargetState)
- [0.5.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/0.5.0/Google-Cloud-Gaming-V1-TargetState)
- [0.4.4](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/0.4.4/Google-Cloud-Gaming-V1-TargetState)
Reference documentation and code samples for the Cloud Gaming V1 API class Google::Cloud::Gaming::V1::TargetState.

Encapsulates the Target state.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #details

    def details() -> ::Array<::Google::Cloud::Gaming::V1::TargetDetails>

**Returns**

- (::Array\<[::Google::Cloud::Gaming::V1::TargetDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/latest/Google-Cloud-Gaming-V1-TargetDetails)\>) --- Details about Agones fleets.

### #details=

    def details=(value) -> ::Array<::Google::Cloud::Gaming::V1::TargetDetails>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Gaming::V1::TargetDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/latest/Google-Cloud-Gaming-V1-TargetDetails)\>) --- Details about Agones fleets.
**Returns**

- (::Array\<[::Google::Cloud::Gaming::V1::TargetDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gaming-v1/latest/Google-Cloud-Gaming-V1-TargetDetails)\>) --- Details about Agones fleets.