Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class ImportRagFilesOperationMetadata.
Runtime operation information for VertexRagDataService.ImportRagFiles.
Generated from protobuf message google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata
Namespace
Google \ Cloud \ AIPlatform \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ generic_metadata |
GenericOperationMetadata
The operation generic information. |
↳ rag_corpus_id |
int|string
The resource ID of RagCorpus that this operation is executed on. |
↳ import_rag_files_config |
ImportRagFilesConfig
Output only. The config that was passed in the ImportRagFilesRequest. |
↳ progress_percentage |
int
The progress percentage of the operation. Value is in the range [0, 100]. This percentage is calculated as follows: progress_percentage = 100 * (successes + failures + skips) / total |
getGenericMetadata
The operation generic information.
Returns | |
---|---|
Type | Description |
GenericOperationMetadata|null |
hasGenericMetadata
clearGenericMetadata
setGenericMetadata
The operation generic information.
Parameter | |
---|---|
Name | Description |
var |
GenericOperationMetadata
|
Returns | |
---|---|
Type | Description |
$this |
getRagCorpusId
The resource ID of RagCorpus that this operation is executed on.
Returns | |
---|---|
Type | Description |
int|string |
setRagCorpusId
The resource ID of RagCorpus that this operation is executed on.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getImportRagFilesConfig
Output only. The config that was passed in the ImportRagFilesRequest.
Returns | |
---|---|
Type | Description |
ImportRagFilesConfig|null |
hasImportRagFilesConfig
clearImportRagFilesConfig
setImportRagFilesConfig
Output only. The config that was passed in the ImportRagFilesRequest.
Parameter | |
---|---|
Name | Description |
var |
ImportRagFilesConfig
|
Returns | |
---|---|
Type | Description |
$this |
getProgressPercentage
The progress percentage of the operation. Value is in the range [0, 100].
This percentage is calculated as follows: progress_percentage = 100 * (successes + failures + skips) / total
Returns | |
---|---|
Type | Description |
int |
setProgressPercentage
The progress percentage of the operation. Value is in the range [0, 100].
This percentage is calculated as follows: progress_percentage = 100 * (successes + failures + skips) / total
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |