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 > ClientBase > ClientBaseCmekServiceCmekServiceClient > CmekService.CmekServiceClientNamespace
Google.Cloud.Dataplex.V1Assembly
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 |
CallInvokerThe callInvoker to use to make remote calls. |
CmekServiceClient(ChannelBase)
public CmekServiceClient(ChannelBase channel)Creates a new client for CmekService
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe 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 |
ClientBaseClientBaseConfigurationThe client configuration. |
Methods
CreateEncryptionConfig(CreateEncryptionConfigRequest, CallOptions)
public virtual Operation CreateEncryptionConfig(CreateEncryptionConfigRequest request, CallOptions options)Create an EncryptionConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateEncryptionConfigRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
CreateEncryptionConfigRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
CreateEncryptionConfigRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
CreateEncryptionConfigRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 using the same call invoker as this client.
| Returns | |
|---|---|
| Type | Description |
IAMPolicyIAMPolicyClient |
A new IAMPolicy.IAMPolicyClient for the same target as this client. |
CreateLocationsClient()
public virtual Locations.LocationsClient CreateLocationsClient()Creates a new instance of Locations.LocationsClient using the same call invoker as this client.
| Returns | |
|---|---|
| Type | Description |
LocationsLocationsClient |
A new Locations.LocationsClient for the same target as this client. |
CreateOperationsClient()
public virtual Operations.OperationsClient CreateOperationsClient()Creates a new instance of Operations.OperationsClient 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 |
DeleteEncryptionConfigRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
DeleteEncryptionConfigRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
DeleteEncryptionConfigRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
DeleteEncryptionConfigRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
GetEncryptionConfigRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
GetEncryptionConfigRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
GetEncryptionConfigRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
GetEncryptionConfigRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
ListEncryptionConfigsRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
ListEncryptionConfigsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
ListEncryptionConfigsRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
ListEncryptionConfigsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
|
UpdateEncryptionConfig(UpdateEncryptionConfigRequest, CallOptions)
public virtual Operation UpdateEncryptionConfig(UpdateEncryptionConfigRequest request, CallOptions options)Update an EncryptionConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateEncryptionConfigRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
UpdateEncryptionConfigRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
UpdateEncryptionConfigRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
UpdateEncryptionConfigRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |