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

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
NameDescription
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
TypeDescription
string

setName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPreviewTime

Optional. The target timestamp to compute the preview.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasPreviewTime

clearPreviewTime

setPreviewTime

Optional. The target timestamp to compute the preview.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this