Discovery Engine v1beta API - Class EngineServiceClientImpl (1.0.0-beta10)

public sealed class EngineServiceClientImpl : EngineServiceClient

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

EngineService client wrapper implementation, for convenient use.

Inheritance

object > EngineServiceClient > EngineServiceClientImpl

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Remarks

Service for managing [Engine][google.cloud.discoveryengine.v1beta.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
NameDescription
grpcClientEngineServiceEngineServiceClient

The underlying gRPC client.

settingsEngineServiceSettings

The base EngineServiceSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

CreateEngineOperationsClient

public override OperationsClient CreateEngineOperationsClient { get; }

The long-running operations client for CreateEngine.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteEngineOperationsClient

public override OperationsClient DeleteEngineOperationsClient { get; }

The long-running operations client for DeleteEngine.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override EngineService.EngineServiceClient GrpcClient { get; }

The underlying gRPC EngineService client

Property Value
TypeDescription
EngineServiceEngineServiceClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
TypeDescription
LocationsClient
Overrides

Methods

CreateEngine(CreateEngineRequest, CallSettings)

public override Operation<Engine, CreateEngineMetadata> CreateEngine(CreateEngineRequest request, CallSettings callSettings = null)

Creates a [Engine][google.cloud.discoveryengine.v1beta.Engine].

Parameters
NameDescription
requestCreateEngineRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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.v1beta.Engine].

Parameters
NameDescription
requestCreateEngineRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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.v1beta.Engine].

Parameters
NameDescription
requestDeleteEngineRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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.v1beta.Engine].

Parameters
NameDescription
requestDeleteEngineRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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.v1beta.Engine].

Parameters
NameDescription
requestGetEngineRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Engine

The RPC response.

Overrides

GetEngineAsync(GetEngineRequest, CallSettings)

public override Task<Engine> GetEngineAsync(GetEngineRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestGetEngineRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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.v1beta.Engine]s associated with the project.

Parameters
NameDescription
requestListEnginesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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.v1beta.Engine]s associated with the project.

Parameters
NameDescription
requestListEnginesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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.v1beta.Engine]

Parameters
NameDescription
requestUpdateEngineRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Engine

The RPC response.

Overrides

UpdateEngineAsync(UpdateEngineRequest, CallSettings)

public override Task<Engine> UpdateEngineAsync(UpdateEngineRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestUpdateEngineRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskEngine

A Task containing the RPC response.

Overrides