Google Cloud Game Servers V1 Client - Class PreviewDeleteGameServerClusterRequest (1.2.5)

Reference documentation and code samples for the Google Cloud Game Servers V1 Client class PreviewDeleteGameServerClusterRequest.

Request message for GameServerClustersService.PreviewDeleteGameServerCluster.

Generated from protobuf message google.cloud.gaming.v1.PreviewDeleteGameServerClusterRequest

Namespace

Google \ Cloud \ Gaming \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the game server cluster to delete, in the following form: projects/{project}/locations/{location}/gameServerClusters/{cluster}.

↳ preview_time Google\Protobuf\Timestamp

Optional. The target timestamp to compute the preview.

getName

Required. The name of the game server cluster to delete, in the following form: projects/{project}/locations/{location}/gameServerClusters/{cluster}.

Returns
Type Description
string

setName

Required. The name of the game server cluster to delete, in the following form: projects/{project}/locations/{location}/gameServerClusters/{cluster}.

Parameter
Name Description
var string
Returns
Type Description
$this

getPreviewTime

Optional. The target timestamp to compute the preview.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasPreviewTime

clearPreviewTime

setPreviewTime

Optional. The target timestamp to compute the preview.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this