Google_Service_GameServices_Resource_ProjectsLocationsRealmsGameServerClusters
extends Google_Service_Resource
in package
The "gameServerClusters" collection of methods.
Typical usage is:
$gameservicesService = new Google_Service_GameServices(...);
$gameServerClusters = $gameservicesService->gameServerClusters;
Table of Contents
- $client : Google_Client
- $methods : array<string|int, mixed>
- $resourceName : string
- $rootUrl : string
- $serviceName : string
- $servicePath : string
- $stackParameters : mixed
- __construct() : mixed
- call() : Google_Http_Request|expectedClass
- TODO: This function needs simplifying.
- create() : Google_Service_GameServices_Operation
- Creates a new game server cluster in a given project and location.
- createRequestUri() : string
- Parse/expand request parameters and create a fully qualified request uri.
- delete() : Google_Service_GameServices_Operation
- Deletes a single game server cluster. (gameServerClusters.delete)
- get() : Google_Service_GameServices_GameServerCluster
- Gets details of a single game server cluster. (gameServerClusters.get)
- listProjectsLocationsRealmsGameServerClusters() : Google_Service_GameServices_ListGameServerClustersResponse
- Lists game server clusters in a given project and location.
- patch() : Google_Service_GameServices_Operation
- Patches a single game server cluster. (gameServerClusters.patch)
- previewCreate() : Google_Service_GameServices_PreviewCreateGameServerClusterResponse
- Previews creation of a new game server cluster in a given project and location. (gameServerClusters.previewCreate)
- previewDelete() : Google_Service_GameServices_PreviewDeleteGameServerClusterResponse
- Previews deletion of a single game server cluster.
- previewUpdate() : Google_Service_GameServices_PreviewUpdateGameServerClusterResponse
- Previews updating a GameServerCluster. (gameServerClusters.previewUpdate)
- convertToArrayAndStripNulls() : mixed
Properties
$client
private
Google_Client
$client
$methods
private
array<string|int, mixed>
$methods
$resourceName
private
string
$resourceName
$rootUrl
private
string
$rootUrl
$serviceName
private
string
$serviceName
$servicePath
private
string
$servicePath
$stackParameters
private
mixed
$stackParameters
= array('alt' => array('type' => 'string', 'location' => 'query'), 'fields' => array('type' => 'string', 'location' => 'query'), 'trace' => array('type' => 'string', 'location' => 'query'), 'userIp' => array('type' => 'string', 'location' => 'query'), 'quotaUser' => array('type' => 'string', 'location' => 'query'), 'data' => array('type' => 'string', 'location' => 'body'), 'mimeType' => array('type' => 'string', 'location' => 'header'), 'uploadType' => array('type' => 'string', 'location' => 'query'), 'mediaUpload' => array('type' => 'complex', 'location' => 'query'), 'prettyPrint' => array('type' => 'string', 'location' => 'query'))
Methods
__construct()
public
__construct(mixed $service, mixed $serviceName, mixed $resourceName, mixed $resource) : mixed
Parameters
- $service : mixed
- $serviceName : mixed
- $resourceName : mixed
- $resource : mixed
Return values
mixed —call()
TODO: This function needs simplifying.
public
call( $name, $arguments[, $expectedClass = null ]) : Google_Http_Request|expectedClass
Parameters
Tags
Return values
Google_Http_Request|expectedClass —create()
Creates a new game server cluster in a given project and location.
public
create(string $parent, Google_Service_GameServices_GameServerCluster $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_GameServices_Operation
(gameServerClusters.create)
Parameters
- $parent : string
-
Required. The parent resource name. Uses the form:
projects/{project}/locations/{location}/realms/{realm-id}. - $postBody : Google_Service_GameServices_GameServerCluster
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Tags
Return values
Google_Service_GameServices_Operation —createRequestUri()
Parse/expand request parameters and create a fully qualified request uri.
public
createRequestUri(string $restPath, array<string|int, mixed> $params) : string
Parameters
- $restPath : string
- $params : array<string|int, mixed>
Tags
Return values
string —$requestUrl
delete()
Deletes a single game server cluster. (gameServerClusters.delete)
public
delete(string $name[, array<string|int, mixed> $optParams = array() ]) : Google_Service_GameServices_Operation
Parameters
- $name : string
-
Required. The name of the game server cluster to delete. Uses the form:
projects/{project}/locations/{location}/gameServerClusters/{cluster}. - $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Return values
Google_Service_GameServices_Operation —get()
Gets details of a single game server cluster. (gameServerClusters.get)
public
get(string $name[, array<string|int, mixed> $optParams = array() ]) : Google_Service_GameServices_GameServerCluster
Parameters
- $name : string
-
Required. The name of the game server cluster to retrieve. Uses the form:
projects/{project}/locations/{location}/realms /{realm-id}/gameServerClusters/{cluster}. - $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Return values
Google_Service_GameServices_GameServerCluster —listProjectsLocationsRealmsGameServerClusters()
Lists game server clusters in a given project and location.
public
listProjectsLocationsRealmsGameServerClusters(string $parent[, array<string|int, mixed> $optParams = array() ]) : Google_Service_GameServices_ListGameServerClustersResponse
(gameServerClusters.listProjectsLocationsRealmsGameServerClusters)
Parameters
- $parent : string
-
Required. The parent resource name. Uses the form: "projects/{project}/locations/{location}/realms/{realm}".
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Tags
Return values
Google_Service_GameServices_ListGameServerClustersResponse —patch()
Patches a single game server cluster. (gameServerClusters.patch)
public
patch(string $name, Google_Service_GameServices_GameServerCluster $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_GameServices_Operation
Parameters
- $name : string
-
Required. The resource name of the game server cluster. Uses the form:
projects/{project}/locations/{location}/realms/{realm}/gameSe rverClusters/{cluster}. For example,projects/my- project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem- cluster. - $postBody : Google_Service_GameServices_GameServerCluster
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Tags
Return values
Google_Service_GameServices_Operation —previewCreate()
Previews creation of a new game server cluster in a given project and location. (gameServerClusters.previewCreate)
public
previewCreate(string $parent, Google_Service_GameServices_GameServerCluster $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_GameServices_PreviewCreateGameServerClusterResponse
Parameters
- $parent : string
-
Required. The parent resource name. Uses the form:
projects/{project}/locations/{location}/realms/{realm}. - $postBody : Google_Service_GameServices_GameServerCluster
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Tags
Return values
Google_Service_GameServices_PreviewCreateGameServerClusterResponse —previewDelete()
Previews deletion of a single game server cluster.
public
previewDelete(string $name[, array<string|int, mixed> $optParams = array() ]) : Google_Service_GameServices_PreviewDeleteGameServerClusterResponse
(gameServerClusters.previewDelete)
Parameters
- $name : string
-
Required. The name of the game server cluster to delete. Uses the form:
projects/{project}/locations/{location}/gameServerClusters/{cluster}. - $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Tags
Return values
Google_Service_GameServices_PreviewDeleteGameServerClusterResponse —previewUpdate()
Previews updating a GameServerCluster. (gameServerClusters.previewUpdate)
public
previewUpdate(string $name, Google_Service_GameServices_GameServerCluster $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_GameServices_PreviewUpdateGameServerClusterResponse
Parameters
- $name : string
-
Required. The resource name of the game server cluster. Uses the form:
projects/{project}/locations/{location}/realms/{realm}/gameSe rverClusters/{cluster}. For example,projects/my- project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem- cluster. - $postBody : Google_Service_GameServices_GameServerCluster
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Tags
Return values
Google_Service_GameServices_PreviewUpdateGameServerClusterResponse —convertToArrayAndStripNulls()
protected
convertToArrayAndStripNulls(mixed $o) : mixed
Parameters
- $o : mixed