Class GameOverridesAdminApi
Represents a collection of functions to interact with the API endpoints
Inherited Members
Namespace: Unity.Services.Apis.Admin.RemoteConfig
Assembly: Unity.Services.Apis.dll
Syntax
public class GameOverridesAdminApi : IGameOverridesAdminApi, IApiAccessor
Constructors
GameOverridesAdminApi(IApiClient)
Initializes a new instance of the GameOverridesAdminApi class using a Configuration object and client instance.
Declaration
public GameOverridesAdminApi(IApiClient apiClient)
Parameters
| Type | Name | Description |
|---|---|---|
| IApiClient | apiClient | The client interface for synchronous API access. |
GameOverridesAdminApi(IApiClient, IApiConfiguration)
Initializes a new instance of the GameOverridesAdminApi class using a Configuration object and client instance.
Declaration
public GameOverridesAdminApi(IApiClient apiClient, IApiConfiguration apiConfiguration)
Parameters
| Type | Name | Description |
|---|---|---|
| IApiClient | apiClient | The client interface for synchronous API access. |
| IApiConfiguration | apiConfiguration | The configuration object. |
Properties
Client
The client for accessing this underlying API asynchronously.
Declaration
public IApiClient Client { get; }
Property Value
| Type | Description |
|---|---|
| IApiClient |
Configuration
Gets the configuration object
Declaration
public IApiConfiguration Configuration { get; }
Property Value
| Type | Description |
|---|---|
| IApiConfiguration | An instance of the Configuration |
Methods
GetAllGameOverrides(string, string, CancellationToken)
Get all game overrides Returns all game overrides for a given project and environment
Declaration
public ApiOperation<GetAllCampaignsResponse> GetAllGameOverrides(string projectId, string environmentId, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| string | projectId | Unity Project Id |
| string | environmentId | Unity environmentId |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| ApiOperation<GetAllCampaignsResponse> | The operation |
GetBasePath()
Gets the base path of the API client.
Declaration
public string GetBasePath()
Returns
| Type | Description |
|---|---|
| string | The base path |