Security: {
    access_token?: string;
    api_key?: string;
    default_headers?: { [k: string]: string };
}

Type declaration

  • Optionalaccess_token?: string

    OAuth access token sent as a bearer Authorization header.

  • Optionalapi_key?: string

    Gemini API key sent as x-goog-api-key.

  • Optionaldefault_headers?: { [k: string]: string }

    Additional default headers to apply before request-specific headers and auth.