Search Results for

    Show / Hide Table of Contents

    Class MediaService

    Inheritance
    object
    CrudServiceBase<GoogleAIClient>
    MediaService
    Implements
    ICrudService
    IBetaService
    Inherited Members
    CrudServiceBase<GoogleAIClient>.client
    CrudServiceBase<GoogleAIClient>.ApiKey
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.Google.Services
    Assembly: Glitch9.AIDevKit.Provider.Google.dll
    Syntax
    public sealed class MediaService : CrudServiceBase<GoogleAIClient>, ICrudService, IBetaService

    Constructors

    | Edit this page View Source

    MediaService(GoogleAIClient)

    Declaration
    public MediaService(GoogleAIClient client)
    Parameters
    Type Name Description
    GoogleAIClient client

    Methods

    | Edit this page View Source

    UploadAsync(GoogleUploadRequest, RequestOptions)

    Declaration
    public UniTask<GoogleFile> UploadAsync(GoogleUploadRequest request, RequestOptions options = null)
    Parameters
    Type Name Description
    GoogleUploadRequest request
    RequestOptions options
    Returns
    Type Description
    UniTask<GoogleFile>
    | Edit this page View Source

    UploadMetadataAsync(GoogleFile, RequestOptions)

    Declaration
    public UniTask<GoogleFile> UploadMetadataAsync(GoogleFile request, RequestOptions options = null)
    Parameters
    Type Name Description
    GoogleFile request
    RequestOptions options
    Returns
    Type Description
    UniTask<GoogleFile>

    Implements

    ICrudService
    IBetaService

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation