Discovery Engine v1 API - Class EngineServiceClientImpl (1.3.0)

public sealed class EngineServiceClientImpl : EngineServiceClient

Reference documentation and code samples for the Discovery Engine v1 API class EngineServiceClientImpl.

EngineService client wrapper implementation, for convenient use.

Inheritance

object > EngineServiceClient > EngineServiceClientImpl

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

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 EngineServiceEngineServiceClient

The underlying gRPC client.

settings EngineServiceSettings

The base EngineServiceSettings used within this client.

logger ILogger

Optional 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
Overrides

DeleteEngineOperationsClient

public override OperationsClient DeleteEngineOperationsClient { get; }

The long-running operations client for DeleteEngine.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override EngineService.EngineServiceClient GrpcClient { get; }

The underlying gRPC EngineService client

Property Value
Type Description
EngineServiceEngineServiceClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

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 CreateEngineRequest

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
OperationEngineCreateEngineMetadata

The RPC response.

Overrides

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 CreateEngineRequest

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
TaskOperationEngineCreateEngineMetadata

A Task containing the RPC response.

Overrides

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 DeleteEngineRequest

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
OperationEmptyDeleteEngineMetadata

The RPC response.

Overrides

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 DeleteEngineRequest

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
TaskOperationEmptyDeleteEngineMetadata

A Task containing the RPC response.

Overrides

GetEngine(GetEngineRequest, CallSettings)

public override Engine GetEngine(GetEngineRequest request, CallSettings callSettings = null)

Gets a [Engine][google.cloud.discoveryengine.v1.Engine].

Parameters
Name Description
request GetEngineRequest

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
Engine

The RPC response.

Overrides

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 GetEngineRequest

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
TaskEngine

A Task containing the RPC response.

Overrides

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 ListEnginesRequest

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
PagedEnumerableListEnginesResponseEngine

A pageable sequence of Engine resources.

Overrides

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 ListEnginesRequest

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
PagedAsyncEnumerableListEnginesResponseEngine

A pageable asynchronous sequence of Engine resources.

Overrides

UpdateEngine(UpdateEngineRequest, CallSettings)

public override Engine UpdateEngine(UpdateEngineRequest request, CallSettings callSettings = null)

Updates an [Engine][google.cloud.discoveryengine.v1.Engine]

Parameters
Name Description
request UpdateEngineRequest

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
Engine

The RPC response.

Overrides

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 UpdateEngineRequest

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
TaskEngine

A Task containing the RPC response.

Overrides