Interface RequestOptions (1.2.0)

Request options params passed to getGenerativeModel method in VertexAI class.

Package

@google-cloud/vertexai

Properties

apiClient

apiClient?: string;

Value for x-goog-api-client header to set on the API request. This is intended for wrapper SDKs to set additional SDK identifiers for the backend.

customHeaders

customHeaders?: Headers;

Value for custom HTTP headers to set on the HTTP request.

timeout

timeout?: number;

timeout in milli seconds. time out value needs to be non negative.