Vertex AI v1beta1 API - Class VertexRagDataService.VertexRagDataServiceBase (1.0.0-beta75)

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

Reference documentation and code samples for the Vertex AI 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

BatchCreateRagDataSchemas(BatchCreateRagDataSchemasRequest, ServerCallContext)

public virtual Task<Operation> BatchCreateRagDataSchemas(BatchCreateRagDataSchemasRequest request, ServerCallContext context)

Batch Create one or more RagDataSchemas

Parameters
Name Description
request BatchCreateRagDataSchemasRequest

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

BatchCreateRagMetadata(BatchCreateRagMetadataRequest, ServerCallContext)

public virtual Task<Operation> BatchCreateRagMetadata(BatchCreateRagMetadataRequest request, ServerCallContext context)

Batch Create one or more RagMetadatas

Parameters
Name Description
request BatchCreateRagMetadataRequest

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

BatchDeleteRagDataSchemas(BatchDeleteRagDataSchemasRequest, ServerCallContext)

public virtual Task<Operation> BatchDeleteRagDataSchemas(BatchDeleteRagDataSchemasRequest request, ServerCallContext context)

Batch Deletes one or more RagDataSchemas

Parameters
Name Description
request BatchDeleteRagDataSchemasRequest

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

BatchDeleteRagMetadata(BatchDeleteRagMetadataRequest, ServerCallContext)

public virtual Task<Operation> BatchDeleteRagMetadata(BatchDeleteRagMetadataRequest request, ServerCallContext context)

Batch Deletes one or more RagMetadata.

Parameters
Name Description
request BatchDeleteRagMetadataRequest

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

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

CreateRagDataSchema(CreateRagDataSchemaRequest, ServerCallContext)

public virtual Task<RagDataSchema> CreateRagDataSchema(CreateRagDataSchemaRequest request, ServerCallContext context)

Creates a RagDataSchema.

Parameters
Name Description
request CreateRagDataSchemaRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskRagDataSchema

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

CreateRagMetadata(CreateRagMetadataRequest, ServerCallContext)

public virtual Task<RagMetadata> CreateRagMetadata(CreateRagMetadataRequest request, ServerCallContext context)

Creates a RagMetadata.

Parameters
Name Description
request CreateRagMetadataRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskRagMetadata

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

DeleteRagDataSchema(DeleteRagDataSchemaRequest, ServerCallContext)

public virtual Task<Empty> DeleteRagDataSchema(DeleteRagDataSchemaRequest request, ServerCallContext context)

Deletes a RagDataSchema.

Parameters
Name Description
request DeleteRagDataSchemaRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskEmpty

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

DeleteRagMetadata(DeleteRagMetadataRequest, ServerCallContext)

public virtual Task<Empty> DeleteRagMetadata(DeleteRagMetadataRequest request, ServerCallContext context)

Deletes a RagMetadata.

Parameters
Name Description
request DeleteRagMetadataRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskEmpty

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

GetRagDataSchema(GetRagDataSchemaRequest, ServerCallContext)

public virtual Task<RagDataSchema> GetRagDataSchema(GetRagDataSchemaRequest request, ServerCallContext context)

Gets a RagDataSchema.

Parameters
Name Description
request GetRagDataSchemaRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskRagDataSchema

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

GetRagEngineConfig(GetRagEngineConfigRequest, ServerCallContext)

public virtual Task<RagEngineConfig> GetRagEngineConfig(GetRagEngineConfigRequest request, ServerCallContext context)

Gets a RagEngineConfig.

Parameters
Name Description
request GetRagEngineConfigRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskRagEngineConfig

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

GetRagMetadata(GetRagMetadataRequest, ServerCallContext)

public virtual Task<RagMetadata> GetRagMetadata(GetRagMetadataRequest request, ServerCallContext context)

Gets a RagMetadata.

Parameters
Name Description
request GetRagMetadataRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskRagMetadata

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

ListRagDataSchemas(ListRagDataSchemasRequest, ServerCallContext)

public virtual Task<ListRagDataSchemasResponse> ListRagDataSchemas(ListRagDataSchemasRequest request, ServerCallContext context)

Lists RagDataSchemas in a Location.

Parameters
Name Description
request ListRagDataSchemasRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListRagDataSchemasResponse

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

ListRagMetadata(ListRagMetadataRequest, ServerCallContext)

public virtual Task<ListRagMetadataResponse> ListRagMetadata(ListRagMetadataRequest request, ServerCallContext context)

Lists RagMetadata in a RagFile.

Parameters
Name Description
request ListRagMetadataRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListRagMetadataResponse

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

UpdateRagEngineConfig(UpdateRagEngineConfigRequest, ServerCallContext)

public virtual Task<Operation> UpdateRagEngineConfig(UpdateRagEngineConfigRequest request, ServerCallContext context)

Updates a RagEngineConfig.

Parameters
Name Description
request UpdateRagEngineConfigRequest

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

UpdateRagMetadata(UpdateRagMetadataRequest, ServerCallContext)

public virtual Task<RagMetadata> UpdateRagMetadata(UpdateRagMetadataRequest request, ServerCallContext context)

Updates a RagMetadata.

Parameters
Name Description
request UpdateRagMetadataRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskRagMetadata

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