docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IEnvironmentsAdminApi

    Represents a collection of functions to interact with the API endpoints

    Inherited Members
    IApiAccessor.Configuration
    IApiAccessor.GetBasePath()
    Namespace: Unity.Services.Apis.Admin.RemoteConfig
    Assembly: Unity.Services.Apis.dll
    Syntax
    public interface IEnvironmentsAdminApi : IApiAccessor

    Methods

    GetDefaultEnvironment(string, CancellationToken)

    Get Default Environment

    Declaration
    ApiOperation<DefaultEnvironmentResponse> GetDefaultEnvironment(string projectId, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    string projectId

    Unity Project Id

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    ApiOperation<DefaultEnvironmentResponse>

    The operation

    GetEnvironmentById(string, string, CancellationToken)

    Get Environment

    Declaration
    ApiOperation<Environment> GetEnvironmentById(string projectId, string environmentId, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    string projectId

    Unity Project Id

    string environmentId

    Environment Id

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    ApiOperation<Environment>

    The operation

    GetEnvironmentsByProjectId(string, CancellationToken)

    Get All Environments

    Declaration
    ApiOperation<GetEnvironmentsResponse> GetEnvironmentsByProjectId(string projectId, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    string projectId

    Unity Project Id

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    ApiOperation<GetEnvironmentsResponse>

    The operation

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)