Interface OperationFromAPIResponseParameters

Parameters of the fromAPIResponse method of the Operation class.

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

Properties

apiResponse: Record<string, unknown>

The API response to be converted to an Operation.

isVertexAI: boolean

Whether the API response is from Vertex AI.