Google Cloud Ai Platform V1 Client - Class UploadRagFileResponse (1.13.1)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class UploadRagFileResponse.

Response message for VertexRagDataService.UploadRagFile.

Generated from protobuf message google.cloud.aiplatform.v1.UploadRagFileResponse

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ rag_file RagFile

The RagFile that had been uploaded into the RagCorpus.

↳ error Google\Rpc\Status

The error that occurred while processing the RagFile.

getRagFile

The RagFile that had been uploaded into the RagCorpus.

Returns
Type Description
RagFile|null

hasRagFile

setRagFile

The RagFile that had been uploaded into the RagCorpus.

Parameter
Name Description
var RagFile
Returns
Type Description
$this

getError

The error that occurred while processing the RagFile.

Returns
Type Description
Google\Rpc\Status|null

hasError

setError

The error that occurred while processing the RagFile.

Parameter
Name Description
var Google\Rpc\Status
Returns
Type Description
$this

getResult

Returns
Type Description
string