1.0.0-beta25 (latest) 1.0.0-beta24

    public sealed class ControlServiceClientImpl : ControlServiceClient

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

ControlService client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [ControlServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient) \> ControlServiceClientImpl

## Inherited Members

[ControlServiceClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_DefaultEndpoint) [ControlServiceClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_DefaultScopes) [ControlServiceClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_ServiceMetadata) [ControlServiceClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_CreateAsync_System_Threading_CancellationToken_) [ControlServiceClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_Create) [ControlServiceClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_ShutdownDefaultChannelsAsync) [ControlServiceClient.CreateControlAsync(CreateControlRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_CreateControlAsync_Google_Cloud_DiscoveryEngine_V1Beta_CreateControlRequest_System_Threading_CancellationToken_) [ControlServiceClient.CreateControl(string, Control, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_CreateControl_System_String_Google_Cloud_DiscoveryEngine_V1Beta_Control_System_String_Google_Api_Gax_Grpc_CallSettings_) [ControlServiceClient.CreateControlAsync(string, Control, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_CreateControlAsync_System_String_Google_Cloud_DiscoveryEngine_V1Beta_Control_System_String_Google_Api_Gax_Grpc_CallSettings_) [ControlServiceClient.CreateControlAsync(string, Control, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_CreateControlAsync_System_String_Google_Cloud_DiscoveryEngine_V1Beta_Control_System_String_System_Threading_CancellationToken_) [ControlServiceClient.CreateControl(EngineName, Control, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_CreateControl_Google_Cloud_DiscoveryEngine_V1Beta_EngineName_Google_Cloud_DiscoveryEngine_V1Beta_Control_System_String_Google_Api_Gax_Grpc_CallSettings_) [ControlServiceClient.CreateControlAsync(EngineName, Control, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_CreateControlAsync_Google_Cloud_DiscoveryEngine_V1Beta_EngineName_Google_Cloud_DiscoveryEngine_V1Beta_Control_System_String_Google_Api_Gax_Grpc_CallSettings_) [ControlServiceClient.CreateControlAsync(EngineName, Control, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_CreateControlAsync_Google_Cloud_DiscoveryEngine_V1Beta_EngineName_Google_Cloud_DiscoveryEngine_V1Beta_Control_System_String_System_Threading_CancellationToken_) [ControlServiceClient.CreateControl(DataStoreName, Control, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_CreateControl_Google_Cloud_DiscoveryEngine_V1Beta_DataStoreName_Google_Cloud_DiscoveryEngine_V1Beta_Control_System_String_Google_Api_Gax_Grpc_CallSettings_) [ControlServiceClient.CreateControlAsync(DataStoreName, Control, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_CreateControlAsync_Google_Cloud_DiscoveryEngine_V1Beta_DataStoreName_Google_Cloud_DiscoveryEngine_V1Beta_Control_System_String_Google_Api_Gax_Grpc_CallSettings_) [ControlServiceClient.CreateControlAsync(DataStoreName, Control, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_CreateControlAsync_Google_Cloud_DiscoveryEngine_V1Beta_DataStoreName_Google_Cloud_DiscoveryEngine_V1Beta_Control_System_String_System_Threading_CancellationToken_) [ControlServiceClient.DeleteControlAsync(DeleteControlRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_DeleteControlAsync_Google_Cloud_DiscoveryEngine_V1Beta_DeleteControlRequest_System_Threading_CancellationToken_) [ControlServiceClient.DeleteControl(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_DeleteControl_System_String_Google_Api_Gax_Grpc_CallSettings_) [ControlServiceClient.DeleteControlAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_DeleteControlAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [ControlServiceClient.DeleteControlAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_DeleteControlAsync_System_String_System_Threading_CancellationToken_) [ControlServiceClient.DeleteControl(ControlName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_DeleteControl_Google_Cloud_DiscoveryEngine_V1Beta_ControlName_Google_Api_Gax_Grpc_CallSettings_) [ControlServiceClient.DeleteControlAsync(ControlName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_DeleteControlAsync_Google_Cloud_DiscoveryEngine_V1Beta_ControlName_Google_Api_Gax_Grpc_CallSettings_) [ControlServiceClient.DeleteControlAsync(ControlName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_DeleteControlAsync_Google_Cloud_DiscoveryEngine_V1Beta_ControlName_System_Threading_CancellationToken_) [ControlServiceClient.UpdateControlAsync(UpdateControlRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_UpdateControlAsync_Google_Cloud_DiscoveryEngine_V1Beta_UpdateControlRequest_System_Threading_CancellationToken_) [ControlServiceClient.UpdateControl(Control, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_UpdateControl_Google_Cloud_DiscoveryEngine_V1Beta_Control_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [ControlServiceClient.UpdateControlAsync(Control, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_UpdateControlAsync_Google_Cloud_DiscoveryEngine_V1Beta_Control_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [ControlServiceClient.UpdateControlAsync(Control, FieldMask, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_UpdateControlAsync_Google_Cloud_DiscoveryEngine_V1Beta_Control_Google_Protobuf_WellKnownTypes_FieldMask_System_Threading_CancellationToken_) [ControlServiceClient.GetControlAsync(GetControlRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_GetControlAsync_Google_Cloud_DiscoveryEngine_V1Beta_GetControlRequest_System_Threading_CancellationToken_) [ControlServiceClient.GetControl(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_GetControl_System_String_Google_Api_Gax_Grpc_CallSettings_) [ControlServiceClient.GetControlAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_GetControlAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [ControlServiceClient.GetControlAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_GetControlAsync_System_String_System_Threading_CancellationToken_) [ControlServiceClient.GetControl(ControlName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_GetControl_Google_Cloud_DiscoveryEngine_V1Beta_ControlName_Google_Api_Gax_Grpc_CallSettings_) [ControlServiceClient.GetControlAsync(ControlName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_GetControlAsync_Google_Cloud_DiscoveryEngine_V1Beta_ControlName_Google_Api_Gax_Grpc_CallSettings_) [ControlServiceClient.GetControlAsync(ControlName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_GetControlAsync_Google_Cloud_DiscoveryEngine_V1Beta_ControlName_System_Threading_CancellationToken_) [ControlServiceClient.ListControls(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_ListControls_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [ControlServiceClient.ListControlsAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_ListControlsAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [ControlServiceClient.ListControls(EngineName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_ListControls_Google_Cloud_DiscoveryEngine_V1Beta_EngineName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [ControlServiceClient.ListControlsAsync(EngineName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_ListControlsAsync_Google_Cloud_DiscoveryEngine_V1Beta_EngineName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [ControlServiceClient.ListControls(DataStoreName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_ListControls_Google_Cloud_DiscoveryEngine_V1Beta_DataStoreName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [ControlServiceClient.ListControlsAsync(DataStoreName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_ListControlsAsync_Google_Cloud_DiscoveryEngine_V1Beta_DataStoreName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.DiscoveryEngine.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)

## Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

## Remarks

Service for performing CRUD operations on Controls.
Controls allow for custom logic to be implemented in the serving path.
Controls need to be attached to a Serving Config to be considered during a
request.

## Constructors

### ControlServiceClientImpl(ControlServiceClient, ControlServiceSettings, ILogger)

    public ControlServiceClientImpl(ControlService.ControlServiceClient grpcClient, ControlServiceSettings settings, ILogger logger)

Constructs a client wrapper for the ControlService service, with the specified gRPC client and settings.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `grpcClient` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlService.ControlServiceClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceSettings` The base [ControlServiceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceSettings) used within this client. |
| `logger` | `https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger` Optional [ILogger](https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger) to use within this client. |

## Properties

### GrpcClient

    public override ControlService.ControlServiceClient GrpcClient { get; }

The underlying gRPC ControlService client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlService.ControlServiceClient` |   |

**Overrides** [ControlServiceClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_GrpcClient)

### LocationsClient

    public override LocationsClient LocationsClient { get; }

The [LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html) associated with this client.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html` |   |

**Overrides** [ControlServiceClient.LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_LocationsClient)

## Methods

### CreateControl(CreateControlRequest, CallSettings)

    public override Control CreateControl(CreateControlRequest request, CallSettings callSettings = null)

Creates a Control.

By default 1000 controls are allowed for a data store.
A request can be submitted to adjust this limit.
If the \[Control\]\[google.cloud.discoveryengine.v1beta.Control\] to create
already exists, an ALREADY_EXISTS error is returned.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CreateControlRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Control` | The RPC response. |

**Overrides** [ControlServiceClient.CreateControl(CreateControlRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_CreateControl_Google_Cloud_DiscoveryEngine_V1Beta_CreateControlRequest_Google_Api_Gax_Grpc_CallSettings_)

### CreateControlAsync(CreateControlRequest, CallSettings)

    public override Task<Control> CreateControlAsync(CreateControlRequest request, CallSettings callSettings = null)

Creates a Control.

By default 1000 controls are allowed for a data store.
A request can be submitted to adjust this limit.
If the \[Control\]\[google.cloud.discoveryengine.v1beta.Control\] to create
already exists, an ALREADY_EXISTS error is returned.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CreateControlRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Control` | A Task containing the RPC response. |

**Overrides** [ControlServiceClient.CreateControlAsync(CreateControlRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_CreateControlAsync_Google_Cloud_DiscoveryEngine_V1Beta_CreateControlRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteControl(DeleteControlRequest, CallSettings)

    public override void DeleteControl(DeleteControlRequest request, CallSettings callSettings = null)

Deletes a Control.

If the \[Control\]\[google.cloud.discoveryengine.v1beta.Control\] to delete
does not exist, a NOT_FOUND error is returned.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DeleteControlRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

**Overrides** [ControlServiceClient.DeleteControl(DeleteControlRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_DeleteControl_Google_Cloud_DiscoveryEngine_V1Beta_DeleteControlRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteControlAsync(DeleteControlRequest, CallSettings)

    public override Task DeleteControlAsync(DeleteControlRequest request, CallSettings callSettings = null)

Deletes a Control.

If the \[Control\]\[google.cloud.discoveryengine.v1beta.Control\] to delete
does not exist, a NOT_FOUND error is returned.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DeleteControlRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A Task containing the RPC response. |

**Overrides** [ControlServiceClient.DeleteControlAsync(DeleteControlRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_DeleteControlAsync_Google_Cloud_DiscoveryEngine_V1Beta_DeleteControlRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetControl(GetControlRequest, CallSettings)

    public override Control GetControl(GetControlRequest request, CallSettings callSettings = null)

Gets a Control.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GetControlRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Control` | The RPC response. |

**Overrides** [ControlServiceClient.GetControl(GetControlRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_GetControl_Google_Cloud_DiscoveryEngine_V1Beta_GetControlRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetControlAsync(GetControlRequest, CallSettings)

    public override Task<Control> GetControlAsync(GetControlRequest request, CallSettings callSettings = null)

Gets a Control.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GetControlRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Control` | A Task containing the RPC response. |

**Overrides** [ControlServiceClient.GetControlAsync(GetControlRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_GetControlAsync_Google_Cloud_DiscoveryEngine_V1Beta_GetControlRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListControls(ListControlsRequest, CallSettings)

    public override PagedEnumerable<ListControlsResponse, Control> ListControls(ListControlsRequest request, CallSettings callSettings = null)

Lists all Controls by their parent
\[DataStore\]\[google.cloud.discoveryengine.v1beta.DataStore\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ListControlsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ListControlsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Control` | A pageable sequence of [Control](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Control) resources. |

**Overrides** [ControlServiceClient.ListControls(ListControlsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_ListControls_Google_Cloud_DiscoveryEngine_V1Beta_ListControlsRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListControlsAsync(ListControlsRequest, CallSettings)

    public override PagedAsyncEnumerable<ListControlsResponse, Control> ListControlsAsync(ListControlsRequest request, CallSettings callSettings = null)

Lists all Controls by their parent
\[DataStore\]\[google.cloud.discoveryengine.v1beta.DataStore\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ListControlsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ListControlsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Control` | A pageable asynchronous sequence of [Control](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Control) resources. |

**Overrides** [ControlServiceClient.ListControlsAsync(ListControlsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_ListControlsAsync_Google_Cloud_DiscoveryEngine_V1Beta_ListControlsRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateControl(UpdateControlRequest, CallSettings)

    public override Control UpdateControl(UpdateControlRequest request, CallSettings callSettings = null)

Updates a Control.

\[Control\]\[google.cloud.discoveryengine.v1beta.Control\] action type cannot
be changed. If the \[Control\]\[google.cloud.discoveryengine.v1beta.Control\]
to update does not exist, a NOT_FOUND error is returned.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UpdateControlRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Control` | The RPC response. |

**Overrides** [ControlServiceClient.UpdateControl(UpdateControlRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_UpdateControl_Google_Cloud_DiscoveryEngine_V1Beta_UpdateControlRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateControlAsync(UpdateControlRequest, CallSettings)

    public override Task<Control> UpdateControlAsync(UpdateControlRequest request, CallSettings callSettings = null)

Updates a Control.

\[Control\]\[google.cloud.discoveryengine.v1beta.Control\] action type cannot
be changed. If the \[Control\]\[google.cloud.discoveryengine.v1beta.Control\]
to update does not exist, a NOT_FOUND error is returned.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UpdateControlRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Control` | A Task containing the RPC response. |

**Overrides** [ControlServiceClient.UpdateControlAsync(UpdateControlRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ControlServiceClient#Google_Cloud_DiscoveryEngine_V1Beta_ControlServiceClient_UpdateControlAsync_Google_Cloud_DiscoveryEngine_V1Beta_UpdateControlRequest_Google_Api_Gax_Grpc_CallSettings_)