class ProjectsLocationsGameServerDeploymentsConfigs extends Resource (View source)

The "configs" collection of methods.

Typical usage is:

 $gameservicesService = new Google\Service\GameServices(...);
 $configs = $gameservicesService->configs;

Methods

create(string $parent, GameServerConfig $postBody, array $optParams = [])

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.

delete(string $name, array $optParams = [])

Deletes a single game server config. The deletion fails if the game server config is referenced in a game server deployment rollout. (configs.delete)

get(string $name, array $optParams = [])

Gets details of a single game server config. (configs.get)

listProjectsLocationsGameServerDeploymentsConfigs(string $parent, array $optParams = [])

Lists game server configs in a given project, location, and game server deployment. (configs.listProjectsLocationsGameServerDeploymentsConfigs)

Details

Operation create(string $parent, GameServerConfig $postBody, array $optParams = [])

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.

(configs.create)

Parameters

string $parent

Required. The parent resource name, in the following form: projects/{project}/locations/{locationId}/gameServerDeployments/{deplo ymentId}/.

GameServerConfig $postBody
array $optParams

Optional parameters.

Return Value

Operation

Operation delete(string $name, array $optParams = [])

Deletes a single game server config. The deletion fails if the game server config is referenced in a game server deployment rollout. (configs.delete)

Parameters

string $name

Required. The name of the game server config to delete, in the following form: projects/{project}/locations/{locationId}/gameServerD eployments/{deploymentId}/configs/{configId}.

array $optParams

Optional parameters.

Return Value

Operation

GameServerConfig get(string $name, array $optParams = [])

Gets details of a single game server config. (configs.get)

Parameters

string $name

Required. The name of the game server config to retrieve, in the following form: projects/{project}/locations/{locationId}/gameServerD eployments/{deploymentId}/configs/{configId}.

array $optParams

Optional parameters.

Return Value

GameServerConfig

ListGameServerConfigsResponse listProjectsLocationsGameServerDeploymentsConfigs(string $parent, array $optParams = [])

Lists game server configs in a given project, location, and game server deployment. (configs.listProjectsLocationsGameServerDeploymentsConfigs)

Parameters

string $parent

Required. The parent resource name, in the following form: projects/{project}/locations/{locationId}/gameServerDeployments/{deplo ymentId}/configs.

array $optParams

Optional parameters.

Return Value

ListGameServerConfigsResponse