Google Cloud Game Servers V1 Client - Class ListRealmsResponse (1.2.6)

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

Response message for RealmsService.ListRealms.

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

Namespace

Google \ Cloud \ Gaming \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ realms array<Google\Cloud\Gaming\V1\Realm>

The list of realms.

↳ 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.

getRealms

The list of realms.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setRealms

The list of realms.

Parameter
Name Description
var array<Google\Cloud\Gaming\V1\Realm>
Returns
Type Description
$this

getNextPageToken

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

Returns
Type Description
string

setNextPageToken

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

Parameter
Name Description
var string
Returns
Type Description
$this

getUnreachable

List of locations that could not be reached.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setUnreachable

List of locations that could not be reached.

Parameter
Name Description
var string[]
Returns
Type Description
$this