Interface: GoogleHeaders
@providerprotocol/ai / google / GoogleHeaders
Interface: GoogleHeaders
Section titled “Interface: GoogleHeaders”Defined in: src/providers/google/types.ts:625
Google Gemini-specific HTTP headers for API requests.
Example
Section titled “Example”const headers: GoogleHeaders = { 'x-goog-api-client': 'myapp/1.0.0',};Indexable
Section titled “Indexable”[key: string]: string | undefined
Properties
Section titled “Properties”x-goog-api-client?
Section titled “x-goog-api-client?”
optionalx-goog-api-client:string
Defined in: src/providers/google/types.ts:627
Client identification header for partners and libraries.
x-goog-user-project?
Section titled “x-goog-user-project?”
optionalx-goog-user-project:string
Defined in: src/providers/google/types.ts:629
Quota project ID for Vertex AI billing.