Cloud AI Platform v1beta1 API - Class VertexRagDataService.VertexRagDataServiceBase (1.0.0-beta12)

[BindServiceMethod(typeof(VertexRagDataService), "BindService")]
public abstract class VertexRagDataService.VertexRagDataServiceBase

Reference documentation and code samples for the Cloud AI Platform v1beta1 API class VertexRagDataService.VertexRagDataServiceBase.

Base class for server-side implementations of VertexRagDataService

Inheritance

object > VertexRagDataService.VertexRagDataServiceBase

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Methods

CreateRagCorpus(CreateRagCorpusRequest, ServerCallContext)

public virtual Task<Operation> CreateRagCorpus(CreateRagCorpusRequest request, ServerCallContext context)

Creates a RagCorpus.

Parameters
Name Description
request CreateRagCorpusRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteRagCorpus(DeleteRagCorpusRequest, ServerCallContext)

public virtual Task<Operation> DeleteRagCorpus(DeleteRagCorpusRequest request, ServerCallContext context)

Deletes a RagCorpus.

Parameters
Name Description
request DeleteRagCorpusRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteRagFile(DeleteRagFileRequest, ServerCallContext)

public virtual Task<Operation> DeleteRagFile(DeleteRagFileRequest request, ServerCallContext context)

Deletes a RagFile.

Parameters
Name Description
request DeleteRagFileRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

GetRagCorpus(GetRagCorpusRequest, ServerCallContext)

public virtual Task<RagCorpus> GetRagCorpus(GetRagCorpusRequest request, ServerCallContext context)

Gets a RagCorpus.

Parameters
Name Description
request GetRagCorpusRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskRagCorpus

The response to send back to the client (wrapped by a task).

GetRagFile(GetRagFileRequest, ServerCallContext)

public virtual Task<RagFile> GetRagFile(GetRagFileRequest request, ServerCallContext context)

Gets a RagFile.

Parameters
Name Description
request GetRagFileRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskRagFile

The response to send back to the client (wrapped by a task).

ImportRagFiles(ImportRagFilesRequest, ServerCallContext)

public virtual Task<Operation> ImportRagFiles(ImportRagFilesRequest request, ServerCallContext context)

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

Parameters
Name Description
request ImportRagFilesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

ListRagCorpora(ListRagCorporaRequest, ServerCallContext)

public virtual Task<ListRagCorporaResponse> ListRagCorpora(ListRagCorporaRequest request, ServerCallContext context)

Lists RagCorpora in a Location.

Parameters
Name Description
request ListRagCorporaRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListRagCorporaResponse

The response to send back to the client (wrapped by a task).

ListRagFiles(ListRagFilesRequest, ServerCallContext)

public virtual Task<ListRagFilesResponse> ListRagFiles(ListRagFilesRequest request, ServerCallContext context)

Lists RagFiles in a RagCorpus.

Parameters
Name Description
request ListRagFilesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListRagFilesResponse

The response to send back to the client (wrapped by a task).

UpdateRagCorpus(UpdateRagCorpusRequest, ServerCallContext)

public virtual Task<Operation> UpdateRagCorpus(UpdateRagCorpusRequest request, ServerCallContext context)

Updates a RagCorpus.

Parameters
Name Description
request UpdateRagCorpusRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

UploadRagFile(UploadRagFileRequest, ServerCallContext)

public virtual Task<UploadRagFileResponse> UploadRagFile(UploadRagFileRequest request, ServerCallContext context)

Upload a file into a RagCorpus.

Parameters
Name Description
request UploadRagFileRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskUploadRagFileResponse

The response to send back to the client (wrapped by a task).