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

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

Request message for RealmsService.GetRealm.

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

Namespace

Google \ Cloud \ Gaming \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the realm to retrieve, in the following form: projects/{project}/locations/{location}/realms/{realm}.

getName

Required. The name of the realm to retrieve, in the following form: projects/{project}/locations/{location}/realms/{realm}.

Returns
Type Description
string

setName

Required. The name of the realm to retrieve, in the following form: projects/{project}/locations/{location}/realms/{realm}.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the realm to retrieve, in the following form: projects/{project}/locations/{location}/realms/{realm}. Please see Google\Cloud\Gaming\V1\RealmsServiceClient::realmName() for help formatting this field.

Returns
Type Description
Google\Cloud\Gaming\V1\GetRealmRequest