fromApiResponse

public UploadToFileSearchStoreOperation fromApiResponse(JsonNode apiResponse, boolean isVertexAi)

Creates a new Operation object from an API response.

Return

The new Operation object.

Parameters

apiResponse

The API response.

isVertexAi

Whether the API response is from Vertex AI.