3.16.0 (latest) 3.15.0 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.0.0

    public class CmekService.CmekServiceClient : ClientBase<CmekService.CmekServiceClient>

Reference documentation and code samples for the Cloud Dataplex v1 API class CmekService.CmekServiceClient.

Client for CmekService

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [ClientBase](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase.md.txt) \> [ClientBase](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase-1.md.txt)[CmekService](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.CmekService.md.txt)[CmekServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.CmekService.CmekServiceClient.md.txt) \> CmekService.CmekServiceClient

## Inherited Members

[ClientBase\<CmekService.CmekServiceClient\>.WithHost(string)](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase-1.md.txt#Grpc_Core_ClientBase_1_WithHost_System_String_) [ClientBase.CallInvoker](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase.md.txt#Grpc_Core_ClientBase_CallInvoker) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Dataplex.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataplex.V1/latest/Google.Cloud.Dataplex.V1.md.txt)

## Assembly

Google.Cloud.Dataplex.V1.dll

## Constructors

### CmekServiceClient()

    protected CmekServiceClient()

Protected parameterless constructor to allow creation of test doubles.

### CmekServiceClient(CallInvoker)

    public CmekServiceClient(CallInvoker callInvoker)

Creates a new client for CmekService that uses a custom `CallInvoker`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `callInvoker` | `CallInvoker` The callInvoker to use to make remote calls. |

### CmekServiceClient(ChannelBase)

    public CmekServiceClient(ChannelBase channel)

Creates a new client for CmekService

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `channel` | `ChannelBase` The channel to use to make remote calls. |

### CmekServiceClient(ClientBaseConfiguration)

    protected CmekServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `configuration` | `ClientBaseClientBaseConfiguration` The client configuration. |

## Methods

### CreateEncryptionConfig(CreateEncryptionConfigRequest, CallOptions)

    public virtual Operation CreateEncryptionConfig(CreateEncryptionConfigRequest request, CallOptions options)

Create an EncryptionConfig.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateEncryptionConfigRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Operation` | The response received from the server. |

### CreateEncryptionConfig(CreateEncryptionConfigRequest, Metadata, DateTime?, CancellationToken)

    public virtual Operation CreateEncryptionConfig(CreateEncryptionConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Create an EncryptionConfig.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateEncryptionConfigRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Operation` | The response received from the server. |

### CreateEncryptionConfigAsync(CreateEncryptionConfigRequest, CallOptions)

    public virtual AsyncUnaryCall<Operation> CreateEncryptionConfigAsync(CreateEncryptionConfigRequest request, CallOptions options)

Create an EncryptionConfig.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateEncryptionConfigRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallOperation` | The call object. |

### CreateEncryptionConfigAsync(CreateEncryptionConfigRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<Operation> CreateEncryptionConfigAsync(CreateEncryptionConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Create an EncryptionConfig.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `CreateEncryptionConfigRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallOperation` | The call object. |

### CreateIAMPolicyClient()

    public virtual IAMPolicy.IAMPolicyClient CreateIAMPolicyClient()

Creates a new instance of [IAMPolicy.IAMPolicyClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V1/latest/Google.Cloud.Iam.V1.IAMPolicy.IAMPolicyClient.md.txt) using the same call invoker as
this client.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `IAMPolicyIAMPolicyClient` | A new [IAMPolicy.IAMPolicyClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V1/latest/Google.Cloud.Iam.V1.IAMPolicy.IAMPolicyClient.md.txt) for the same target as this client. |

### CreateLocationsClient()

    public virtual Locations.LocationsClient CreateLocationsClient()

Creates a new instance of [Locations.LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.Locations.LocationsClient.md.txt) using the same call invoker as
this client.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `LocationsLocationsClient` | A new [Locations.LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.Locations.LocationsClient.md.txt) for the same target as this client. |

### CreateOperationsClient()

    public virtual Operations.OperationsClient CreateOperationsClient()

Creates a new instance of [Operations.OperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operations.OperationsClient.md.txt) using the same call invoker as
this client.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OperationsOperationsClient` | A new Operations client for the same target as this client. |

### DeleteEncryptionConfig(DeleteEncryptionConfigRequest, CallOptions)

    public virtual Operation DeleteEncryptionConfig(DeleteEncryptionConfigRequest request, CallOptions options)

Delete an EncryptionConfig.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteEncryptionConfigRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Operation` | The response received from the server. |

### DeleteEncryptionConfig(DeleteEncryptionConfigRequest, Metadata, DateTime?, CancellationToken)

    public virtual Operation DeleteEncryptionConfig(DeleteEncryptionConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Delete an EncryptionConfig.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteEncryptionConfigRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Operation` | The response received from the server. |

### DeleteEncryptionConfigAsync(DeleteEncryptionConfigRequest, CallOptions)

    public virtual AsyncUnaryCall<Operation> DeleteEncryptionConfigAsync(DeleteEncryptionConfigRequest request, CallOptions options)

Delete an EncryptionConfig.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteEncryptionConfigRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallOperation` | The call object. |

### DeleteEncryptionConfigAsync(DeleteEncryptionConfigRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<Operation> DeleteEncryptionConfigAsync(DeleteEncryptionConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Delete an EncryptionConfig.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `DeleteEncryptionConfigRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallOperation` | The call object. |

### GetEncryptionConfig(GetEncryptionConfigRequest, CallOptions)

    public virtual EncryptionConfig GetEncryptionConfig(GetEncryptionConfigRequest request, CallOptions options)

Get an EncryptionConfig.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetEncryptionConfigRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `EncryptionConfig` | The response received from the server. |

### GetEncryptionConfig(GetEncryptionConfigRequest, Metadata, DateTime?, CancellationToken)

    public virtual EncryptionConfig GetEncryptionConfig(GetEncryptionConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get an EncryptionConfig.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetEncryptionConfigRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `EncryptionConfig` | The response received from the server. |

### GetEncryptionConfigAsync(GetEncryptionConfigRequest, CallOptions)

    public virtual AsyncUnaryCall<EncryptionConfig> GetEncryptionConfigAsync(GetEncryptionConfigRequest request, CallOptions options)

Get an EncryptionConfig.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetEncryptionConfigRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallEncryptionConfig` | The call object. |

### GetEncryptionConfigAsync(GetEncryptionConfigRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<EncryptionConfig> GetEncryptionConfigAsync(GetEncryptionConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Get an EncryptionConfig.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `GetEncryptionConfigRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallEncryptionConfig` | The call object. |

### ListEncryptionConfigs(ListEncryptionConfigsRequest, CallOptions)

    public virtual ListEncryptionConfigsResponse ListEncryptionConfigs(ListEncryptionConfigsRequest request, CallOptions options)

List EncryptionConfigs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListEncryptionConfigsRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ListEncryptionConfigsResponse` | The response received from the server. |

### ListEncryptionConfigs(ListEncryptionConfigsRequest, Metadata, DateTime?, CancellationToken)

    public virtual ListEncryptionConfigsResponse ListEncryptionConfigs(ListEncryptionConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List EncryptionConfigs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListEncryptionConfigsRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ListEncryptionConfigsResponse` | The response received from the server. |

### ListEncryptionConfigsAsync(ListEncryptionConfigsRequest, CallOptions)

    public virtual AsyncUnaryCall<ListEncryptionConfigsResponse> ListEncryptionConfigsAsync(ListEncryptionConfigsRequest request, CallOptions options)

List EncryptionConfigs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListEncryptionConfigsRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallListEncryptionConfigsResponse` | The call object. |

### ListEncryptionConfigsAsync(ListEncryptionConfigsRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<ListEncryptionConfigsResponse> ListEncryptionConfigsAsync(ListEncryptionConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List EncryptionConfigs.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListEncryptionConfigsRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallListEncryptionConfigsResponse` | The call object. |

### NewInstance(ClientBaseConfiguration)

    protected override CmekService.CmekServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given `ClientBaseConfiguration`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `configuration` | `ClientBaseClientBaseConfiguration` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `CmekServiceCmekServiceClient` |   |

**Overrides** Grpc.Core.ClientBase\<Google.Cloud.Dataplex.V1.CmekService.CmekServiceClient\>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

### UpdateEncryptionConfig(UpdateEncryptionConfigRequest, CallOptions)

    public virtual Operation UpdateEncryptionConfig(UpdateEncryptionConfigRequest request, CallOptions options)

Update an EncryptionConfig.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateEncryptionConfigRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Operation` | The response received from the server. |

### UpdateEncryptionConfig(UpdateEncryptionConfigRequest, Metadata, DateTime?, CancellationToken)

    public virtual Operation UpdateEncryptionConfig(UpdateEncryptionConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Update an EncryptionConfig.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateEncryptionConfigRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Operation` | The response received from the server. |

### UpdateEncryptionConfigAsync(UpdateEncryptionConfigRequest, CallOptions)

    public virtual AsyncUnaryCall<Operation> UpdateEncryptionConfigAsync(UpdateEncryptionConfigRequest request, CallOptions options)

Update an EncryptionConfig.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateEncryptionConfigRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallOperation` | The call object. |

### UpdateEncryptionConfigAsync(UpdateEncryptionConfigRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<Operation> UpdateEncryptionConfigAsync(UpdateEncryptionConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Update an EncryptionConfig.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `UpdateEncryptionConfigRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallOperation` | The call object. |