Method: projects.locations.gameServerDeployments.configs.create

Creates a new game server config in a given project, location, and game server deployment. Game server configs are immutable, and are not applied until referenced in the game server deployment rollout resource.

HTTP request

POST https://gameservices.googleapis.com/v1/{parent=projects/*/locations/*/gameServerDeployments/*}/configs

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent resource name, in the following form:

projects/{project}/locations/{location}/gameServerDeployments/{deployment}/.

Query parameters

Parameters
configId

string

Required. The ID of the game server config resource to be created.

Request body

The request body contains an instance of GameServerConfig.

Response body

If successful, the response body contains a newly created instance of Operation.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.