# Method: projects.locations.getAttachedServerConfig

- [HTTP request](https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations/getAttachedServerConfig#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations/getAttachedServerConfig#body.PATH_PARAMETERS)
- [Request body](https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations/getAttachedServerConfig#body.request_body)
- [Response body](https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations/getAttachedServerConfig#body.response_body)
  - [JSON representation](https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations/getAttachedServerConfig#body.AttachedServerConfig.SCHEMA_REPRESENTATION)
- [Authorization scopes](https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations/getAttachedServerConfig#body.aspect)
- [IAM Permissions](https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations/getAttachedServerConfig#body.aspect_1)
- [AttachedPlatformVersionInfo](https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations/getAttachedServerConfig#AttachedPlatformVersionInfo)
  - [JSON representation](https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations/getAttachedServerConfig#AttachedPlatformVersionInfo.SCHEMA_REPRESENTATION)

Returns information, such as supported Kubernetes versions, on a given Google Cloud location.

### HTTP request

`GET https://{endpoint}/v1/{name=projects/*/locations/*/attachedServerConfig}`

Where `{endpoint}` is one of the [supported service endpoints](https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest#rest_endpoints).

The URLs use [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `name` | `string` Required. The name of the `https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations/getAttachedServerConfig#body.AttachedServerConfig` resource to describe. `AttachedServerConfig` names are formatted as `projects/<project-id>/locations/<region>/attachedServerConfig`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names. |

### Request body

The request body must be empty.

### Response body

AttachedServerConfig provides information about supported Kubernetes versions

If successful, the response body contains data with the following structure:

| JSON representation |
|---|
| ``` { "name": string, "validVersions": [ { object (`https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations/getAttachedServerConfig#AttachedPlatformVersionInfo`) } ] } ``` |

| Fields ||
|---|---|
| `name` | `string` The resource name of the config. |
| `validVersions[]` | ``object (`https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations/getAttachedServerConfig#AttachedPlatformVersionInfo`)`` List of valid platform versions. |

### Authorization scopes

Requires the following OAuth scope:

- `https://www.googleapis.com/auth/cloud-platform`

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp).

### IAM Permissions

Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource:

- `gkemulticloud.attachedServerConfigs.get`

For more information, see the [IAM documentation](https://cloud.google.com/iam/docs).

## AttachedPlatformVersionInfo

Information about a supported Attached Clusters platform version.

| JSON representation |
|---|
| ``` { "version": string, "enabled": boolean, "endOfLife": boolean, "endOfLifeDate": { object (`https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/Date`) }, "releaseDate": { object (`https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/Date`) } } ``` |

| Fields ||
|---|---|
| `version` | `string` Platform version name. |
| `enabled` | `boolean` Optional. True if the version is available for attachedcluster creation. If a version is enabled, it can be used to attach new clusters. |
| `endOfLife` | `boolean` Optional. True if this cluster version belongs to a minor version that has reached its end of life and is no longer in scope to receive security and bug fixes. |
| `endOfLifeDate` | ``object (`https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/Date`)`` Optional. The estimated date (in Pacific Time) when this cluster version will reach its end of life. Or if this version is no longer supported (the `endOfLife` field is true), this is the actual date (in Pacific time) when the version reached its end of life. |
| `releaseDate` | ``object (`https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/Date`)`` Optional. The date (in Pacific Time) when the cluster version was released. |