Reference documentation and code samples for the Google Cloud Game Servers V1 Client class PreviewCreateGameServerClusterRequest.
Request message for GameServerClustersService.PreviewCreateGameServerCluster.
Generated from protobuf message google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The parent resource name, in the following form: |
↳ game_server_cluster_id |
string
Required. The ID of the game server cluster resource to be created. |
↳ game_server_cluster |
Google\Cloud\Gaming\V1\GameServerCluster
Required. The game server cluster resource to be created. |
↳ preview_time |
Google\Protobuf\Timestamp
Optional. The target timestamp to compute the preview. |
↳ view |
int
Optional. This field is deprecated, preview will always return KubernetesClusterState. |
getParent
Required. The parent resource name, in the following form:
projects/{project}/locations/{location}/realms/{realm}
.
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The parent resource name, in the following form:
projects/{project}/locations/{location}/realms/{realm}
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getGameServerClusterId
Required. The ID of the game server cluster resource to be created.
Returns | |
---|---|
Type | Description |
string |
setGameServerClusterId
Required. The ID of the game server cluster resource to be created.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getGameServerCluster
Required. The game server cluster resource to be created.
Returns | |
---|---|
Type | Description |
Google\Cloud\Gaming\V1\GameServerCluster|null |
hasGameServerCluster
clearGameServerCluster
setGameServerCluster
Required. The game server cluster resource to be created.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Gaming\V1\GameServerCluster
|
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 |
getView
Optional. This field is deprecated, preview will always return KubernetesClusterState.
Returns | |
---|---|
Type | Description |
int |
setView
Optional. This field is deprecated, preview will always return KubernetesClusterState.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |