interface AiProviderCredentialsGoogleGemini {
    baseUrl?: string;
    headers?: Record<string, string>;
    project: string;
    region: string;
    sendCustomHeadersOnly?: boolean;
    serviceAccountEmail?: string;
    serviceAccountKey?: string;
    workloadIdentityFederationAudience?: string;
}

Hierarchy (view full)

Properties

baseUrl?: string

Override the provider API base URL

headers?: Record<string, string>

Custom HTTP headers sent with every request to the provider

project: string
region: string
sendCustomHeadersOnly?: boolean

If true, only the headers from headers are sent

serviceAccountEmail?: string
serviceAccountKey?: string

Required if workloadIdentityFederationAudience is not provided

workloadIdentityFederationAudience?: string

Required if serviceAccountKey is not provided