Google Cloud Game Servers V1 Client - Class ListGameServerDeploymentsResponse (1.0.5)

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

Response message for GameServerDeploymentsService.ListGameServerDeployments.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ game_server_deployments array<Google\Cloud\Gaming\V1\GameServerDeployment>

The list of game server deployments.

↳ next_page_token string

Token to retrieve the next page of results, or empty if there are no more results in the list.

↳ unreachable array

List of locations that could not be reached.

getGameServerDeployments

The list of game server deployments.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setGameServerDeployments

The list of game server deployments.

Parameter
NameDescription
var array<Google\Cloud\Gaming\V1\GameServerDeployment>
Returns
TypeDescription
$this

getNextPageToken

Token to retrieve the next page of results, or empty if there are no more results in the list.

Returns
TypeDescription
string

setNextPageToken

Token to retrieve the next page of results, or empty if there are no more results in the list.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUnreachable

List of locations that could not be reached.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setUnreachable

List of locations that could not be reached.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this