VertexRagDataService class final
A service for managing user data for RAG.
Constructors
- VertexRagDataService({required Client client})
-
Creates a
VertexRagDataServiceusingclientfor transport. - VertexRagDataService.fromApiKey([String? apiKey])
-
Creates a
VertexRagDataServicethat does authentication through an API key.factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancelOperation(
CancelOperationRequest request) → Future< void> -
Provides the
Operationsservice functionality in this service. -
close(
) → void - Closes the client and cleans up any resources associated with it.
-
createRagCorpus(
CreateRagCorpusRequest request) → Future< Operation< RagCorpus, CreateRagCorpusOperationMetadata> > - Creates a RagCorpus.
-
deleteOperation(
DeleteOperationRequest request) → Future< void> -
Provides the
Operationsservice functionality in this service. -
deleteRagCorpus(
DeleteRagCorpusRequest request) → Future< Operation< Empty, DeleteOperationMetadata> > - Deletes a RagCorpus.
-
deleteRagFile(
DeleteRagFileRequest request) → Future< Operation< Empty, DeleteOperationMetadata> > - Deletes a RagFile.
-
getIamPolicy(
GetIamPolicyRequest request) → Future< Policy> - Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
-
getLocation(
GetLocationRequest request) → Future< Location> - Gets information about a location.
-
getOperation<
T extends ProtoMessage, S extends ProtoMessage> (Operation< T, S> request) → Future<Operation< T, S> > -
Provides the
Operationsservice functionality in this service. -
getRagCorpus(
GetRagCorpusRequest request) → Future< RagCorpus> - Gets a RagCorpus.
-
getRagEngineConfig(
GetRagEngineConfigRequest request) → Future< RagEngineConfig> - Gets a RagEngineConfig.
-
getRagFile(
GetRagFileRequest request) → Future< RagFile> - Gets a RagFile.
-
importRagFiles(
ImportRagFilesRequest request) → Future< Operation< ImportRagFilesResponse, ImportRagFilesOperationMetadata> > - Import files from Google Cloud Storage or Google Drive into a RagCorpus.
-
listLocations(
ListLocationsRequest request) → Future< ListLocationsResponse> - Lists information about the supported locations for this service.
-
listOperations(
ListOperationsRequest request) → Future< ListOperationsResponse> -
Provides the
Operationsservice functionality in this service. -
listRagCorpora(
ListRagCorporaRequest request) → Future< ListRagCorporaResponse> - Lists RagCorpora in a Location.
-
listRagFiles(
ListRagFilesRequest request) → Future< ListRagFilesResponse> - Lists RagFiles in a RagCorpus.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setIamPolicy(
SetIamPolicyRequest request) → Future< Policy> - Sets the access control policy on the specified resource. Replaces any existing policy.
-
testIamPermissions(
TestIamPermissionsRequest request) → Future< TestIamPermissionsResponse> -
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a
NOT_FOUNDerror. -
toString(
) → String -
A string representation of this object.
inherited
-
updateRagCorpus(
UpdateRagCorpusRequest request) → Future< Operation< RagCorpus, UpdateRagCorpusOperationMetadata> > - Updates a RagCorpus.
-
updateRagEngineConfig(
UpdateRagEngineConfigRequest request) → Future< Operation< RagEngineConfig, UpdateRagEngineConfigOperationMetadata> > - Updates a RagEngineConfig.
-
uploadRagFile(
UploadRagFileRequest request) → Future< UploadRagFileResponse> - Upload a file into a RagCorpus.
-
waitOperation(
WaitOperationRequest request) → Future< Operation< ProtoMessage, ProtoMessage> > -
Provides the
Operationsservice functionality in this service.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited