Google Cloud Ai Platform V1 Client - Class ImportRagFilesRequest (1.13.0)

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 \ V1

Methods

__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: projects/{project}/locations/{location}/ragCorpora/{rag_corpus}

↳ 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.

VertexRagDataService.ImportRagFiles.

Returns
Type Description
ImportRagFilesConfig|null

hasImportRagFilesConfig

clearImportRagFilesConfig

setImportRagFilesConfig

Required. The config for the RagFiles to be synced and imported into the RagCorpus.

VertexRagDataService.ImportRagFiles.

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: projects/{project}/locations/{location}/ragCorpora/{rag_corpus} Please see VertexRagDataServiceClient::ragCorpusName() for help formatting this field.

importRagFilesConfig ImportRagFilesConfig

Required. The config for the RagFiles to be synced and imported into the RagCorpus. VertexRagDataService.ImportRagFiles.

Returns
Type Description
ImportRagFilesRequest