Vertex AI v1beta1 API - Class VertexRagDataServiceClientImpl (1.0.0-beta74)

public sealed class VertexRagDataServiceClientImpl : VertexRagDataServiceClient

Reference documentation and code samples for the Vertex AI v1beta1 API class VertexRagDataServiceClientImpl.

VertexRagDataService client wrapper implementation, for convenient use.

Inheritance

object > VertexRagDataServiceClient > VertexRagDataServiceClientImpl

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Remarks

A service for managing user data for RAG.

Constructors

VertexRagDataServiceClientImpl(VertexRagDataServiceClient, VertexRagDataServiceSettings, ILogger)

public VertexRagDataServiceClientImpl(VertexRagDataService.VertexRagDataServiceClient grpcClient, VertexRagDataServiceSettings settings, ILogger logger)

Constructs a client wrapper for the VertexRagDataService service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient VertexRagDataServiceVertexRagDataServiceClient

The underlying gRPC client.

settings VertexRagDataServiceSettings

The base VertexRagDataServiceSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

BatchCreateRagDataSchemasOperationsClient

public override OperationsClient BatchCreateRagDataSchemasOperationsClient { get; }

The long-running operations client for BatchCreateRagDataSchemas.

Property Value
Type Description
OperationsClient
Overrides

BatchCreateRagMetadataOperationsClient

public override OperationsClient BatchCreateRagMetadataOperationsClient { get; }

The long-running operations client for BatchCreateRagMetadata.

Property Value
Type Description
OperationsClient
Overrides

BatchDeleteRagDataSchemasOperationsClient

public override OperationsClient BatchDeleteRagDataSchemasOperationsClient { get; }

The long-running operations client for BatchDeleteRagDataSchemas.

Property Value
Type Description
OperationsClient
Overrides

BatchDeleteRagMetadataOperationsClient

public override OperationsClient BatchDeleteRagMetadataOperationsClient { get; }

The long-running operations client for BatchDeleteRagMetadata.

Property Value
Type Description
OperationsClient
Overrides

CreateRagCorpusOperationsClient

public override OperationsClient CreateRagCorpusOperationsClient { get; }

The long-running operations client for CreateRagCorpus.

Property Value
Type Description
OperationsClient
Overrides

DeleteRagCorpusOperationsClient

public override OperationsClient DeleteRagCorpusOperationsClient { get; }

The long-running operations client for DeleteRagCorpus.

Property Value
Type Description
OperationsClient
Overrides

DeleteRagFileOperationsClient

public override OperationsClient DeleteRagFileOperationsClient { get; }

The long-running operations client for DeleteRagFile.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override VertexRagDataService.VertexRagDataServiceClient GrpcClient { get; }

The underlying gRPC VertexRagDataService client

Property Value
Type Description
VertexRagDataServiceVertexRagDataServiceClient
Overrides

IAMPolicyClient

public override IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
Type Description
IAMPolicyClient
Overrides

ImportRagFilesOperationsClient

public override OperationsClient ImportRagFilesOperationsClient { get; }

The long-running operations client for ImportRagFiles.

Property Value
Type Description
OperationsClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

UpdateRagCorpusOperationsClient

public override OperationsClient UpdateRagCorpusOperationsClient { get; }

The long-running operations client for UpdateRagCorpus.

Property Value
Type Description
OperationsClient
Overrides

UpdateRagEngineConfigOperationsClient

public override OperationsClient UpdateRagEngineConfigOperationsClient { get; }

The long-running operations client for UpdateRagEngineConfig.

Property Value
Type Description
OperationsClient
Overrides

Methods

BatchCreateRagDataSchemas(BatchCreateRagDataSchemasRequest, CallSettings)

public override Operation<BatchCreateRagDataSchemasResponse, BatchCreateRagDataSchemasOperationMetadata> BatchCreateRagDataSchemas(BatchCreateRagDataSchemasRequest request, CallSettings callSettings = null)

Batch Create one or more RagDataSchemas

Parameters
Name Description
request BatchCreateRagDataSchemasRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationBatchCreateRagDataSchemasResponseBatchCreateRagDataSchemasOperationMetadata

The RPC response.

Overrides

BatchCreateRagDataSchemasAsync(BatchCreateRagDataSchemasRequest, CallSettings)

public override Task<Operation<BatchCreateRagDataSchemasResponse, BatchCreateRagDataSchemasOperationMetadata>> BatchCreateRagDataSchemasAsync(BatchCreateRagDataSchemasRequest request, CallSettings callSettings = null)

Batch Create one or more RagDataSchemas

Parameters
Name Description
request BatchCreateRagDataSchemasRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationBatchCreateRagDataSchemasResponseBatchCreateRagDataSchemasOperationMetadata

A Task containing the RPC response.

Overrides

BatchCreateRagMetadata(BatchCreateRagMetadataRequest, CallSettings)

public override Operation<BatchCreateRagMetadataResponse, BatchCreateRagMetadataOperationMetadata> BatchCreateRagMetadata(BatchCreateRagMetadataRequest request, CallSettings callSettings = null)

Batch Create one or more RagMetadatas

Parameters
Name Description
request BatchCreateRagMetadataRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationBatchCreateRagMetadataResponseBatchCreateRagMetadataOperationMetadata

The RPC response.

Overrides

BatchCreateRagMetadataAsync(BatchCreateRagMetadataRequest, CallSettings)

public override Task<Operation<BatchCreateRagMetadataResponse, BatchCreateRagMetadataOperationMetadata>> BatchCreateRagMetadataAsync(BatchCreateRagMetadataRequest request, CallSettings callSettings = null)

Batch Create one or more RagMetadatas

Parameters
Name Description
request BatchCreateRagMetadataRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationBatchCreateRagMetadataResponseBatchCreateRagMetadataOperationMetadata

A Task containing the RPC response.

Overrides

BatchDeleteRagDataSchemas(BatchDeleteRagDataSchemasRequest, CallSettings)

public override Operation<Empty, DeleteOperationMetadata> BatchDeleteRagDataSchemas(BatchDeleteRagDataSchemasRequest request, CallSettings callSettings = null)

Batch Deletes one or more RagDataSchemas

Parameters
Name Description
request BatchDeleteRagDataSchemasRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyDeleteOperationMetadata

The RPC response.

Overrides

BatchDeleteRagDataSchemasAsync(BatchDeleteRagDataSchemasRequest, CallSettings)

public override Task<Operation<Empty, DeleteOperationMetadata>> BatchDeleteRagDataSchemasAsync(BatchDeleteRagDataSchemasRequest request, CallSettings callSettings = null)

Batch Deletes one or more RagDataSchemas

Parameters
Name Description
request BatchDeleteRagDataSchemasRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Overrides

BatchDeleteRagMetadata(BatchDeleteRagMetadataRequest, CallSettings)

public override Operation<Empty, DeleteOperationMetadata> BatchDeleteRagMetadata(BatchDeleteRagMetadataRequest request, CallSettings callSettings = null)

Batch Deletes one or more RagMetadata.

Parameters
Name Description
request BatchDeleteRagMetadataRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyDeleteOperationMetadata

The RPC response.

Overrides

BatchDeleteRagMetadataAsync(BatchDeleteRagMetadataRequest, CallSettings)

public override Task<Operation<Empty, DeleteOperationMetadata>> BatchDeleteRagMetadataAsync(BatchDeleteRagMetadataRequest request, CallSettings callSettings = null)

Batch Deletes one or more RagMetadata.

Parameters
Name Description
request BatchDeleteRagMetadataRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Overrides

CreateRagCorpus(CreateRagCorpusRequest, CallSettings)

public override Operation<RagCorpus, CreateRagCorpusOperationMetadata> CreateRagCorpus(CreateRagCorpusRequest request, CallSettings callSettings = null)

Creates a RagCorpus.

Parameters
Name Description
request CreateRagCorpusRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationRagCorpusCreateRagCorpusOperationMetadata

The RPC response.

Overrides

CreateRagCorpusAsync(CreateRagCorpusRequest, CallSettings)

public override Task<Operation<RagCorpus, CreateRagCorpusOperationMetadata>> CreateRagCorpusAsync(CreateRagCorpusRequest request, CallSettings callSettings = null)

Creates a RagCorpus.

Parameters
Name Description
request CreateRagCorpusRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationRagCorpusCreateRagCorpusOperationMetadata

A Task containing the RPC response.

Overrides

CreateRagDataSchema(CreateRagDataSchemaRequest, CallSettings)

public override RagDataSchema CreateRagDataSchema(CreateRagDataSchemaRequest request, CallSettings callSettings = null)

Creates a RagDataSchema.

Parameters
Name Description
request CreateRagDataSchemaRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
RagDataSchema

The RPC response.

Overrides

CreateRagDataSchemaAsync(CreateRagDataSchemaRequest, CallSettings)

public override Task<RagDataSchema> CreateRagDataSchemaAsync(CreateRagDataSchemaRequest request, CallSettings callSettings = null)

Creates a RagDataSchema.

Parameters
Name Description
request CreateRagDataSchemaRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskRagDataSchema

A Task containing the RPC response.

Overrides

CreateRagMetadata(CreateRagMetadataRequest, CallSettings)

public override RagMetadata CreateRagMetadata(CreateRagMetadataRequest request, CallSettings callSettings = null)

Creates a RagMetadata.

Parameters
Name Description
request CreateRagMetadataRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
RagMetadata

The RPC response.

Overrides

CreateRagMetadataAsync(CreateRagMetadataRequest, CallSettings)

public override Task<RagMetadata> CreateRagMetadataAsync(CreateRagMetadataRequest request, CallSettings callSettings = null)

Creates a RagMetadata.

Parameters
Name Description
request CreateRagMetadataRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskRagMetadata

A Task containing the RPC response.

Overrides

DeleteRagCorpus(DeleteRagCorpusRequest, CallSettings)

public override Operation<Empty, DeleteOperationMetadata> DeleteRagCorpus(DeleteRagCorpusRequest request, CallSettings callSettings = null)

Deletes a RagCorpus.

Parameters
Name Description
request DeleteRagCorpusRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyDeleteOperationMetadata

The RPC response.

Overrides

DeleteRagCorpusAsync(DeleteRagCorpusRequest, CallSettings)

public override Task<Operation<Empty, DeleteOperationMetadata>> DeleteRagCorpusAsync(DeleteRagCorpusRequest request, CallSettings callSettings = null)

Deletes a RagCorpus.

Parameters
Name Description
request DeleteRagCorpusRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Overrides

DeleteRagDataSchema(DeleteRagDataSchemaRequest, CallSettings)

public override void DeleteRagDataSchema(DeleteRagDataSchemaRequest request, CallSettings callSettings = null)

Deletes a RagDataSchema.

Parameters
Name Description
request DeleteRagDataSchemaRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteRagDataSchemaAsync(DeleteRagDataSchemaRequest, CallSettings)

public override Task DeleteRagDataSchemaAsync(DeleteRagDataSchemaRequest request, CallSettings callSettings = null)

Deletes a RagDataSchema.

Parameters
Name Description
request DeleteRagDataSchemaRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Overrides

DeleteRagFile(DeleteRagFileRequest, CallSettings)

public override Operation<Empty, DeleteOperationMetadata> DeleteRagFile(DeleteRagFileRequest request, CallSettings callSettings = null)

Deletes a RagFile.

Parameters
Name Description
request DeleteRagFileRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyDeleteOperationMetadata

The RPC response.

Overrides

DeleteRagFileAsync(DeleteRagFileRequest, CallSettings)

public override Task<Operation<Empty, DeleteOperationMetadata>> DeleteRagFileAsync(DeleteRagFileRequest request, CallSettings callSettings = null)

Deletes a RagFile.

Parameters
Name Description
request DeleteRagFileRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyDeleteOperationMetadata

A Task containing the RPC response.

Overrides

DeleteRagMetadata(DeleteRagMetadataRequest, CallSettings)

public override void DeleteRagMetadata(DeleteRagMetadataRequest request, CallSettings callSettings = null)

Deletes a RagMetadata.

Parameters
Name Description
request DeleteRagMetadataRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteRagMetadataAsync(DeleteRagMetadataRequest, CallSettings)

public override Task DeleteRagMetadataAsync(DeleteRagMetadataRequest request, CallSettings callSettings = null)

Deletes a RagMetadata.

Parameters
Name Description
request DeleteRagMetadataRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Overrides

GetRagCorpus(GetRagCorpusRequest, CallSettings)

public override RagCorpus GetRagCorpus(GetRagCorpusRequest request, CallSettings callSettings = null)

Gets a RagCorpus.

Parameters
Name Description
request GetRagCorpusRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
RagCorpus

The RPC response.

Overrides

GetRagCorpusAsync(GetRagCorpusRequest, CallSettings)

public override Task<RagCorpus> GetRagCorpusAsync(GetRagCorpusRequest request, CallSettings callSettings = null)

Gets a RagCorpus.

Parameters
Name Description
request GetRagCorpusRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskRagCorpus

A Task containing the RPC response.

Overrides

GetRagDataSchema(GetRagDataSchemaRequest, CallSettings)

public override RagDataSchema GetRagDataSchema(GetRagDataSchemaRequest request, CallSettings callSettings = null)

Gets a RagDataSchema.

Parameters
Name Description
request GetRagDataSchemaRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
RagDataSchema

The RPC response.

Overrides

GetRagDataSchemaAsync(GetRagDataSchemaRequest, CallSettings)

public override Task<RagDataSchema> GetRagDataSchemaAsync(GetRagDataSchemaRequest request, CallSettings callSettings = null)

Gets a RagDataSchema.

Parameters
Name Description
request GetRagDataSchemaRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskRagDataSchema

A Task containing the RPC response.

Overrides

GetRagEngineConfig(GetRagEngineConfigRequest, CallSettings)

public override RagEngineConfig GetRagEngineConfig(GetRagEngineConfigRequest request, CallSettings callSettings = null)

Gets a RagEngineConfig.

Parameters
Name Description
request GetRagEngineConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
RagEngineConfig

The RPC response.

Overrides

GetRagEngineConfigAsync(GetRagEngineConfigRequest, CallSettings)

public override Task<RagEngineConfig> GetRagEngineConfigAsync(GetRagEngineConfigRequest request, CallSettings callSettings = null)

Gets a RagEngineConfig.

Parameters
Name Description
request GetRagEngineConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskRagEngineConfig

A Task containing the RPC response.

Overrides

GetRagFile(GetRagFileRequest, CallSettings)

public override RagFile GetRagFile(GetRagFileRequest request, CallSettings callSettings = null)

Gets a RagFile.

Parameters
Name Description
request GetRagFileRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
RagFile

The RPC response.

Overrides

GetRagFileAsync(GetRagFileRequest, CallSettings)

public override Task<RagFile> GetRagFileAsync(GetRagFileRequest request, CallSettings callSettings = null)

Gets a RagFile.

Parameters
Name Description
request GetRagFileRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskRagFile

A Task containing the RPC response.

Overrides

GetRagMetadata(GetRagMetadataRequest, CallSettings)

public override RagMetadata GetRagMetadata(GetRagMetadataRequest request, CallSettings callSettings = null)

Gets a RagMetadata.

Parameters
Name Description
request GetRagMetadataRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
RagMetadata

The RPC response.

Overrides

GetRagMetadataAsync(GetRagMetadataRequest, CallSettings)

public override Task<RagMetadata> GetRagMetadataAsync(GetRagMetadataRequest request, CallSettings callSettings = null)

Gets a RagMetadata.

Parameters
Name Description
request GetRagMetadataRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskRagMetadata

A Task containing the RPC response.

Overrides

ImportRagFiles(ImportRagFilesRequest, CallSettings)

public override Operation<ImportRagFilesResponse, ImportRagFilesOperationMetadata> ImportRagFiles(ImportRagFilesRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request ImportRagFilesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationImportRagFilesResponseImportRagFilesOperationMetadata

The RPC response.

Overrides

ImportRagFilesAsync(ImportRagFilesRequest, CallSettings)

public override Task<Operation<ImportRagFilesResponse, ImportRagFilesOperationMetadata>> ImportRagFilesAsync(ImportRagFilesRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request ImportRagFilesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationImportRagFilesResponseImportRagFilesOperationMetadata

A Task containing the RPC response.

Overrides

ListRagCorpora(ListRagCorporaRequest, CallSettings)

public override PagedEnumerable<ListRagCorporaResponse, RagCorpus> ListRagCorpora(ListRagCorporaRequest request, CallSettings callSettings = null)

Lists RagCorpora in a Location.

Parameters
Name Description
request ListRagCorporaRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListRagCorporaResponseRagCorpus

A pageable sequence of RagCorpus resources.

Overrides

ListRagCorporaAsync(ListRagCorporaRequest, CallSettings)

public override PagedAsyncEnumerable<ListRagCorporaResponse, RagCorpus> ListRagCorporaAsync(ListRagCorporaRequest request, CallSettings callSettings = null)

Lists RagCorpora in a Location.

Parameters
Name Description
request ListRagCorporaRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListRagCorporaResponseRagCorpus

A pageable asynchronous sequence of RagCorpus resources.

Overrides

ListRagDataSchemas(ListRagDataSchemasRequest, CallSettings)

public override PagedEnumerable<ListRagDataSchemasResponse, RagDataSchema> ListRagDataSchemas(ListRagDataSchemasRequest request, CallSettings callSettings = null)

Lists RagDataSchemas in a Location.

Parameters
Name Description
request ListRagDataSchemasRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListRagDataSchemasResponseRagDataSchema

A pageable sequence of RagDataSchema resources.

Overrides

ListRagDataSchemasAsync(ListRagDataSchemasRequest, CallSettings)

public override PagedAsyncEnumerable<ListRagDataSchemasResponse, RagDataSchema> ListRagDataSchemasAsync(ListRagDataSchemasRequest request, CallSettings callSettings = null)

Lists RagDataSchemas in a Location.

Parameters
Name Description
request ListRagDataSchemasRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListRagDataSchemasResponseRagDataSchema

A pageable asynchronous sequence of RagDataSchema resources.

Overrides

ListRagFiles(ListRagFilesRequest, CallSettings)

public override PagedEnumerable<ListRagFilesResponse, RagFile> ListRagFiles(ListRagFilesRequest request, CallSettings callSettings = null)

Lists RagFiles in a RagCorpus.

Parameters
Name Description
request ListRagFilesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListRagFilesResponseRagFile

A pageable sequence of RagFile resources.

Overrides

ListRagFilesAsync(ListRagFilesRequest, CallSettings)

public override PagedAsyncEnumerable<ListRagFilesResponse, RagFile> ListRagFilesAsync(ListRagFilesRequest request, CallSettings callSettings = null)

Lists RagFiles in a RagCorpus.

Parameters
Name Description
request ListRagFilesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListRagFilesResponseRagFile

A pageable asynchronous sequence of RagFile resources.

Overrides

ListRagMetadata(ListRagMetadataRequest, CallSettings)

public override PagedEnumerable<ListRagMetadataResponse, RagMetadata> ListRagMetadata(ListRagMetadataRequest request, CallSettings callSettings = null)

Lists RagMetadata in a RagFile.

Parameters
Name Description
request ListRagMetadataRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListRagMetadataResponseRagMetadata

A pageable sequence of RagMetadata resources.

Overrides

ListRagMetadataAsync(ListRagMetadataRequest, CallSettings)

public override PagedAsyncEnumerable<ListRagMetadataResponse, RagMetadata> ListRagMetadataAsync(ListRagMetadataRequest request, CallSettings callSettings = null)

Lists RagMetadata in a RagFile.

Parameters
Name Description
request ListRagMetadataRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListRagMetadataResponseRagMetadata

A pageable asynchronous sequence of RagMetadata resources.

Overrides

UpdateRagCorpus(UpdateRagCorpusRequest, CallSettings)

public override Operation<RagCorpus, UpdateRagCorpusOperationMetadata> UpdateRagCorpus(UpdateRagCorpusRequest request, CallSettings callSettings = null)

Updates a RagCorpus.

Parameters
Name Description
request UpdateRagCorpusRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationRagCorpusUpdateRagCorpusOperationMetadata

The RPC response.

Overrides

UpdateRagCorpusAsync(UpdateRagCorpusRequest, CallSettings)

public override Task<Operation<RagCorpus, UpdateRagCorpusOperationMetadata>> UpdateRagCorpusAsync(UpdateRagCorpusRequest request, CallSettings callSettings = null)

Updates a RagCorpus.

Parameters
Name Description
request UpdateRagCorpusRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationRagCorpusUpdateRagCorpusOperationMetadata

A Task containing the RPC response.

Overrides

UpdateRagEngineConfig(UpdateRagEngineConfigRequest, CallSettings)

public override Operation<RagEngineConfig, UpdateRagEngineConfigOperationMetadata> UpdateRagEngineConfig(UpdateRagEngineConfigRequest request, CallSettings callSettings = null)

Updates a RagEngineConfig.

Parameters
Name Description
request UpdateRagEngineConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationRagEngineConfigUpdateRagEngineConfigOperationMetadata

The RPC response.

Overrides

UpdateRagEngineConfigAsync(UpdateRagEngineConfigRequest, CallSettings)

public override Task<Operation<RagEngineConfig, UpdateRagEngineConfigOperationMetadata>> UpdateRagEngineConfigAsync(UpdateRagEngineConfigRequest request, CallSettings callSettings = null)

Updates a RagEngineConfig.

Parameters
Name Description
request UpdateRagEngineConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationRagEngineConfigUpdateRagEngineConfigOperationMetadata

A Task containing the RPC response.

Overrides

UpdateRagMetadata(UpdateRagMetadataRequest, CallSettings)

public override RagMetadata UpdateRagMetadata(UpdateRagMetadataRequest request, CallSettings callSettings = null)

Updates a RagMetadata.

Parameters
Name Description
request UpdateRagMetadataRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
RagMetadata

The RPC response.

Overrides

UpdateRagMetadataAsync(UpdateRagMetadataRequest, CallSettings)

public override Task<RagMetadata> UpdateRagMetadataAsync(UpdateRagMetadataRequest request, CallSettings callSettings = null)

Updates a RagMetadata.

Parameters
Name Description
request UpdateRagMetadataRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskRagMetadata

A Task containing the RPC response.

Overrides

UploadRagFile(UploadRagFileRequest, CallSettings)

public override UploadRagFileResponse UploadRagFile(UploadRagFileRequest request, CallSettings callSettings = null)

Upload a file into a RagCorpus.

Parameters
Name Description
request UploadRagFileRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
UploadRagFileResponse

The RPC response.

Overrides

UploadRagFileAsync(UploadRagFileRequest, CallSettings)

public override Task<UploadRagFileResponse> UploadRagFileAsync(UploadRagFileRequest request, CallSettings callSettings = null)

Upload a file into a RagCorpus.

Parameters
Name Description
request UploadRagFileRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskUploadRagFileResponse

A Task containing the RPC response.

Overrides