- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- Try it!
Previews creation of a new game server cluster in a given project and location.
HTTP request
POST https://gameservices.googleapis.com/v1beta/{parent=projects/*/locations/*/realms/*}/gameServerClusters:previewCreate
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent resource name, in the following form: |
Query parameters
Parameters | |
---|---|
gameServerClusterId |
Required. The ID of the game server cluster resource to create. |
previewTime |
Optional. The target timestamp to compute the preview. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
view |
Optional. This field is deprecated. Preview will always return KubernetesClusterState. |
Request body
The request body contains an instance of GameServerCluster
.
Response body
If successful, the response body contains data with the following structure:
Response message for GameServerClustersService.PreviewCreateGameServerCluster.
JSON representation |
---|
{ "etag": string, "targetState": { object ( |
Fields | |
---|---|
etag |
The ETag of the game server cluster. |
targetState |
The target state. |
clusterState |
Output only. The state of the Kubernetes cluster in preview. This will be available if |
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.