Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class UploadRagFileRequest.
Request message for VertexRagDataService.UploadRagFile .
Generated from protobuf message google.cloud.aiplatform.v1.UploadRagFileRequest
Namespace
Google \ Cloud \ AIPlatform \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The name of the RagCorpus resource into which to upload the file. Format: projects/{project}/locations/{location}/ragCorpora/{rag_corpus}
↳ rag_file
↳ upload_rag_file_config
UploadRagFileConfig
Required. The config for the RagFiles to be uploaded into the RagCorpus. VertexRagDataService.UploadRagFile .
getParent
Required. The name of the RagCorpus resource into which to upload the file.
Format: projects/{project}/locations/{location}/ragCorpora/{rag_corpus}
string
setParent
Required. The name of the RagCorpus resource into which to upload the file.
Format: projects/{project}/locations/{location}/ragCorpora/{rag_corpus}
var
string
$this
getRagFile
Required. The RagFile to upload.
hasRagFile
clearRagFile
setRagFile
Required. The RagFile to upload.
$this
getUploadRagFileConfig
Required. The config for the RagFiles to be uploaded into the RagCorpus.
hasUploadRagFileConfig
clearUploadRagFileConfig
setUploadRagFileConfig
Required. The config for the RagFiles to be uploaded into the RagCorpus.
$this
static::build
parent
string
Required. The name of the RagCorpus resource into which to upload the file.
Format: projects/{project}/locations/{location}/ragCorpora/{rag_corpus}
Please see VertexRagDataServiceClient::ragCorpusName()
for help formatting this field.
ragFile
uploadRagFileConfig
UploadRagFileConfig
Required. The config for the RagFiles to be uploaded into the RagCorpus. VertexRagDataService.UploadRagFile .

