Member Junction
    Preparing search index...
    • The options for a @google/genai client in Vertex mode: the project, the location and the auth client from CreateVertexAuthClient; none for Application Default Credentials, which the SDK then resolves. A Google Cloud API key (apiKey) gets the SDK's API-key mode instead: the key and no project or location (the SDK refuses either beside a key), so the SDK uses Google's global endpoint and sends the key as x-goog-api-key. A key's project and location are left out here too: the regional route is Gemini Live's, which sets the host and the model path itself.

      Parameters

      Returns Promise<GoogleGenAIOptions>