Interface IAdminClient
The Admin Client offers all public admin apis clients available on the Services Gateway. It relies on service account credentials to authorize it's apis.
Namespace: Unity.Services.Apis
Assembly: Unity.Services.Apis.dll
Syntax
public interface IAdminClient
Properties
CloudCodeModules
CloudCode Modules Api (C#)
Declaration
ICloudCodeModulesAdminApi CloudCodeModules { get; }
Property Value
| Type | Description |
|---|---|
| ICloudCodeModulesAdminApi |
CloudCodeScripts
CloudCode Scripts Api (JS)
Declaration
ICloudCodeScriptsAdminApi CloudCodeScripts { get; }
Property Value
| Type | Description |
|---|---|
| ICloudCodeScriptsAdminApi |
CloudSaveData
CloudSave Data Api
Declaration
ICloudSaveDataAdminApi CloudSaveData { get; }
Property Value
| Type | Description |
|---|---|
| ICloudSaveDataAdminApi |
CloudSaveFiles
CloudSave Files Api
Declaration
ICloudSaveFilesAdminApi CloudSaveFiles { get; }
Property Value
| Type | Description |
|---|---|
| ICloudSaveFilesAdminApi |
Economy
Economy Api
Declaration
IEconomyAdminApi Economy { get; }
Property Value
| Type | Description |
|---|---|
| IEconomyAdminApi |
Environment
Environment Api
Declaration
IEnvironmentAdminApi Environment { get; }
Property Value
| Type | Description |
|---|---|
| IEnvironmentAdminApi |
GameOverrides
GameOverrides Api
Declaration
IGameOverridesAdminApi GameOverrides { get; }
Property Value
| Type | Description |
|---|---|
| IGameOverridesAdminApi |
Leaderboards
Leaderboards Api
Declaration
ILeaderboardsAdminApi Leaderboards { get; }
Property Value
| Type | Description |
|---|---|
| ILeaderboardsAdminApi |
Logs
Logs Api
Declaration
ILogsAdminApi Logs { get; }
Property Value
| Type | Description |
|---|---|
| ILogsAdminApi |
PlayerAuthentication
PlayerAuth Api
Declaration
IPlayerAuthenticationAdminApi PlayerAuthentication { get; }
Property Value
| Type | Description |
|---|---|
| IPlayerAuthenticationAdminApi |
PlayerPolicy
PlayerPolicy Api
Declaration
IPlayerPolicyAdminApi PlayerPolicy { get; }
Property Value
| Type | Description |
|---|---|
| IPlayerPolicyAdminApi |
ProjectPolicy
ProjectPolicy Api
Declaration
IProjectPolicyAdminApi ProjectPolicy { get; }
Property Value
| Type | Description |
|---|---|
| IProjectPolicyAdminApi |
RemoteConfig
RemoteConfig Api
Declaration
IConfigsAdminApi RemoteConfig { get; }
Property Value
| Type | Description |
|---|---|
| IConfigsAdminApi |
RemoteConfigSchemas
RemoteConfig Schemas Api
Declaration
ISchemasAdminApi RemoteConfigSchemas { get; }
Property Value
| Type | Description |
|---|---|
| ISchemasAdminApi |
Scheduler
Scheduler Api
Declaration
ISchedulerAdminApi Scheduler { get; }
Property Value
| Type | Description |
|---|---|
| ISchedulerAdminApi |
ServiceAuthentication
Service Authentication Api
Declaration
IServiceAuthenticationAdminApi ServiceAuthentication { get; }
Property Value
| Type | Description |
|---|---|
| IServiceAuthenticationAdminApi |
Triggers
Triggers Api
Declaration
ITriggersAdminApi Triggers { get; }
Property Value
| Type | Description |
|---|---|
| ITriggersAdminApi |
Methods
ClearCredentials()
Clears the credentials from the configuration of all apis
Declaration
void ClearCredentials()
SetServiceAccount(string, string)
Set the service account that the apis will use.
Declaration
void SetServiceAccount(string apiKey, string apiSecret)
Parameters
| Type | Name | Description |
|---|---|---|
| string | apiKey | The service account key |
| string | apiSecret | The service account secret |