Reference documentation and code samples for the Google Cloud Game Servers V1 Client class CreateRealmRequest.
Request message for RealmsService.CreateRealm.
Generated from protobuf message google.cloud.gaming.v1.CreateRealmRequest
Namespace
Google \ Cloud \ Gaming \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The parent resource name, in the following form: |
↳ realm_id |
string
Required. The ID of the realm resource to be created. |
↳ realm |
Google\Cloud\Gaming\V1\Realm
Required. The realm resource to be created. |
getParent
Required. The parent resource name, in the following form:
projects/{project}/locations/{location}
.
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The parent resource name, in the following form:
projects/{project}/locations/{location}
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getRealmId
Required. The ID of the realm resource to be created.
Returns | |
---|---|
Type | Description |
string |
setRealmId
Required. The ID of the realm resource to be created.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getRealm
Required. The realm resource to be created.
Returns | |
---|---|
Type | Description |
Google\Cloud\Gaming\V1\Realm|null |
hasRealm
clearRealm
setRealm
Required. The realm resource to be created.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Gaming\V1\Realm
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
parent |
string
Required. The parent resource name, in the following form:
|
realm |
Google\Cloud\Gaming\V1\Realm
Required. The realm resource to be created. |
realmId |
string
Required. The ID of the realm resource to be created. |
Returns | |
---|---|
Type | Description |
Google\Cloud\Gaming\V1\CreateRealmRequest |