Interface VertexInit (1.2.0)

Params used to initialize the Vertex SDK.

Package

@google-cloud/vertexai

Properties

apiEndpoint

apiEndpoint?: string;

Optional. The base Vertex AI endpoint to use for the request. If not provided, the default regionalized endpoint (i.e. us-central1-aiplatform.googleapis.com) will be used.

googleAuthOptions

googleAuthOptions?: GoogleAuthOptions;

Optional. The Authentication options provided by google-auth-library. Complete list of authentication options is documented in the GoogleAuthOptions interface: https://github.com/googleapis/google-auth-library-nodejs/blob/main/src/auth/googleauth.ts.

location

location?: string;

Optional. The Google Cloud project location. If not provided, SDK will firtly try to resolve it from run time environment. If no location resolved from run time environment, SDK will use default value us-central1.

project

project: string;

The Google Cloud project name. It is not the numeric project ID.