Method: projects.zones.getServerconfig

Returns configuration info about the Google Kubernetes Engine service.

HTTP request

GET https://container.googleapis.com/v1/projects/{projectId}/zones/{zone}/serverconfig

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
projectId
(deprecated)

string

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

zone
(deprecated)

string

Deprecated. The name of the Google Compute Engine zone to return operations for. This field has been deprecated and replaced by the name field.

Query parameters

Parameters
name

string

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

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of ServerConfig.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.