Interface GoogleAuthOptions (7.13.0)

Package

google-auth-library

Properties

auth

auth?: AuthClient;

An AuthClient to use

clientOptions

clientOptions?: JWTOptions | OAuth2ClientOptions | UserRefreshClientOptions | ImpersonatedOptions;

Options object passed to the constructor of the client

credentials

credentials?: CredentialBody | ExternalAccountClientOptions;

Object containing client_email and private_key properties, or the external account client options.

keyFile

keyFile?: string;

Path to a .json, .pem, or .p12 key file

keyFilename

keyFilename?: string;

Path to a .json, .pem, or .p12 key file

projectId

projectId?: string;

Your project ID.

scopes

scopes?: string | string[];

Required scopes for the desired API request