Configuration class for the Agent Platform Gemini API (formerly known as the Vertex AI Gemini API).

Use this with [AIOptions](https://firebase.google.com/docs/reference/js/ai.aioptions#aioptions_interface) when initializing the AI service via [getAI()](https://firebase.google.com/docs/reference/js/ai#getai_a94a413) to specify the Agent Platform Gemini API as the backend.

**Signature:**

    export declare class AgentPlatformBackend extends Backend 

**Extends:** [Backend](https://firebase.google.com/docs/reference/js/ai.backend#backend_class)

## Constructors

| Constructor | Modifiers | Description |
|---|---|---|
| [(constructor)(location)](https://firebase.google.com/docs/reference/js/ai.agentplatformbackend#agentplatformbackendconstructor) |   | Creates a configuration object for the Agent Platform backend. |

## Properties

| Property | Modifiers | Type | Description |
|---|---|---|---|
| [location](https://firebase.google.com/docs/reference/js/ai.agentplatformbackend#agentplatformbackendlocation) |   | string | The region identifier. See [Agent Platform locations](https://firebase.google.com/docs/ai-logic/locations?api=vertex#available-locations) for a list of supported locations. |

## AgentPlatformBackend.(constructor)

Creates a configuration object for the Agent Platform backend.

**Signature:**

    constructor(location?: string);

#### Parameters

| Parameter | Type | Description |
|---|---|---|
| location | string | The region identifier, defaulting to `global`; see [Agent Platform locations](https://firebase.google.com/docs/ai-logic/locations?api=vertex#available-locations) for a list of supported locations. |

## AgentPlatformBackend.location

The region identifier. See [Agent Platform locations](https://firebase.google.com/docs/ai-logic/locations?api=vertex#available-locations) for a list of supported locations.

**Signature:**

    readonly location: string;