Interface RequestOptions

interface RequestOptions {
    apiClient?: string;
    apiVersion?: string;
    baseUrl?: string;
    timeout?: number;
}

Properties

apiClient?: string

Additional attribution information to include in the x-goog-api-client header. Used by wrapper SDKs.

apiVersion?: string

Version of API endpoint to call (e.g. "v1" or "v1beta"). If not specified, defaults to latest stable version.

baseUrl?: string

Base endpoint url. Defaults to "https://generativelanguage.googleapis.com"

timeout?: number

Request timeout in milliseconds.