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,
  "enabled": boolean,
  "endOfLife": boolean,
  "endOfLifeDate": {
    object (Date)
  },
  "releaseDate": {
    object (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 (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 (Date)

Optional. The date (in Pacific Time) when the cluster version was released.