Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class ImportRagFilesRequest.
Request message for VertexRagDataService.ImportRagFiles.
Generated from protobuf message google.cloud.aiplatform.v1.ImportRagFilesRequest
Namespace
Google \ Cloud \ AIPlatform \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The name of the RagCorpus resource into which to import files. Format: |
↳ import_rag_files_config |
ImportRagFilesConfig
Required. The config for the RagFiles to be synced and imported into the RagCorpus. VertexRagDataService.ImportRagFiles. |
getParent
Required. The name of the RagCorpus resource into which to import files.
Format:
projects/{project}/locations/{location}/ragCorpora/{rag_corpus}
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The name of the RagCorpus resource into which to import files.
Format:
projects/{project}/locations/{location}/ragCorpora/{rag_corpus}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getImportRagFilesConfig
Required. The config for the RagFiles to be synced and imported into the RagCorpus.
| Returns | |
|---|---|
| Type | Description |
ImportRagFilesConfig|null |
|
hasImportRagFilesConfig
clearImportRagFilesConfig
setImportRagFilesConfig
Required. The config for the RagFiles to be synced and imported into the RagCorpus.
| Parameter | |
|---|---|
| Name | Description |
var |
ImportRagFilesConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
parent |
string
Required. The name of the RagCorpus resource into which to import files.
Format:
|
importRagFilesConfig |
ImportRagFilesConfig
Required. The config for the RagFiles to be synced and imported into the RagCorpus. VertexRagDataService.ImportRagFiles. |
| Returns | |
|---|---|
| Type | Description |
ImportRagFilesRequest |
|