Interface VertexRagDataServiceGrpc.AsyncService (3.49.0)

public static interface VertexRagDataServiceGrpc.AsyncService

A service for managing user data for RAG.

Methods

createRagCorpus(CreateRagCorpusRequest request, StreamObserver<Operation> responseObserver)

public default void createRagCorpus(CreateRagCorpusRequest request, StreamObserver<Operation> responseObserver)

Creates a RagCorpus.

Parameters
Name Description
request CreateRagCorpusRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteRagCorpus(DeleteRagCorpusRequest request, StreamObserver<Operation> responseObserver)

public default void deleteRagCorpus(DeleteRagCorpusRequest request, StreamObserver<Operation> responseObserver)

Deletes a RagCorpus.

Parameters
Name Description
request DeleteRagCorpusRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteRagFile(DeleteRagFileRequest request, StreamObserver<Operation> responseObserver)

public default void deleteRagFile(DeleteRagFileRequest request, StreamObserver<Operation> responseObserver)

Deletes a RagFile.

Parameters
Name Description
request DeleteRagFileRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

getRagCorpus(GetRagCorpusRequest request, StreamObserver<RagCorpus> responseObserver)

public default void getRagCorpus(GetRagCorpusRequest request, StreamObserver<RagCorpus> responseObserver)

Gets a RagCorpus.

Parameters
Name Description
request GetRagCorpusRequest
responseObserver io.grpc.stub.StreamObserver<RagCorpus>

getRagFile(GetRagFileRequest request, StreamObserver<RagFile> responseObserver)

public default void getRagFile(GetRagFileRequest request, StreamObserver<RagFile> responseObserver)

Gets a RagFile.

Parameters
Name Description
request GetRagFileRequest
responseObserver io.grpc.stub.StreamObserver<RagFile>

importRagFiles(ImportRagFilesRequest request, StreamObserver<Operation> responseObserver)

public default void importRagFiles(ImportRagFilesRequest request, StreamObserver<Operation> responseObserver)

Import files from Google Cloud Storage or Google Drive into a RagCorpus.

Parameters
Name Description
request ImportRagFilesRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

listRagCorpora(ListRagCorporaRequest request, StreamObserver<ListRagCorporaResponse> responseObserver)

public default void listRagCorpora(ListRagCorporaRequest request, StreamObserver<ListRagCorporaResponse> responseObserver)

Lists RagCorpora in a Location.

Parameters
Name Description
request ListRagCorporaRequest
responseObserver io.grpc.stub.StreamObserver<ListRagCorporaResponse>

listRagFiles(ListRagFilesRequest request, StreamObserver<ListRagFilesResponse> responseObserver)

public default void listRagFiles(ListRagFilesRequest request, StreamObserver<ListRagFilesResponse> responseObserver)

Lists RagFiles in a RagCorpus.

Parameters
Name Description
request ListRagFilesRequest
responseObserver io.grpc.stub.StreamObserver<ListRagFilesResponse>

uploadRagFile(UploadRagFileRequest request, StreamObserver<UploadRagFileResponse> responseObserver)

public default void uploadRagFile(UploadRagFileRequest request, StreamObserver<UploadRagFileResponse> responseObserver)

Upload a file into a RagCorpus.

Parameters
Name Description
request UploadRagFileRequest
responseObserver io.grpc.stub.StreamObserver<UploadRagFileResponse>