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

Encapsulates Agones fleet spec and Agones autoscaler spec sources.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #game_server_config_name

    def game_server_config_name() -> ::String

**Returns**

- (::String) --- The game server config resource. Uses the form: `projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}/configs/{config_id}`.

### #game_server_config_name=

    def game_server_config_name=(value) -> ::String

**Parameter**

- **value** (::String) --- The game server config resource. Uses the form: `projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}/configs/{config_id}`.
**Returns**

- (::String) --- The game server config resource. Uses the form: `projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}/configs/{config_id}`.

### #name

    def name() -> ::String

**Returns**

- (::String) --- The name of the Agones leet config or Agones scaling config used to derive the Agones fleet or Agones autoscaler spec.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- The name of the Agones leet config or Agones scaling config used to derive the Agones fleet or Agones autoscaler spec.
**Returns**

- (::String) --- The name of the Agones leet config or Agones scaling config used to derive the Agones fleet or Agones autoscaler spec.