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

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
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRealms

The list of realms.

Parameter
NameDescription
var array<Google\Cloud\Gaming\V1\Realm>
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