React Native Firebase
    Preparing search index...

    Variable BackendTypeConst

    BackendType: { GOOGLE_AI: "GOOGLE_AI"; VERTEX_AI: "VERTEX_AI" } = ...

    An enum-like object containing constants that represent the supported backends for the Firebase AI SDK. This determines which backend service (Vertex AI Gemini API or Gemini Developer API) the SDK will communicate with.

    These values are assigned to the backendType property within the specific backend configuration objects (GoogleAIBackend or VertexAIBackend) to identify which service to target.

    Type Declaration

    • ReadonlyGOOGLE_AI: "GOOGLE_AI"

      Identifies the backend service for the Gemini Developer API (Google AI). Use this constant when creating a GoogleAIBackend configuration.

    • ReadonlyVERTEX_AI: "VERTEX_AI"

      Identifies the backend service for the Vertex AI Gemini API provided through Google Cloud. Use this constant when creating a VertexAIBackend configuration.