Cloud AI Platform v1 API - Class VertexRagDataServiceClientImpl (3.13.0)

public sealed class VertexRagDataServiceClientImpl : VertexRagDataServiceClient

Reference documentation and code samples for the Cloud AI Platform v1 API class VertexRagDataServiceClientImpl.

VertexRagDataService client wrapper implementation, for convenient use.

Inheritance

object > VertexRagDataServiceClient > VertexRagDataServiceClientImpl

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.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

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

Methods

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

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

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

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

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

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

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

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

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