public sealed class ExampleStoreServiceClientImpl : ExampleStoreServiceClientReference documentation and code samples for the Vertex AI v1beta1 API class ExampleStoreServiceClientImpl.
ExampleStoreService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Remarks
A service for managing and retrieving few-shot examples.
Constructors
ExampleStoreServiceClientImpl(ExampleStoreServiceClient, ExampleStoreServiceSettings, ILogger)
public ExampleStoreServiceClientImpl(ExampleStoreService.ExampleStoreServiceClient grpcClient, ExampleStoreServiceSettings settings, ILogger logger)Constructs a client wrapper for the ExampleStoreService service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
ExampleStoreServiceExampleStoreServiceClientThe underlying gRPC client. |
settings |
ExampleStoreServiceSettingsThe base ExampleStoreServiceSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
CreateExampleStoreOperationsClient
public override OperationsClient CreateExampleStoreOperationsClient { get; }The long-running operations client for CreateExampleStore.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteExampleStoreOperationsClient
public override OperationsClient DeleteExampleStoreOperationsClient { get; }The long-running operations client for DeleteExampleStore.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GrpcClient
public override ExampleStoreService.ExampleStoreServiceClient GrpcClient { get; }The underlying gRPC ExampleStoreService client
| Property Value | |
|---|---|
| Type | Description |
ExampleStoreServiceExampleStoreServiceClient |
|
IAMPolicyClient
public override IAMPolicyClient IAMPolicyClient { get; }The IAMPolicyClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
IAMPolicyClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
UpdateExampleStoreOperationsClient
public override OperationsClient UpdateExampleStoreOperationsClient { get; }The long-running operations client for UpdateExampleStore.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
Methods
CreateExampleStore(CreateExampleStoreRequest, CallSettings)
public override Operation<ExampleStore, CreateExampleStoreOperationMetadata> CreateExampleStore(CreateExampleStoreRequest request, CallSettings callSettings = null)Create an ExampleStore.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateExampleStoreRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationExampleStoreCreateExampleStoreOperationMetadata |
The RPC response. |
CreateExampleStoreAsync(CreateExampleStoreRequest, CallSettings)
public override Task<Operation<ExampleStore, CreateExampleStoreOperationMetadata>> CreateExampleStoreAsync(CreateExampleStoreRequest request, CallSettings callSettings = null)Create an ExampleStore.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateExampleStoreRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExampleStoreCreateExampleStoreOperationMetadata |
A Task containing the RPC response. |
DeleteExampleStore(DeleteExampleStoreRequest, CallSettings)
public override Operation<Empty, DeleteExampleStoreOperationMetadata> DeleteExampleStore(DeleteExampleStoreRequest request, CallSettings callSettings = null)Delete an ExampleStore.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteExampleStoreRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyDeleteExampleStoreOperationMetadata |
The RPC response. |
DeleteExampleStoreAsync(DeleteExampleStoreRequest, CallSettings)
public override Task<Operation<Empty, DeleteExampleStoreOperationMetadata>> DeleteExampleStoreAsync(DeleteExampleStoreRequest request, CallSettings callSettings = null)Delete an ExampleStore.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteExampleStoreRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyDeleteExampleStoreOperationMetadata |
A Task containing the RPC response. |
FetchExamples(FetchExamplesRequest, CallSettings)
public override PagedEnumerable<FetchExamplesResponse, Example> FetchExamples(FetchExamplesRequest request, CallSettings callSettings = null)Get Examples from the Example Store.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchExamplesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableFetchExamplesResponseExample |
A pageable sequence of Example resources. |
FetchExamplesAsync(FetchExamplesRequest, CallSettings)
public override PagedAsyncEnumerable<FetchExamplesResponse, Example> FetchExamplesAsync(FetchExamplesRequest request, CallSettings callSettings = null)Get Examples from the Example Store.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchExamplesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableFetchExamplesResponseExample |
A pageable asynchronous sequence of Example resources. |
GetExampleStore(GetExampleStoreRequest, CallSettings)
public override ExampleStore GetExampleStore(GetExampleStoreRequest request, CallSettings callSettings = null)Get an ExampleStore.
| Parameters | |
|---|---|
| Name | Description |
request |
GetExampleStoreRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ExampleStore |
The RPC response. |
GetExampleStoreAsync(GetExampleStoreRequest, CallSettings)
public override Task<ExampleStore> GetExampleStoreAsync(GetExampleStoreRequest request, CallSettings callSettings = null)Get an ExampleStore.
| Parameters | |
|---|---|
| Name | Description |
request |
GetExampleStoreRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskExampleStore |
A Task containing the RPC response. |
ListExampleStores(ListExampleStoresRequest, CallSettings)
public override PagedEnumerable<ListExampleStoresResponse, ExampleStore> ListExampleStores(ListExampleStoresRequest request, CallSettings callSettings = null)List ExampleStores in a Location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListExampleStoresRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListExampleStoresResponseExampleStore |
A pageable sequence of ExampleStore resources. |
ListExampleStoresAsync(ListExampleStoresRequest, CallSettings)
public override PagedAsyncEnumerable<ListExampleStoresResponse, ExampleStore> ListExampleStoresAsync(ListExampleStoresRequest request, CallSettings callSettings = null)List ExampleStores in a Location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListExampleStoresRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListExampleStoresResponseExampleStore |
A pageable asynchronous sequence of ExampleStore resources. |
RemoveExamples(RemoveExamplesRequest, CallSettings)
public override RemoveExamplesResponse RemoveExamples(RemoveExamplesRequest request, CallSettings callSettings = null)Remove Examples from the Example Store.
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveExamplesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
RemoveExamplesResponse |
The RPC response. |
RemoveExamplesAsync(RemoveExamplesRequest, CallSettings)
public override Task<RemoveExamplesResponse> RemoveExamplesAsync(RemoveExamplesRequest request, CallSettings callSettings = null)Remove Examples from the Example Store.
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveExamplesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskRemoveExamplesResponse |
A Task containing the RPC response. |
SearchExamples(SearchExamplesRequest, CallSettings)
public override SearchExamplesResponse SearchExamples(SearchExamplesRequest request, CallSettings callSettings = null)Search for similar Examples for given selection criteria.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchExamplesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
SearchExamplesResponse |
The RPC response. |
SearchExamplesAsync(SearchExamplesRequest, CallSettings)
public override Task<SearchExamplesResponse> SearchExamplesAsync(SearchExamplesRequest request, CallSettings callSettings = null)Search for similar Examples for given selection criteria.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchExamplesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSearchExamplesResponse |
A Task containing the RPC response. |
UpdateExampleStore(UpdateExampleStoreRequest, CallSettings)
public override Operation<ExampleStore, UpdateExampleStoreOperationMetadata> UpdateExampleStore(UpdateExampleStoreRequest request, CallSettings callSettings = null)Update an ExampleStore.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateExampleStoreRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationExampleStoreUpdateExampleStoreOperationMetadata |
The RPC response. |
UpdateExampleStoreAsync(UpdateExampleStoreRequest, CallSettings)
public override Task<Operation<ExampleStore, UpdateExampleStoreOperationMetadata>> UpdateExampleStoreAsync(UpdateExampleStoreRequest request, CallSettings callSettings = null)Update an ExampleStore.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateExampleStoreRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationExampleStoreUpdateExampleStoreOperationMetadata |
A Task containing the RPC response. |
UpsertExamples(UpsertExamplesRequest, CallSettings)
public override UpsertExamplesResponse UpsertExamples(UpsertExamplesRequest request, CallSettings callSettings = null)Create or update Examples in the Example Store.
| Parameters | |
|---|---|
| Name | Description |
request |
UpsertExamplesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
UpsertExamplesResponse |
The RPC response. |
UpsertExamplesAsync(UpsertExamplesRequest, CallSettings)
public override Task<UpsertExamplesResponse> UpsertExamplesAsync(UpsertExamplesRequest request, CallSettings callSettings = null)Create or update Examples in the Example Store.
| Parameters | |
|---|---|
| Name | Description |
request |
UpsertExamplesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskUpsertExamplesResponse |
A Task containing the RPC response. |