public sealed class DataConnectorServiceClientImpl : DataConnectorServiceClientReference documentation and code samples for the Discovery Engine v1 API class DataConnectorServiceClientImpl.
DataConnectorService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.dll
Remarks
Service for data connector management.
Constructors
DataConnectorServiceClientImpl(DataConnectorServiceClient, DataConnectorServiceSettings, ILogger)
public DataConnectorServiceClientImpl(DataConnectorService.DataConnectorServiceClient grpcClient, DataConnectorServiceSettings settings, ILogger logger)Constructs a client wrapper for the DataConnectorService service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
DataConnectorServiceDataConnectorServiceClientThe underlying gRPC client. |
settings |
DataConnectorServiceSettingsThe base DataConnectorServiceSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override DataConnectorService.DataConnectorServiceClient GrpcClient { get; }The underlying gRPC DataConnectorService client
| Property Value | |
|---|---|
| Type | Description |
DataConnectorServiceDataConnectorServiceClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
SetUpDataConnectorOperationsClient
public override OperationsClient SetUpDataConnectorOperationsClient { get; }The long-running operations client for SetUpDataConnector.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
Methods
GetDataConnector(GetDataConnectorRequest, CallSettings)
public override DataConnector GetDataConnector(GetDataConnectorRequest request, CallSettings callSettings = null)Gets the [DataConnector][google.cloud.discoveryengine.v1.DataConnector]. [DataConnector][google.cloud.discoveryengine.v1.DataConnector] is a singleton resource for each [Collection][google.cloud.discoveryengine.v1.Collection].
| Parameters | |
|---|---|
| Name | Description |
request |
GetDataConnectorRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
DataConnector |
The RPC response. |
GetDataConnectorAsync(GetDataConnectorRequest, CallSettings)
public override Task<DataConnector> GetDataConnectorAsync(GetDataConnectorRequest request, CallSettings callSettings = null)Gets the [DataConnector][google.cloud.discoveryengine.v1.DataConnector]. [DataConnector][google.cloud.discoveryengine.v1.DataConnector] is a singleton resource for each [Collection][google.cloud.discoveryengine.v1.Collection].
| Parameters | |
|---|---|
| Name | Description |
request |
GetDataConnectorRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskDataConnector |
A Task containing the RPC response. |
SetUpDataConnector(SetUpDataConnectorRequest, CallSettings)
public override Operation<DataConnector, SetUpDataConnectorMetadata> SetUpDataConnector(SetUpDataConnectorRequest request, CallSettings callSettings = null)Creates a [Collection][google.cloud.discoveryengine.v1.Collection] and sets up the [DataConnector][google.cloud.discoveryengine.v1.DataConnector] for it. To stop a [DataConnector][google.cloud.discoveryengine.v1.DataConnector] after setup, use the [CollectionService.DeleteCollection][google.cloud.discoveryengine.v1.CollectionService.DeleteCollection] method.
| Parameters | |
|---|---|
| Name | Description |
request |
SetUpDataConnectorRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationDataConnectorSetUpDataConnectorMetadata |
The RPC response. |
SetUpDataConnectorAsync(SetUpDataConnectorRequest, CallSettings)
public override Task<Operation<DataConnector, SetUpDataConnectorMetadata>> SetUpDataConnectorAsync(SetUpDataConnectorRequest request, CallSettings callSettings = null)Creates a [Collection][google.cloud.discoveryengine.v1.Collection] and sets up the [DataConnector][google.cloud.discoveryengine.v1.DataConnector] for it. To stop a [DataConnector][google.cloud.discoveryengine.v1.DataConnector] after setup, use the [CollectionService.DeleteCollection][google.cloud.discoveryengine.v1.CollectionService.DeleteCollection] method.
| Parameters | |
|---|---|
| Name | Description |
request |
SetUpDataConnectorRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationDataConnectorSetUpDataConnectorMetadata |
A Task containing the RPC response. |
UpdateDataConnector(UpdateDataConnectorRequest, CallSettings)
public override DataConnector UpdateDataConnector(UpdateDataConnectorRequest request, CallSettings callSettings = null)Updates a [DataConnector][google.cloud.discoveryengine.v1.DataConnector].
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateDataConnectorRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
DataConnector |
The RPC response. |
UpdateDataConnectorAsync(UpdateDataConnectorRequest, CallSettings)
public override Task<DataConnector> UpdateDataConnectorAsync(UpdateDataConnectorRequest request, CallSettings callSettings = null)Updates a [DataConnector][google.cloud.discoveryengine.v1.DataConnector].
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateDataConnectorRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskDataConnector |
A Task containing the RPC response. |