public sealed class EngineServiceClientImpl : EngineServiceClientReference documentation and code samples for the Discovery Engine v1 API class EngineServiceClientImpl.
EngineService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.dll
Remarks
Service for managing [Engine][google.cloud.discoveryengine.v1.Engine] configuration.
Constructors
EngineServiceClientImpl(EngineServiceClient, EngineServiceSettings, ILogger)
public EngineServiceClientImpl(EngineService.EngineServiceClient grpcClient, EngineServiceSettings settings, ILogger logger)Constructs a client wrapper for the EngineService service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
EngineServiceEngineServiceClientThe underlying gRPC client. |
settings |
EngineServiceSettingsThe base EngineServiceSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
CreateEngineOperationsClient
public override OperationsClient CreateEngineOperationsClient { get; }The long-running operations client for CreateEngine.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteEngineOperationsClient
public override OperationsClient DeleteEngineOperationsClient { get; }The long-running operations client for DeleteEngine.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GrpcClient
public override EngineService.EngineServiceClient GrpcClient { get; }The underlying gRPC EngineService client
| Property Value | |
|---|---|
| Type | Description |
EngineServiceEngineServiceClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
Methods
CreateEngine(CreateEngineRequest, CallSettings)
public override Operation<Engine, CreateEngineMetadata> CreateEngine(CreateEngineRequest request, CallSettings callSettings = null)Creates a [Engine][google.cloud.discoveryengine.v1.Engine].
| Parameters | |
|---|---|
| Name | Description |
request |
CreateEngineRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEngineCreateEngineMetadata |
The RPC response. |
CreateEngineAsync(CreateEngineRequest, CallSettings)
public override Task<Operation<Engine, CreateEngineMetadata>> CreateEngineAsync(CreateEngineRequest request, CallSettings callSettings = null)Creates a [Engine][google.cloud.discoveryengine.v1.Engine].
| Parameters | |
|---|---|
| Name | Description |
request |
CreateEngineRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEngineCreateEngineMetadata |
A Task containing the RPC response. |
DeleteEngine(DeleteEngineRequest, CallSettings)
public override Operation<Empty, DeleteEngineMetadata> DeleteEngine(DeleteEngineRequest request, CallSettings callSettings = null)Deletes a [Engine][google.cloud.discoveryengine.v1.Engine].
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteEngineRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyDeleteEngineMetadata |
The RPC response. |
DeleteEngineAsync(DeleteEngineRequest, CallSettings)
public override Task<Operation<Empty, DeleteEngineMetadata>> DeleteEngineAsync(DeleteEngineRequest request, CallSettings callSettings = null)Deletes a [Engine][google.cloud.discoveryengine.v1.Engine].
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteEngineRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyDeleteEngineMetadata |
A Task containing the RPC response. |
GetEngine(GetEngineRequest, CallSettings)
public override Engine GetEngine(GetEngineRequest request, CallSettings callSettings = null)Gets a [Engine][google.cloud.discoveryengine.v1.Engine].
| Parameters | |
|---|---|
| Name | Description |
request |
GetEngineRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Engine |
The RPC response. |
GetEngineAsync(GetEngineRequest, CallSettings)
public override Task<Engine> GetEngineAsync(GetEngineRequest request, CallSettings callSettings = null)Gets a [Engine][google.cloud.discoveryengine.v1.Engine].
| Parameters | |
|---|---|
| Name | Description |
request |
GetEngineRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEngine |
A Task containing the RPC response. |
ListEngines(ListEnginesRequest, CallSettings)
public override PagedEnumerable<ListEnginesResponse, Engine> ListEngines(ListEnginesRequest request, CallSettings callSettings = null)Lists all the [Engine][google.cloud.discoveryengine.v1.Engine]s associated with the project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListEnginesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListEnginesResponseEngine |
A pageable sequence of Engine resources. |
ListEnginesAsync(ListEnginesRequest, CallSettings)
public override PagedAsyncEnumerable<ListEnginesResponse, Engine> ListEnginesAsync(ListEnginesRequest request, CallSettings callSettings = null)Lists all the [Engine][google.cloud.discoveryengine.v1.Engine]s associated with the project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListEnginesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListEnginesResponseEngine |
A pageable asynchronous sequence of Engine resources. |
UpdateEngine(UpdateEngineRequest, CallSettings)
public override Engine UpdateEngine(UpdateEngineRequest request, CallSettings callSettings = null)Updates an [Engine][google.cloud.discoveryengine.v1.Engine]
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateEngineRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Engine |
The RPC response. |
UpdateEngineAsync(UpdateEngineRequest, CallSettings)
public override Task<Engine> UpdateEngineAsync(UpdateEngineRequest request, CallSettings callSettings = null)Updates an [Engine][google.cloud.discoveryengine.v1.Engine]
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateEngineRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskEngine |
A Task containing the RPC response. |