Interface OperationFromAPIResponseParameters

Parameters of the fromAPIResponse method of the Operation class.

interface OperationFromAPIResponseParameters {
    _isVertexAI: boolean;
    apiResponse: Record<string, unknown>;
}

Properties

_isVertexAI: boolean

Whether the API response is from Vertex AI.

apiResponse: Record<string, unknown>

The API response to be converted to an Operation.