public sealed class VertexRagDataServiceClientImpl : VertexRagDataServiceClient
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class VertexRagDataServiceClientImpl.
VertexRagDataService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.AIPlatform.V1Beta1Assembly
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
CreateRagCorpusOperationsClient
public override OperationsClient CreateRagCorpusOperationsClient { get; }
The long-running operations client for CreateRagCorpus
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteRagCorpusOperationsClient
public override OperationsClient DeleteRagCorpusOperationsClient { get; }
The long-running operations client for DeleteRagCorpus
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteRagFileOperationsClient
public override OperationsClient DeleteRagFileOperationsClient { get; }
The long-running operations client for DeleteRagFile
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override VertexRagDataService.VertexRagDataServiceClient GrpcClient { get; }
The underlying gRPC VertexRagDataService client
Property Value | |
---|---|
Type | Description |
VertexRagDataServiceVertexRagDataServiceClient |
IAMPolicyClient
public override IAMPolicyClient IAMPolicyClient { get; }
The IAMPolicyClient associated with this client.
Property Value | |
---|---|
Type | Description |
IAMPolicyClient |
ImportRagFilesOperationsClient
public override OperationsClient ImportRagFilesOperationsClient { get; }
The long-running operations client for ImportRagFiles
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
LocationsClient
public override LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Property Value | |
---|---|
Type | Description |
LocationsClient |
UpdateRagCorpusOperationsClient
public override OperationsClient UpdateRagCorpusOperationsClient { get; }
The long-running operations client for UpdateRagCorpus
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |