mirror of
https://github.com/hanzoai/firebase-js-sdk.git
synced 2026-09-24 16:59:10 +00:00
1.6 KiB
1.6 KiB
Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference
{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}
Backend class
Abstract base class representing the configuration for an AI service backend. This class should not be instantiated directly. Use its subclasses; GoogleAIBackend for the Gemini Developer API (via Google AI) and AgentPlatformBackend for the Agent Platform Gemini API.
Signature:
export declare abstract class Backend
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(type) | Protected constructor for use by subclasses. |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| backendType | BackendType | Specifies the backend type. |
Backend.(constructor)
Protected constructor for use by subclasses.
Signature:
protected constructor(type: BackendType);
Parameters
| Parameter | Type | Description |
|---|---|---|
| type | BackendType | The backend type. |
Backend.backendType
Specifies the backend type.
Signature:
readonly backendType: BackendType;