Interface GoogleClientParams<AuthOptions>

Parameters needed to setup the client connection. AuthOptions are something like GoogleAuthOptions (from google-auth-library) or WebGoogleAuthOptions.

interface GoogleClientParams<AuthOptions> {
    apiKey?: string;
    authOptions?: AuthOptions;
}

Type Parameters

  • AuthOptions

Hierarchy (view full)

Properties

apiKey?: string

Some APIs allow an API key instead

authOptions?: AuthOptions