Method: projects.locations.getServerConfig

Gets the server config.

HTTP request

GET https://edgecontainer.googleapis.com/v1/{name=projects/*/locations/*}/serverConfig

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name (project and location) of the server config to get, specified in the format projects/*/locations/*.

Authorization requires the following IAM permission on the specified resource name:

  • edgecontainer.serverConfig.get

Request body

The request body must be empty.

Response body

Server configuration for supported versions and release channels.

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

JSON representation
{
  "channels": {
    string: {
      object (ChannelConfig)
    },
    ...
  },
  "versions": [
    {
      object (Version)
    }
  ],
  "defaultVersion": string
}
Fields
channels

map (key: string, value: object (ChannelConfig))

Output only. Mapping from release channel to channel config.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

versions[]

object (Version)

Output only. Supported versions, e.g.: ["1.4.0", "1.5.0"].

defaultVersion

string

Output only. Default version, e.g.: "1.4.0".

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

ChannelConfig

Configuration for a release channel.

JSON representation
{
  "defaultVersion": string
}
Fields
defaultVersion

string

Output only. Default version for this release channel, e.g.: "1.4.0".

Version

Version of a cluster.

JSON representation
{
  "name": string
}
Fields
name

string

Output only. Name of the version, e.g.: "1.4.0".