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 |
---|---|
ICloud |
CloudCodeScripts
CloudCode Scripts Api (JS)
Declaration
ICloudCodeScriptsAdminApi CloudCodeScripts { get; }
Property Value
Type | Description |
---|---|
ICloud |
CloudSaveData
CloudSave Data Api
Declaration
ICloudSaveDataAdminApi CloudSaveData { get; }
Property Value
Type | Description |
---|---|
ICloud |
CloudSaveFiles
CloudSave Files Api
Declaration
ICloudSaveFilesAdminApi CloudSaveFiles { get; }
Property Value
Type | Description |
---|---|
ICloud |
Economy
Economy Api
Declaration
IEconomyAdminApi Economy { get; }
Property Value
Type | Description |
---|---|
IEconomy |
Environment
Environment Api
Declaration
IEnvironmentAdminApi Environment { get; }
Property Value
Type | Description |
---|---|
IEnvironment |
GameOverrides
GameOverrides Api
Declaration
IGameOverridesAdminApi GameOverrides { get; }
Property Value
Type | Description |
---|---|
IGame |
Leaderboards
Leaderboards Api
Declaration
ILeaderboardsAdminApi Leaderboards { get; }
Property Value
Type | Description |
---|---|
ILeaderboards |
Logs
Logs Api
Declaration
ILogsAdminApi Logs { get; }
Property Value
Type | Description |
---|---|
ILogs |
PlayerAuthentication
PlayerAuth Api
Declaration
IPlayerAuthenticationAdminApi PlayerAuthentication { get; }
Property Value
Type | Description |
---|---|
IPlayer |
PlayerPolicy
PlayerPolicy Api
Declaration
IPlayerPolicyAdminApi PlayerPolicy { get; }
Property Value
Type | Description |
---|---|
IPlayer |
ProjectPolicy
ProjectPolicy Api
Declaration
IProjectPolicyAdminApi ProjectPolicy { get; }
Property Value
Type | Description |
---|---|
IProject |
RemoteConfig
RemoteConfig Api
Declaration
IConfigsAdminApi RemoteConfig { get; }
Property Value
Type | Description |
---|---|
IConfigs |
RemoteConfigSchemas
RemoteConfig Schemas Api
Declaration
ISchemasAdminApi RemoteConfigSchemas { get; }
Property Value
Type | Description |
---|---|
ISchemas |
Scheduler
Scheduler Api
Declaration
ISchedulerAdminApi Scheduler { get; }
Property Value
Type | Description |
---|---|
IScheduler |
ServiceAuthentication
Service Authentication Api
Declaration
IServiceAuthenticationAdminApi ServiceAuthentication { get; }
Property Value
Type | Description |
---|---|
IService |
Triggers
Triggers Api
Declaration
ITriggersAdminApi Triggers { get; }
Property Value
Type | Description |
---|---|
ITriggers |
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)