Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::UploadRagFileRequest.
Request message for VertexRagDataService.UploadRagFile.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
Returns
-
(::String) — Required. The name of the RagCorpus resource into which to upload the file.
Format:
projects/{project}/locations/{location}/ragCorpora/{rag_corpus}
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. The name of the RagCorpus resource into which to upload the file.
Format:
projects/{project}/locations/{location}/ragCorpora/{rag_corpus}
Returns
-
(::String) — Required. The name of the RagCorpus resource into which to upload the file.
Format:
projects/{project}/locations/{location}/ragCorpora/{rag_corpus}
#rag_file
def rag_file() -> ::Google::Cloud::AIPlatform::V1::RagFile
Returns
- (::Google::Cloud::AIPlatform::V1::RagFile) — Required. The RagFile to upload.
#rag_file=
def rag_file=(value) -> ::Google::Cloud::AIPlatform::V1::RagFile
Parameter
- value (::Google::Cloud::AIPlatform::V1::RagFile) — Required. The RagFile to upload.
Returns
- (::Google::Cloud::AIPlatform::V1::RagFile) — Required. The RagFile to upload.
#upload_rag_file_config
def upload_rag_file_config() -> ::Google::Cloud::AIPlatform::V1::UploadRagFileConfig
Returns
- (::Google::Cloud::AIPlatform::V1::UploadRagFileConfig) — Required. The config for the RagFiles to be uploaded into the RagCorpus. VertexRagDataService.UploadRagFile.
#upload_rag_file_config=
def upload_rag_file_config=(value) -> ::Google::Cloud::AIPlatform::V1::UploadRagFileConfig
Parameter
- value (::Google::Cloud::AIPlatform::V1::UploadRagFileConfig) — Required. The config for the RagFiles to be uploaded into the RagCorpus. VertexRagDataService.UploadRagFile.
Returns
- (::Google::Cloud::AIPlatform::V1::UploadRagFileConfig) — Required. The config for the RagFiles to be uploaded into the RagCorpus. VertexRagDataService.UploadRagFile.