Method: projects.locations.getAttachedServerConfig

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.

The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the AttachedServerConfig resource to describe.

AttachedServerConfig names are formatted as projects/<project-id>/locations/<region>/attachedServerConfig.

See 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 (AttachedPlatformVersionInfo)
    }
  ]
}
Fields
name

string

The resource name of the config.

validVersions[]

object (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.

IAM Permissions

Requires the following IAM permission on the name resource:

  • gkemulticloud.attachedServerConfigs.get

For more information, see the IAM documentation.

AttachedPlatformVersionInfo

Information about a supported Attached Clusters platform version.

JSON representation
{
  "version": string
}
Fields
version

string

Platform version name.