class ProjectsLocationsRealms extends Resource (View source)

The "realms" collection of methods.

Typical usage is:

 $gameservicesService = new Google\Service\GameServices(...);
 $realms = $gameservicesService->realms;

Methods

create(string $parent, Realm $postBody, array $optParams = [])

Creates a new realm in a given project and location. (realms.create)

delete(string $name, array $optParams = [])

Deletes a single realm. (realms.delete)

get(string $name, array $optParams = [])

Gets details of a single realm. (realms.get)

listProjectsLocationsRealms(string $parent, array $optParams = [])

Lists realms in a given project and location.

patch(string $name, Realm $postBody, array $optParams = [])

Patches a single realm. (realms.patch)

previewUpdate(string $name, Realm $postBody, array $optParams = [])

Previews patches to a single realm. (realms.previewUpdate)

Details

Operation create(string $parent, Realm $postBody, array $optParams = [])

Creates a new realm in a given project and location. (realms.create)

Parameters

string $parent

Required. The parent resource name, in the following form: projects/{project}/locations/{locationId}.

Realm $postBody
array $optParams

Optional parameters.

Return Value

Operation

Operation delete(string $name, array $optParams = [])

Deletes a single realm. (realms.delete)

Parameters

string $name

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

array $optParams

Optional parameters.

Return Value

Operation

Realm get(string $name, array $optParams = [])

Gets details of a single realm. (realms.get)

Parameters

string $name

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

array $optParams

Optional parameters.

Return Value

Realm

ListRealmsResponse listProjectsLocationsRealms(string $parent, array $optParams = [])

Lists realms in a given project and location.

(realms.listProjectsLocationsRealms)

Parameters

string $parent

Required. The parent resource name, in the following form: projects/{project}/locations/{locationId}.

array $optParams

Optional parameters.

Return Value

ListRealmsResponse

Operation patch(string $name, Realm $postBody, array $optParams = [])

Patches a single realm. (realms.patch)

Parameters

string $name

The resource name of the realm, in the following form: projects/{project}/locations/{locationId}/realms/{realmId}. For example, projects/my-project/locations/global/realms/my-realm.

Realm $postBody
array $optParams

Optional parameters.

Return Value

Operation

PreviewRealmUpdateResponse previewUpdate(string $name, Realm $postBody, array $optParams = [])

Previews patches to a single realm. (realms.previewUpdate)

Parameters

string $name

The resource name of the realm, in the following form: projects/{project}/locations/{locationId}/realms/{realmId}. For example, projects/my-project/locations/global/realms/my-realm.

Realm $postBody
array $optParams

Optional parameters.

Return Value

PreviewRealmUpdateResponse