3.26.0 (latest) 3.25.0 3.24.0 3.23.0 3.22.0 3.21.0 3.20.0 3.19.0 3.18.0 3.17.0 3.16.0 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.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0

    public sealed class KeyManagementServiceClientImpl : KeyManagementServiceClient

Reference documentation and code samples for the Google Cloud Key Management Service v1 API class KeyManagementServiceClientImpl.

KeyManagementService client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [KeyManagementServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient) \> KeyManagementServiceClientImpl

## Inherited Members

[KeyManagementServiceClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DefaultEndpoint) [KeyManagementServiceClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DefaultScopes) [KeyManagementServiceClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ServiceMetadata) [KeyManagementServiceClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateAsync_System_Threading_CancellationToken_) [KeyManagementServiceClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_Create) [KeyManagementServiceClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ShutdownDefaultChannelsAsync) [KeyManagementServiceClient.ListKeyRings(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ListKeyRings_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.ListKeyRingsAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ListKeyRingsAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.ListKeyRings(LocationName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ListKeyRings_Google_Api_Gax_ResourceNames_LocationName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.ListKeyRingsAsync(LocationName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ListKeyRingsAsync_Google_Api_Gax_ResourceNames_LocationName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.ListCryptoKeys(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ListCryptoKeys_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.ListCryptoKeysAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ListCryptoKeysAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.ListCryptoKeys(KeyRingName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ListCryptoKeys_Google_Cloud_Kms_V1_KeyRingName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.ListCryptoKeysAsync(KeyRingName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ListCryptoKeysAsync_Google_Cloud_Kms_V1_KeyRingName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.ListCryptoKeyVersions(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ListCryptoKeyVersions_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.ListCryptoKeyVersionsAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ListCryptoKeyVersionsAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.ListCryptoKeyVersions(CryptoKeyName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ListCryptoKeyVersions_Google_Cloud_Kms_V1_CryptoKeyName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.ListCryptoKeyVersionsAsync(CryptoKeyName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ListCryptoKeyVersionsAsync_Google_Cloud_Kms_V1_CryptoKeyName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.ListImportJobs(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ListImportJobs_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.ListImportJobsAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ListImportJobsAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.ListImportJobs(KeyRingName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ListImportJobs_Google_Cloud_Kms_V1_KeyRingName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.ListImportJobsAsync(KeyRingName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ListImportJobsAsync_Google_Cloud_Kms_V1_KeyRingName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.ListRetiredResources(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ListRetiredResources_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.ListRetiredResourcesAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ListRetiredResourcesAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.ListRetiredResources(LocationName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ListRetiredResources_Google_Api_Gax_ResourceNames_LocationName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.ListRetiredResourcesAsync(LocationName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ListRetiredResourcesAsync_Google_Api_Gax_ResourceNames_LocationName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.GetKeyRingAsync(GetKeyRingRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetKeyRingAsync_Google_Cloud_Kms_V1_GetKeyRingRequest_System_Threading_CancellationToken_) [KeyManagementServiceClient.GetKeyRing(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetKeyRing_System_String_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.GetKeyRingAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetKeyRingAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.GetKeyRingAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetKeyRingAsync_System_String_System_Threading_CancellationToken_) [KeyManagementServiceClient.GetKeyRing(KeyRingName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetKeyRing_Google_Cloud_Kms_V1_KeyRingName_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.GetKeyRingAsync(KeyRingName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetKeyRingAsync_Google_Cloud_Kms_V1_KeyRingName_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.GetKeyRingAsync(KeyRingName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetKeyRingAsync_Google_Cloud_Kms_V1_KeyRingName_System_Threading_CancellationToken_) [KeyManagementServiceClient.GetCryptoKeyAsync(GetCryptoKeyRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetCryptoKeyAsync_Google_Cloud_Kms_V1_GetCryptoKeyRequest_System_Threading_CancellationToken_) [KeyManagementServiceClient.GetCryptoKey(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetCryptoKey_System_String_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.GetCryptoKeyAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetCryptoKeyAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.GetCryptoKeyAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetCryptoKeyAsync_System_String_System_Threading_CancellationToken_) [KeyManagementServiceClient.GetCryptoKey(CryptoKeyName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetCryptoKey_Google_Cloud_Kms_V1_CryptoKeyName_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.GetCryptoKeyAsync(CryptoKeyName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetCryptoKeyAsync_Google_Cloud_Kms_V1_CryptoKeyName_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.GetCryptoKeyAsync(CryptoKeyName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetCryptoKeyAsync_Google_Cloud_Kms_V1_CryptoKeyName_System_Threading_CancellationToken_) [KeyManagementServiceClient.GetCryptoKeyVersionAsync(GetCryptoKeyVersionRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetCryptoKeyVersionAsync_Google_Cloud_Kms_V1_GetCryptoKeyVersionRequest_System_Threading_CancellationToken_) [KeyManagementServiceClient.GetCryptoKeyVersion(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetCryptoKeyVersion_System_String_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.GetCryptoKeyVersionAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetCryptoKeyVersionAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.GetCryptoKeyVersionAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetCryptoKeyVersionAsync_System_String_System_Threading_CancellationToken_) [KeyManagementServiceClient.GetCryptoKeyVersion(CryptoKeyVersionName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetCryptoKeyVersion_Google_Cloud_Kms_V1_CryptoKeyVersionName_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.GetCryptoKeyVersionAsync(CryptoKeyVersionName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetCryptoKeyVersionAsync_Google_Cloud_Kms_V1_CryptoKeyVersionName_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.GetCryptoKeyVersionAsync(CryptoKeyVersionName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetCryptoKeyVersionAsync_Google_Cloud_Kms_V1_CryptoKeyVersionName_System_Threading_CancellationToken_) [KeyManagementServiceClient.GetPublicKeyAsync(GetPublicKeyRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetPublicKeyAsync_Google_Cloud_Kms_V1_GetPublicKeyRequest_System_Threading_CancellationToken_) [KeyManagementServiceClient.GetPublicKey(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetPublicKey_System_String_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.GetPublicKeyAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetPublicKeyAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.GetPublicKeyAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetPublicKeyAsync_System_String_System_Threading_CancellationToken_) [KeyManagementServiceClient.GetPublicKey(CryptoKeyVersionName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetPublicKey_Google_Cloud_Kms_V1_CryptoKeyVersionName_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.GetPublicKeyAsync(CryptoKeyVersionName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetPublicKeyAsync_Google_Cloud_Kms_V1_CryptoKeyVersionName_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.GetPublicKeyAsync(CryptoKeyVersionName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetPublicKeyAsync_Google_Cloud_Kms_V1_CryptoKeyVersionName_System_Threading_CancellationToken_) [KeyManagementServiceClient.GetImportJobAsync(GetImportJobRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetImportJobAsync_Google_Cloud_Kms_V1_GetImportJobRequest_System_Threading_CancellationToken_) [KeyManagementServiceClient.GetImportJob(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetImportJob_System_String_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.GetImportJobAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetImportJobAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.GetImportJobAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetImportJobAsync_System_String_System_Threading_CancellationToken_) [KeyManagementServiceClient.GetImportJob(ImportJobName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetImportJob_Google_Cloud_Kms_V1_ImportJobName_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.GetImportJobAsync(ImportJobName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetImportJobAsync_Google_Cloud_Kms_V1_ImportJobName_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.GetImportJobAsync(ImportJobName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetImportJobAsync_Google_Cloud_Kms_V1_ImportJobName_System_Threading_CancellationToken_) [KeyManagementServiceClient.GetRetiredResourceAsync(GetRetiredResourceRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetRetiredResourceAsync_Google_Cloud_Kms_V1_GetRetiredResourceRequest_System_Threading_CancellationToken_) [KeyManagementServiceClient.GetRetiredResource(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetRetiredResource_System_String_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.GetRetiredResourceAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetRetiredResourceAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.GetRetiredResourceAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetRetiredResourceAsync_System_String_System_Threading_CancellationToken_) [KeyManagementServiceClient.GetRetiredResource(RetiredResourceName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetRetiredResource_Google_Cloud_Kms_V1_RetiredResourceName_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.GetRetiredResourceAsync(RetiredResourceName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetRetiredResourceAsync_Google_Cloud_Kms_V1_RetiredResourceName_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.GetRetiredResourceAsync(RetiredResourceName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetRetiredResourceAsync_Google_Cloud_Kms_V1_RetiredResourceName_System_Threading_CancellationToken_) [KeyManagementServiceClient.CreateKeyRingAsync(CreateKeyRingRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateKeyRingAsync_Google_Cloud_Kms_V1_CreateKeyRingRequest_System_Threading_CancellationToken_) [KeyManagementServiceClient.CreateKeyRing(string, string, KeyRing, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateKeyRing_System_String_System_String_Google_Cloud_Kms_V1_KeyRing_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.CreateKeyRingAsync(string, string, KeyRing, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateKeyRingAsync_System_String_System_String_Google_Cloud_Kms_V1_KeyRing_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.CreateKeyRingAsync(string, string, KeyRing, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateKeyRingAsync_System_String_System_String_Google_Cloud_Kms_V1_KeyRing_System_Threading_CancellationToken_) [KeyManagementServiceClient.CreateKeyRing(LocationName, string, KeyRing, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateKeyRing_Google_Api_Gax_ResourceNames_LocationName_System_String_Google_Cloud_Kms_V1_KeyRing_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.CreateKeyRingAsync(LocationName, string, KeyRing, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateKeyRingAsync_Google_Api_Gax_ResourceNames_LocationName_System_String_Google_Cloud_Kms_V1_KeyRing_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.CreateKeyRingAsync(LocationName, string, KeyRing, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateKeyRingAsync_Google_Api_Gax_ResourceNames_LocationName_System_String_Google_Cloud_Kms_V1_KeyRing_System_Threading_CancellationToken_) [KeyManagementServiceClient.CreateCryptoKeyAsync(CreateCryptoKeyRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateCryptoKeyAsync_Google_Cloud_Kms_V1_CreateCryptoKeyRequest_System_Threading_CancellationToken_) [KeyManagementServiceClient.CreateCryptoKey(string, string, CryptoKey, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateCryptoKey_System_String_System_String_Google_Cloud_Kms_V1_CryptoKey_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.CreateCryptoKeyAsync(string, string, CryptoKey, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateCryptoKeyAsync_System_String_System_String_Google_Cloud_Kms_V1_CryptoKey_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.CreateCryptoKeyAsync(string, string, CryptoKey, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateCryptoKeyAsync_System_String_System_String_Google_Cloud_Kms_V1_CryptoKey_System_Threading_CancellationToken_) [KeyManagementServiceClient.CreateCryptoKey(KeyRingName, string, CryptoKey, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateCryptoKey_Google_Cloud_Kms_V1_KeyRingName_System_String_Google_Cloud_Kms_V1_CryptoKey_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.CreateCryptoKeyAsync(KeyRingName, string, CryptoKey, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateCryptoKeyAsync_Google_Cloud_Kms_V1_KeyRingName_System_String_Google_Cloud_Kms_V1_CryptoKey_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.CreateCryptoKeyAsync(KeyRingName, string, CryptoKey, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateCryptoKeyAsync_Google_Cloud_Kms_V1_KeyRingName_System_String_Google_Cloud_Kms_V1_CryptoKey_System_Threading_CancellationToken_) [KeyManagementServiceClient.CreateCryptoKeyVersionAsync(CreateCryptoKeyVersionRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateCryptoKeyVersionAsync_Google_Cloud_Kms_V1_CreateCryptoKeyVersionRequest_System_Threading_CancellationToken_) [KeyManagementServiceClient.CreateCryptoKeyVersion(string, CryptoKeyVersion, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateCryptoKeyVersion_System_String_Google_Cloud_Kms_V1_CryptoKeyVersion_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.CreateCryptoKeyVersionAsync(string, CryptoKeyVersion, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateCryptoKeyVersionAsync_System_String_Google_Cloud_Kms_V1_CryptoKeyVersion_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.CreateCryptoKeyVersionAsync(string, CryptoKeyVersion, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateCryptoKeyVersionAsync_System_String_Google_Cloud_Kms_V1_CryptoKeyVersion_System_Threading_CancellationToken_) [KeyManagementServiceClient.CreateCryptoKeyVersion(CryptoKeyName, CryptoKeyVersion, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateCryptoKeyVersion_Google_Cloud_Kms_V1_CryptoKeyName_Google_Cloud_Kms_V1_CryptoKeyVersion_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.CreateCryptoKeyVersionAsync(CryptoKeyName, CryptoKeyVersion, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateCryptoKeyVersionAsync_Google_Cloud_Kms_V1_CryptoKeyName_Google_Cloud_Kms_V1_CryptoKeyVersion_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.CreateCryptoKeyVersionAsync(CryptoKeyName, CryptoKeyVersion, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateCryptoKeyVersionAsync_Google_Cloud_Kms_V1_CryptoKeyName_Google_Cloud_Kms_V1_CryptoKeyVersion_System_Threading_CancellationToken_) [KeyManagementServiceClient.DeleteCryptoKeyAsync(DeleteCryptoKeyRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DeleteCryptoKeyAsync_Google_Cloud_Kms_V1_DeleteCryptoKeyRequest_System_Threading_CancellationToken_) [KeyManagementServiceClient.PollOnceDeleteCryptoKey(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_PollOnceDeleteCryptoKey_System_String_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.PollOnceDeleteCryptoKeyAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_PollOnceDeleteCryptoKeyAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.DeleteCryptoKey(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DeleteCryptoKey_System_String_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.DeleteCryptoKeyAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DeleteCryptoKeyAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.DeleteCryptoKeyAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DeleteCryptoKeyAsync_System_String_System_Threading_CancellationToken_) [KeyManagementServiceClient.DeleteCryptoKey(CryptoKeyName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DeleteCryptoKey_Google_Cloud_Kms_V1_CryptoKeyName_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.DeleteCryptoKeyAsync(CryptoKeyName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DeleteCryptoKeyAsync_Google_Cloud_Kms_V1_CryptoKeyName_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.DeleteCryptoKeyAsync(CryptoKeyName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DeleteCryptoKeyAsync_Google_Cloud_Kms_V1_CryptoKeyName_System_Threading_CancellationToken_) [KeyManagementServiceClient.DeleteCryptoKeyVersionAsync(DeleteCryptoKeyVersionRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DeleteCryptoKeyVersionAsync_Google_Cloud_Kms_V1_DeleteCryptoKeyVersionRequest_System_Threading_CancellationToken_) [KeyManagementServiceClient.PollOnceDeleteCryptoKeyVersion(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_PollOnceDeleteCryptoKeyVersion_System_String_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.PollOnceDeleteCryptoKeyVersionAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_PollOnceDeleteCryptoKeyVersionAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.DeleteCryptoKeyVersion(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DeleteCryptoKeyVersion_System_String_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.DeleteCryptoKeyVersionAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DeleteCryptoKeyVersionAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.DeleteCryptoKeyVersionAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DeleteCryptoKeyVersionAsync_System_String_System_Threading_CancellationToken_) [KeyManagementServiceClient.DeleteCryptoKeyVersion(CryptoKeyVersionName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DeleteCryptoKeyVersion_Google_Cloud_Kms_V1_CryptoKeyVersionName_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.DeleteCryptoKeyVersionAsync(CryptoKeyVersionName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DeleteCryptoKeyVersionAsync_Google_Cloud_Kms_V1_CryptoKeyVersionName_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.DeleteCryptoKeyVersionAsync(CryptoKeyVersionName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DeleteCryptoKeyVersionAsync_Google_Cloud_Kms_V1_CryptoKeyVersionName_System_Threading_CancellationToken_) [KeyManagementServiceClient.ImportCryptoKeyVersionAsync(ImportCryptoKeyVersionRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ImportCryptoKeyVersionAsync_Google_Cloud_Kms_V1_ImportCryptoKeyVersionRequest_System_Threading_CancellationToken_) [KeyManagementServiceClient.ImportTrustedKeyWrappedCryptoKeyVersionAsync(ImportTrustedKeyWrappedCryptoKeyVersionRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ImportTrustedKeyWrappedCryptoKeyVersionAsync_Google_Cloud_Kms_V1_ImportTrustedKeyWrappedCryptoKeyVersionRequest_System_Threading_CancellationToken_) [KeyManagementServiceClient.ExportTrustedKeyWrappedCryptoKeyVersionAsync(ExportTrustedKeyWrappedCryptoKeyVersionRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ExportTrustedKeyWrappedCryptoKeyVersionAsync_Google_Cloud_Kms_V1_ExportTrustedKeyWrappedCryptoKeyVersionRequest_System_Threading_CancellationToken_) [KeyManagementServiceClient.CreateImportJobAsync(CreateImportJobRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateImportJobAsync_Google_Cloud_Kms_V1_CreateImportJobRequest_System_Threading_CancellationToken_) [KeyManagementServiceClient.CreateImportJob(string, string, ImportJob, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateImportJob_System_String_System_String_Google_Cloud_Kms_V1_ImportJob_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.CreateImportJobAsync(string, string, ImportJob, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateImportJobAsync_System_String_System_String_Google_Cloud_Kms_V1_ImportJob_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.CreateImportJobAsync(string, string, ImportJob, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateImportJobAsync_System_String_System_String_Google_Cloud_Kms_V1_ImportJob_System_Threading_CancellationToken_) [KeyManagementServiceClient.CreateImportJob(KeyRingName, string, ImportJob, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateImportJob_Google_Cloud_Kms_V1_KeyRingName_System_String_Google_Cloud_Kms_V1_ImportJob_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.CreateImportJobAsync(KeyRingName, string, ImportJob, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateImportJobAsync_Google_Cloud_Kms_V1_KeyRingName_System_String_Google_Cloud_Kms_V1_ImportJob_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.CreateImportJobAsync(KeyRingName, string, ImportJob, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateImportJobAsync_Google_Cloud_Kms_V1_KeyRingName_System_String_Google_Cloud_Kms_V1_ImportJob_System_Threading_CancellationToken_) [KeyManagementServiceClient.UpdateCryptoKeyAsync(UpdateCryptoKeyRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_UpdateCryptoKeyAsync_Google_Cloud_Kms_V1_UpdateCryptoKeyRequest_System_Threading_CancellationToken_) [KeyManagementServiceClient.UpdateCryptoKey(CryptoKey, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_UpdateCryptoKey_Google_Cloud_Kms_V1_CryptoKey_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.UpdateCryptoKeyAsync(CryptoKey, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_UpdateCryptoKeyAsync_Google_Cloud_Kms_V1_CryptoKey_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.UpdateCryptoKeyAsync(CryptoKey, FieldMask, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_UpdateCryptoKeyAsync_Google_Cloud_Kms_V1_CryptoKey_Google_Protobuf_WellKnownTypes_FieldMask_System_Threading_CancellationToken_) [KeyManagementServiceClient.UpdateCryptoKeyVersionAsync(UpdateCryptoKeyVersionRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_UpdateCryptoKeyVersionAsync_Google_Cloud_Kms_V1_UpdateCryptoKeyVersionRequest_System_Threading_CancellationToken_) [KeyManagementServiceClient.UpdateCryptoKeyVersion(CryptoKeyVersion, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_UpdateCryptoKeyVersion_Google_Cloud_Kms_V1_CryptoKeyVersion_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.UpdateCryptoKeyVersionAsync(CryptoKeyVersion, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_UpdateCryptoKeyVersionAsync_Google_Cloud_Kms_V1_CryptoKeyVersion_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.UpdateCryptoKeyVersionAsync(CryptoKeyVersion, FieldMask, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_UpdateCryptoKeyVersionAsync_Google_Cloud_Kms_V1_CryptoKeyVersion_Google_Protobuf_WellKnownTypes_FieldMask_System_Threading_CancellationToken_) [KeyManagementServiceClient.UpdateCryptoKeyPrimaryVersionAsync(UpdateCryptoKeyPrimaryVersionRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_UpdateCryptoKeyPrimaryVersionAsync_Google_Cloud_Kms_V1_UpdateCryptoKeyPrimaryVersionRequest_System_Threading_CancellationToken_) [KeyManagementServiceClient.UpdateCryptoKeyPrimaryVersion(string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_UpdateCryptoKeyPrimaryVersion_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.UpdateCryptoKeyPrimaryVersionAsync(string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_UpdateCryptoKeyPrimaryVersionAsync_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.UpdateCryptoKeyPrimaryVersionAsync(string, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_UpdateCryptoKeyPrimaryVersionAsync_System_String_System_String_System_Threading_CancellationToken_) [KeyManagementServiceClient.UpdateCryptoKeyPrimaryVersion(CryptoKeyName, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_UpdateCryptoKeyPrimaryVersion_Google_Cloud_Kms_V1_CryptoKeyName_System_String_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.UpdateCryptoKeyPrimaryVersionAsync(CryptoKeyName, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_UpdateCryptoKeyPrimaryVersionAsync_Google_Cloud_Kms_V1_CryptoKeyName_System_String_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.UpdateCryptoKeyPrimaryVersionAsync(CryptoKeyName, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_UpdateCryptoKeyPrimaryVersionAsync_Google_Cloud_Kms_V1_CryptoKeyName_System_String_System_Threading_CancellationToken_) [KeyManagementServiceClient.DestroyCryptoKeyVersionAsync(DestroyCryptoKeyVersionRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DestroyCryptoKeyVersionAsync_Google_Cloud_Kms_V1_DestroyCryptoKeyVersionRequest_System_Threading_CancellationToken_) [KeyManagementServiceClient.DestroyCryptoKeyVersion(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DestroyCryptoKeyVersion_System_String_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.DestroyCryptoKeyVersionAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DestroyCryptoKeyVersionAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.DestroyCryptoKeyVersionAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DestroyCryptoKeyVersionAsync_System_String_System_Threading_CancellationToken_) [KeyManagementServiceClient.DestroyCryptoKeyVersion(CryptoKeyVersionName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DestroyCryptoKeyVersion_Google_Cloud_Kms_V1_CryptoKeyVersionName_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.DestroyCryptoKeyVersionAsync(CryptoKeyVersionName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DestroyCryptoKeyVersionAsync_Google_Cloud_Kms_V1_CryptoKeyVersionName_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.DestroyCryptoKeyVersionAsync(CryptoKeyVersionName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DestroyCryptoKeyVersionAsync_Google_Cloud_Kms_V1_CryptoKeyVersionName_System_Threading_CancellationToken_) [KeyManagementServiceClient.RestoreCryptoKeyVersionAsync(RestoreCryptoKeyVersionRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_RestoreCryptoKeyVersionAsync_Google_Cloud_Kms_V1_RestoreCryptoKeyVersionRequest_System_Threading_CancellationToken_) [KeyManagementServiceClient.RestoreCryptoKeyVersion(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_RestoreCryptoKeyVersion_System_String_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.RestoreCryptoKeyVersionAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_RestoreCryptoKeyVersionAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.RestoreCryptoKeyVersionAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_RestoreCryptoKeyVersionAsync_System_String_System_Threading_CancellationToken_) [KeyManagementServiceClient.RestoreCryptoKeyVersion(CryptoKeyVersionName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_RestoreCryptoKeyVersion_Google_Cloud_Kms_V1_CryptoKeyVersionName_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.RestoreCryptoKeyVersionAsync(CryptoKeyVersionName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_RestoreCryptoKeyVersionAsync_Google_Cloud_Kms_V1_CryptoKeyVersionName_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.RestoreCryptoKeyVersionAsync(CryptoKeyVersionName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_RestoreCryptoKeyVersionAsync_Google_Cloud_Kms_V1_CryptoKeyVersionName_System_Threading_CancellationToken_) [KeyManagementServiceClient.EncryptAsync(EncryptRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_EncryptAsync_Google_Cloud_Kms_V1_EncryptRequest_System_Threading_CancellationToken_) [KeyManagementServiceClient.Encrypt(string, ByteString, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_Encrypt_System_String_Google_Protobuf_ByteString_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.EncryptAsync(string, ByteString, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_EncryptAsync_System_String_Google_Protobuf_ByteString_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.EncryptAsync(string, ByteString, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_EncryptAsync_System_String_Google_Protobuf_ByteString_System_Threading_CancellationToken_) [KeyManagementServiceClient.Encrypt(IResourceName, ByteString, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_Encrypt_Google_Api_Gax_IResourceName_Google_Protobuf_ByteString_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.EncryptAsync(IResourceName, ByteString, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_EncryptAsync_Google_Api_Gax_IResourceName_Google_Protobuf_ByteString_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.EncryptAsync(IResourceName, ByteString, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_EncryptAsync_Google_Api_Gax_IResourceName_Google_Protobuf_ByteString_System_Threading_CancellationToken_) [KeyManagementServiceClient.DecryptAsync(DecryptRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DecryptAsync_Google_Cloud_Kms_V1_DecryptRequest_System_Threading_CancellationToken_) [KeyManagementServiceClient.Decrypt(string, ByteString, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_Decrypt_System_String_Google_Protobuf_ByteString_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.DecryptAsync(string, ByteString, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DecryptAsync_System_String_Google_Protobuf_ByteString_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.DecryptAsync(string, ByteString, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DecryptAsync_System_String_Google_Protobuf_ByteString_System_Threading_CancellationToken_) [KeyManagementServiceClient.Decrypt(CryptoKeyName, ByteString, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_Decrypt_Google_Cloud_Kms_V1_CryptoKeyName_Google_Protobuf_ByteString_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.DecryptAsync(CryptoKeyName, ByteString, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DecryptAsync_Google_Cloud_Kms_V1_CryptoKeyName_Google_Protobuf_ByteString_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.DecryptAsync(CryptoKeyName, ByteString, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DecryptAsync_Google_Cloud_Kms_V1_CryptoKeyName_Google_Protobuf_ByteString_System_Threading_CancellationToken_) [KeyManagementServiceClient.RawEncryptAsync(RawEncryptRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_RawEncryptAsync_Google_Cloud_Kms_V1_RawEncryptRequest_System_Threading_CancellationToken_) [KeyManagementServiceClient.RawDecryptAsync(RawDecryptRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_RawDecryptAsync_Google_Cloud_Kms_V1_RawDecryptRequest_System_Threading_CancellationToken_) [KeyManagementServiceClient.AsymmetricSignAsync(AsymmetricSignRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_AsymmetricSignAsync_Google_Cloud_Kms_V1_AsymmetricSignRequest_System_Threading_CancellationToken_) [KeyManagementServiceClient.AsymmetricSign(string, Digest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_AsymmetricSign_System_String_Google_Cloud_Kms_V1_Digest_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.AsymmetricSignAsync(string, Digest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_AsymmetricSignAsync_System_String_Google_Cloud_Kms_V1_Digest_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.AsymmetricSignAsync(string, Digest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_AsymmetricSignAsync_System_String_Google_Cloud_Kms_V1_Digest_System_Threading_CancellationToken_) [KeyManagementServiceClient.AsymmetricSign(CryptoKeyVersionName, Digest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_AsymmetricSign_Google_Cloud_Kms_V1_CryptoKeyVersionName_Google_Cloud_Kms_V1_Digest_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.AsymmetricSignAsync(CryptoKeyVersionName, Digest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_AsymmetricSignAsync_Google_Cloud_Kms_V1_CryptoKeyVersionName_Google_Cloud_Kms_V1_Digest_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.AsymmetricSignAsync(CryptoKeyVersionName, Digest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_AsymmetricSignAsync_Google_Cloud_Kms_V1_CryptoKeyVersionName_Google_Cloud_Kms_V1_Digest_System_Threading_CancellationToken_) [KeyManagementServiceClient.AsymmetricDecryptAsync(AsymmetricDecryptRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_AsymmetricDecryptAsync_Google_Cloud_Kms_V1_AsymmetricDecryptRequest_System_Threading_CancellationToken_) [KeyManagementServiceClient.AsymmetricDecrypt(string, ByteString, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_AsymmetricDecrypt_System_String_Google_Protobuf_ByteString_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.AsymmetricDecryptAsync(string, ByteString, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_AsymmetricDecryptAsync_System_String_Google_Protobuf_ByteString_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.AsymmetricDecryptAsync(string, ByteString, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_AsymmetricDecryptAsync_System_String_Google_Protobuf_ByteString_System_Threading_CancellationToken_) [KeyManagementServiceClient.AsymmetricDecrypt(CryptoKeyVersionName, ByteString, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_AsymmetricDecrypt_Google_Cloud_Kms_V1_CryptoKeyVersionName_Google_Protobuf_ByteString_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.AsymmetricDecryptAsync(CryptoKeyVersionName, ByteString, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_AsymmetricDecryptAsync_Google_Cloud_Kms_V1_CryptoKeyVersionName_Google_Protobuf_ByteString_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.AsymmetricDecryptAsync(CryptoKeyVersionName, ByteString, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_AsymmetricDecryptAsync_Google_Cloud_Kms_V1_CryptoKeyVersionName_Google_Protobuf_ByteString_System_Threading_CancellationToken_) [KeyManagementServiceClient.MacSignAsync(MacSignRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_MacSignAsync_Google_Cloud_Kms_V1_MacSignRequest_System_Threading_CancellationToken_) [KeyManagementServiceClient.MacSign(string, ByteString, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_MacSign_System_String_Google_Protobuf_ByteString_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.MacSignAsync(string, ByteString, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_MacSignAsync_System_String_Google_Protobuf_ByteString_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.MacSignAsync(string, ByteString, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_MacSignAsync_System_String_Google_Protobuf_ByteString_System_Threading_CancellationToken_) [KeyManagementServiceClient.MacSign(CryptoKeyVersionName, ByteString, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_MacSign_Google_Cloud_Kms_V1_CryptoKeyVersionName_Google_Protobuf_ByteString_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.MacSignAsync(CryptoKeyVersionName, ByteString, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_MacSignAsync_Google_Cloud_Kms_V1_CryptoKeyVersionName_Google_Protobuf_ByteString_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.MacSignAsync(CryptoKeyVersionName, ByteString, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_MacSignAsync_Google_Cloud_Kms_V1_CryptoKeyVersionName_Google_Protobuf_ByteString_System_Threading_CancellationToken_) [KeyManagementServiceClient.MacVerifyAsync(MacVerifyRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_MacVerifyAsync_Google_Cloud_Kms_V1_MacVerifyRequest_System_Threading_CancellationToken_) [KeyManagementServiceClient.MacVerify(string, ByteString, ByteString, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_MacVerify_System_String_Google_Protobuf_ByteString_Google_Protobuf_ByteString_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.MacVerifyAsync(string, ByteString, ByteString, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_MacVerifyAsync_System_String_Google_Protobuf_ByteString_Google_Protobuf_ByteString_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.MacVerifyAsync(string, ByteString, ByteString, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_MacVerifyAsync_System_String_Google_Protobuf_ByteString_Google_Protobuf_ByteString_System_Threading_CancellationToken_) [KeyManagementServiceClient.MacVerify(CryptoKeyVersionName, ByteString, ByteString, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_MacVerify_Google_Cloud_Kms_V1_CryptoKeyVersionName_Google_Protobuf_ByteString_Google_Protobuf_ByteString_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.MacVerifyAsync(CryptoKeyVersionName, ByteString, ByteString, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_MacVerifyAsync_Google_Cloud_Kms_V1_CryptoKeyVersionName_Google_Protobuf_ByteString_Google_Protobuf_ByteString_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.MacVerifyAsync(CryptoKeyVersionName, ByteString, ByteString, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_MacVerifyAsync_Google_Cloud_Kms_V1_CryptoKeyVersionName_Google_Protobuf_ByteString_Google_Protobuf_ByteString_System_Threading_CancellationToken_) [KeyManagementServiceClient.DecapsulateAsync(DecapsulateRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DecapsulateAsync_Google_Cloud_Kms_V1_DecapsulateRequest_System_Threading_CancellationToken_) [KeyManagementServiceClient.GenerateRandomBytesAsync(GenerateRandomBytesRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GenerateRandomBytesAsync_Google_Cloud_Kms_V1_GenerateRandomBytesRequest_System_Threading_CancellationToken_) [KeyManagementServiceClient.GenerateRandomBytes(string, int, ProtectionLevel, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GenerateRandomBytes_System_String_System_Int32_Google_Cloud_Kms_V1_ProtectionLevel_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.GenerateRandomBytesAsync(string, int, ProtectionLevel, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GenerateRandomBytesAsync_System_String_System_Int32_Google_Cloud_Kms_V1_ProtectionLevel_Google_Api_Gax_Grpc_CallSettings_) [KeyManagementServiceClient.GenerateRandomBytesAsync(string, int, ProtectionLevel, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GenerateRandomBytesAsync_System_String_System_Int32_Google_Cloud_Kms_V1_ProtectionLevel_System_Threading_CancellationToken_) [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.Kms.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1)

## Assembly

Google.Cloud.Kms.V1.dll

## Remarks

Google Cloud Key Management Service

Manages cryptographic keys and operations using those keys. Implements a REST
model with the following objects:

- \[KeyRing\]\[google.cloud.kms.v1.KeyRing\]
- \[CryptoKey\]\[google.cloud.kms.v1.CryptoKey\]
- \[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\]
- \[ImportJob\]\[google.cloud.kms.v1.ImportJob\]

If you are using manual gRPC libraries, see
[Using gRPC with Cloud KMS](https://cloud.google.com/kms/docs/grpc).

## Constructors

### KeyManagementServiceClientImpl(KeyManagementServiceClient, KeyManagementServiceSettings, ILogger)

    public KeyManagementServiceClientImpl(KeyManagementService.KeyManagementServiceClient grpcClient, KeyManagementServiceSettings settings, ILogger logger)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `grpcClient` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementService.KeyManagementServiceClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceSettings` The base [KeyManagementServiceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceSettings) 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

### DeleteCryptoKeyOperationsClient

    public override OperationsClient DeleteCryptoKeyOperationsClient { get; }

The long-running operations client for `DeleteCryptoKey`.

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

**Overrides** [KeyManagementServiceClient.DeleteCryptoKeyOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DeleteCryptoKeyOperationsClient)

### DeleteCryptoKeyVersionOperationsClient

    public override OperationsClient DeleteCryptoKeyVersionOperationsClient { get; }

The long-running operations client for `DeleteCryptoKeyVersion`.

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

**Overrides** [KeyManagementServiceClient.DeleteCryptoKeyVersionOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DeleteCryptoKeyVersionOperationsClient)

### GrpcClient

    public override KeyManagementService.KeyManagementServiceClient GrpcClient { get; }

The underlying gRPC KeyManagementService client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementService.KeyManagementServiceClient` |   |

**Overrides** [KeyManagementServiceClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GrpcClient)

### IAMPolicyClient

    public override IAMPolicyClient IAMPolicyClient { get; }

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

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

**Overrides** [KeyManagementServiceClient.IAMPolicyClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_IAMPolicyClient)

### 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** [KeyManagementServiceClient.LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_LocationsClient)

## Methods

### AsymmetricDecrypt(AsymmetricDecryptRequest, CallSettings)

    public override AsymmetricDecryptResponse AsymmetricDecrypt(AsymmetricDecryptRequest request, CallSettings callSettings = null)

Decrypts data that was encrypted with a public key retrieved from
\[GetPublicKey\]\[google.cloud.kms.v1.KeyManagementService.GetPublicKey\]
corresponding to a \[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\]
with \[CryptoKey.purpose\]\[google.cloud.kms.v1.CryptoKey.purpose\]
ASYMMETRIC_DECRYPT.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.AsymmetricDecryptRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.AsymmetricDecryptResponse` | The RPC response. |

**Overrides** [KeyManagementServiceClient.AsymmetricDecrypt(AsymmetricDecryptRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_AsymmetricDecrypt_Google_Cloud_Kms_V1_AsymmetricDecryptRequest_Google_Api_Gax_Grpc_CallSettings_)

### AsymmetricDecryptAsync(AsymmetricDecryptRequest, CallSettings)

    public override Task<AsymmetricDecryptResponse> AsymmetricDecryptAsync(AsymmetricDecryptRequest request, CallSettings callSettings = null)

Decrypts data that was encrypted with a public key retrieved from
\[GetPublicKey\]\[google.cloud.kms.v1.KeyManagementService.GetPublicKey\]
corresponding to a \[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\]
with \[CryptoKey.purpose\]\[google.cloud.kms.v1.CryptoKey.purpose\]
ASYMMETRIC_DECRYPT.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.AsymmetricDecryptRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.AsymmetricDecryptResponse` | A Task containing the RPC response. |

**Overrides** [KeyManagementServiceClient.AsymmetricDecryptAsync(AsymmetricDecryptRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_AsymmetricDecryptAsync_Google_Cloud_Kms_V1_AsymmetricDecryptRequest_Google_Api_Gax_Grpc_CallSettings_)

### AsymmetricSign(AsymmetricSignRequest, CallSettings)

    public override AsymmetricSignResponse AsymmetricSign(AsymmetricSignRequest request, CallSettings callSettings = null)

Signs data using a \[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\]
with \[CryptoKey.purpose\]\[google.cloud.kms.v1.CryptoKey.purpose\]
ASYMMETRIC_SIGN, producing a signature that can be verified with the public
key retrieved from
\[GetPublicKey\]\[google.cloud.kms.v1.KeyManagementService.GetPublicKey\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.AsymmetricSignRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.AsymmetricSignResponse` | The RPC response. |

**Overrides** [KeyManagementServiceClient.AsymmetricSign(AsymmetricSignRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_AsymmetricSign_Google_Cloud_Kms_V1_AsymmetricSignRequest_Google_Api_Gax_Grpc_CallSettings_)

### AsymmetricSignAsync(AsymmetricSignRequest, CallSettings)

    public override Task<AsymmetricSignResponse> AsymmetricSignAsync(AsymmetricSignRequest request, CallSettings callSettings = null)

Signs data using a \[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\]
with \[CryptoKey.purpose\]\[google.cloud.kms.v1.CryptoKey.purpose\]
ASYMMETRIC_SIGN, producing a signature that can be verified with the public
key retrieved from
\[GetPublicKey\]\[google.cloud.kms.v1.KeyManagementService.GetPublicKey\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.AsymmetricSignRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.AsymmetricSignResponse` | A Task containing the RPC response. |

**Overrides** [KeyManagementServiceClient.AsymmetricSignAsync(AsymmetricSignRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_AsymmetricSignAsync_Google_Cloud_Kms_V1_AsymmetricSignRequest_Google_Api_Gax_Grpc_CallSettings_)

### CreateCryptoKey(CreateCryptoKeyRequest, CallSettings)

    public override CryptoKey CreateCryptoKey(CreateCryptoKeyRequest request, CallSettings callSettings = null)

Create a new \[CryptoKey\]\[google.cloud.kms.v1.CryptoKey\] within a
\[KeyRing\]\[google.cloud.kms.v1.KeyRing\].

\[CryptoKey.purpose\]\[google.cloud.kms.v1.CryptoKey.purpose\] and
\[CryptoKey.version_template.algorithm\]\[google.cloud.kms.v1.CryptoKeyVersionTemplate.algorithm\]
are required.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.CreateCryptoKeyRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.CryptoKey` | The RPC response. |

**Overrides** [KeyManagementServiceClient.CreateCryptoKey(CreateCryptoKeyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateCryptoKey_Google_Cloud_Kms_V1_CreateCryptoKeyRequest_Google_Api_Gax_Grpc_CallSettings_)

### CreateCryptoKeyAsync(CreateCryptoKeyRequest, CallSettings)

    public override Task<CryptoKey> CreateCryptoKeyAsync(CreateCryptoKeyRequest request, CallSettings callSettings = null)

Create a new \[CryptoKey\]\[google.cloud.kms.v1.CryptoKey\] within a
\[KeyRing\]\[google.cloud.kms.v1.KeyRing\].

\[CryptoKey.purpose\]\[google.cloud.kms.v1.CryptoKey.purpose\] and
\[CryptoKey.version_template.algorithm\]\[google.cloud.kms.v1.CryptoKeyVersionTemplate.algorithm\]
are required.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.CreateCryptoKeyRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.CryptoKey` | A Task containing the RPC response. |

**Overrides** [KeyManagementServiceClient.CreateCryptoKeyAsync(CreateCryptoKeyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateCryptoKeyAsync_Google_Cloud_Kms_V1_CreateCryptoKeyRequest_Google_Api_Gax_Grpc_CallSettings_)

### CreateCryptoKeyVersion(CreateCryptoKeyVersionRequest, CallSettings)

    public override CryptoKeyVersion CreateCryptoKeyVersion(CreateCryptoKeyVersionRequest request, CallSettings callSettings = null)

Create a new \[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\] in a
\[CryptoKey\]\[google.cloud.kms.v1.CryptoKey\].

The server will assign the next sequential id. If unset,
\[state\]\[google.cloud.kms.v1.CryptoKeyVersion.state\] will be set to
\[ENABLED\]\[google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.CreateCryptoKeyVersionRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.CryptoKeyVersion` | The RPC response. |

**Overrides** [KeyManagementServiceClient.CreateCryptoKeyVersion(CreateCryptoKeyVersionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateCryptoKeyVersion_Google_Cloud_Kms_V1_CreateCryptoKeyVersionRequest_Google_Api_Gax_Grpc_CallSettings_)

### CreateCryptoKeyVersionAsync(CreateCryptoKeyVersionRequest, CallSettings)

    public override Task<CryptoKeyVersion> CreateCryptoKeyVersionAsync(CreateCryptoKeyVersionRequest request, CallSettings callSettings = null)

Create a new \[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\] in a
\[CryptoKey\]\[google.cloud.kms.v1.CryptoKey\].

The server will assign the next sequential id. If unset,
\[state\]\[google.cloud.kms.v1.CryptoKeyVersion.state\] will be set to
\[ENABLED\]\[google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.CreateCryptoKeyVersionRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.CryptoKeyVersion` | A Task containing the RPC response. |

**Overrides** [KeyManagementServiceClient.CreateCryptoKeyVersionAsync(CreateCryptoKeyVersionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateCryptoKeyVersionAsync_Google_Cloud_Kms_V1_CreateCryptoKeyVersionRequest_Google_Api_Gax_Grpc_CallSettings_)

### CreateImportJob(CreateImportJobRequest, CallSettings)

    public override ImportJob CreateImportJob(CreateImportJobRequest request, CallSettings callSettings = null)

Create a new \[ImportJob\]\[google.cloud.kms.v1.ImportJob\] within a
\[KeyRing\]\[google.cloud.kms.v1.KeyRing\].

\[ImportJob.import_method\]\[google.cloud.kms.v1.ImportJob.import_method\] is
required.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.CreateImportJobRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.ImportJob` | The RPC response. |

**Overrides** [KeyManagementServiceClient.CreateImportJob(CreateImportJobRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateImportJob_Google_Cloud_Kms_V1_CreateImportJobRequest_Google_Api_Gax_Grpc_CallSettings_)

### CreateImportJobAsync(CreateImportJobRequest, CallSettings)

    public override Task<ImportJob> CreateImportJobAsync(CreateImportJobRequest request, CallSettings callSettings = null)

Create a new \[ImportJob\]\[google.cloud.kms.v1.ImportJob\] within a
\[KeyRing\]\[google.cloud.kms.v1.KeyRing\].

\[ImportJob.import_method\]\[google.cloud.kms.v1.ImportJob.import_method\] is
required.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.CreateImportJobRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.ImportJob` | A Task containing the RPC response. |

**Overrides** [KeyManagementServiceClient.CreateImportJobAsync(CreateImportJobRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateImportJobAsync_Google_Cloud_Kms_V1_CreateImportJobRequest_Google_Api_Gax_Grpc_CallSettings_)

### CreateKeyRing(CreateKeyRingRequest, CallSettings)

    public override KeyRing CreateKeyRing(CreateKeyRingRequest request, CallSettings callSettings = null)

Create a new \[KeyRing\]\[google.cloud.kms.v1.KeyRing\] in a given Project and
Location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.CreateKeyRingRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.KeyRing` | The RPC response. |

**Overrides** [KeyManagementServiceClient.CreateKeyRing(CreateKeyRingRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateKeyRing_Google_Cloud_Kms_V1_CreateKeyRingRequest_Google_Api_Gax_Grpc_CallSettings_)

### CreateKeyRingAsync(CreateKeyRingRequest, CallSettings)

    public override Task<KeyRing> CreateKeyRingAsync(CreateKeyRingRequest request, CallSettings callSettings = null)

Create a new \[KeyRing\]\[google.cloud.kms.v1.KeyRing\] in a given Project and
Location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.CreateKeyRingRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.KeyRing` | A Task containing the RPC response. |

**Overrides** [KeyManagementServiceClient.CreateKeyRingAsync(CreateKeyRingRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_CreateKeyRingAsync_Google_Cloud_Kms_V1_CreateKeyRingRequest_Google_Api_Gax_Grpc_CallSettings_)

### Decapsulate(DecapsulateRequest, CallSettings)

    public override DecapsulateResponse Decapsulate(DecapsulateRequest request, CallSettings callSettings = null)

Decapsulates data that was encapsulated with a public key retrieved from
\[GetPublicKey\]\[google.cloud.kms.v1.KeyManagementService.GetPublicKey\]
corresponding to a \[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\]
with \[CryptoKey.purpose\]\[google.cloud.kms.v1.CryptoKey.purpose\]
KEY_ENCAPSULATION.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.DecapsulateRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.DecapsulateResponse` | The RPC response. |

**Overrides** [KeyManagementServiceClient.Decapsulate(DecapsulateRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_Decapsulate_Google_Cloud_Kms_V1_DecapsulateRequest_Google_Api_Gax_Grpc_CallSettings_)

### DecapsulateAsync(DecapsulateRequest, CallSettings)

    public override Task<DecapsulateResponse> DecapsulateAsync(DecapsulateRequest request, CallSettings callSettings = null)

Decapsulates data that was encapsulated with a public key retrieved from
\[GetPublicKey\]\[google.cloud.kms.v1.KeyManagementService.GetPublicKey\]
corresponding to a \[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\]
with \[CryptoKey.purpose\]\[google.cloud.kms.v1.CryptoKey.purpose\]
KEY_ENCAPSULATION.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.DecapsulateRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.DecapsulateResponse` | A Task containing the RPC response. |

**Overrides** [KeyManagementServiceClient.DecapsulateAsync(DecapsulateRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DecapsulateAsync_Google_Cloud_Kms_V1_DecapsulateRequest_Google_Api_Gax_Grpc_CallSettings_)

### Decrypt(DecryptRequest, CallSettings)

    public override DecryptResponse Decrypt(DecryptRequest request, CallSettings callSettings = null)

Decrypts data that was protected by
\[Encrypt\]\[google.cloud.kms.v1.KeyManagementService.Encrypt\]. The
\[CryptoKey.purpose\]\[google.cloud.kms.v1.CryptoKey.purpose\] must be
\[ENCRYPT_DECRYPT\]\[google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.DecryptRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.DecryptResponse` | The RPC response. |

**Overrides** [KeyManagementServiceClient.Decrypt(DecryptRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_Decrypt_Google_Cloud_Kms_V1_DecryptRequest_Google_Api_Gax_Grpc_CallSettings_)

### DecryptAsync(DecryptRequest, CallSettings)

    public override Task<DecryptResponse> DecryptAsync(DecryptRequest request, CallSettings callSettings = null)

Decrypts data that was protected by
\[Encrypt\]\[google.cloud.kms.v1.KeyManagementService.Encrypt\]. The
\[CryptoKey.purpose\]\[google.cloud.kms.v1.CryptoKey.purpose\] must be
\[ENCRYPT_DECRYPT\]\[google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.DecryptRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.DecryptResponse` | A Task containing the RPC response. |

**Overrides** [KeyManagementServiceClient.DecryptAsync(DecryptRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DecryptAsync_Google_Cloud_Kms_V1_DecryptRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteCryptoKey(DeleteCryptoKeyRequest, CallSettings)

    public override Operation<Empty, DeleteCryptoKeyMetadata> DeleteCryptoKey(DeleteCryptoKeyRequest request, CallSettings callSettings = null)

Permanently deletes the given \[CryptoKey\]\[google.cloud.kms.v1.CryptoKey\].
All child \[CryptoKeyVersions\]\[google.cloud.kms.v1.CryptoKeyVersion\] must
have been previously deleted using
\[KeyManagementService.DeleteCryptoKeyVersion\]\[google.cloud.kms.v1.KeyManagementService.DeleteCryptoKeyVersion\].
The specified crypto key will be immediately and permanently deleted upon
calling this method. This action cannot be undone.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.DeleteCryptoKeyRequest` 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.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.DeleteCryptoKeyMetadata` | The RPC response. |

**Overrides** [KeyManagementServiceClient.DeleteCryptoKey(DeleteCryptoKeyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DeleteCryptoKey_Google_Cloud_Kms_V1_DeleteCryptoKeyRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteCryptoKeyAsync(DeleteCryptoKeyRequest, CallSettings)

    public override Task<Operation<Empty, DeleteCryptoKeyMetadata>> DeleteCryptoKeyAsync(DeleteCryptoKeyRequest request, CallSettings callSettings = null)

Permanently deletes the given \[CryptoKey\]\[google.cloud.kms.v1.CryptoKey\].
All child \[CryptoKeyVersions\]\[google.cloud.kms.v1.CryptoKeyVersion\] must
have been previously deleted using
\[KeyManagementService.DeleteCryptoKeyVersion\]\[google.cloud.kms.v1.KeyManagementService.DeleteCryptoKeyVersion\].
The specified crypto key will be immediately and permanently deleted upon
calling this method. This action cannot be undone.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.DeleteCryptoKeyRequest` 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.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.DeleteCryptoKeyMetadata` | A Task containing the RPC response. |

**Overrides** [KeyManagementServiceClient.DeleteCryptoKeyAsync(DeleteCryptoKeyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DeleteCryptoKeyAsync_Google_Cloud_Kms_V1_DeleteCryptoKeyRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteCryptoKeyVersion(DeleteCryptoKeyVersionRequest, CallSettings)

    public override Operation<Empty, DeleteCryptoKeyVersionMetadata> DeleteCryptoKeyVersion(DeleteCryptoKeyVersionRequest request, CallSettings callSettings = null)

Permanently deletes the given
\[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\]. Only possible if
the version has not been previously imported and if its
\[state\]\[google.cloud.kms.v1.CryptoKeyVersion.state\] is one of
\[DESTROYED\]\[CryptoKeyVersionState.DESTROYED\],
\[IMPORT_FAILED\]\[CryptoKeyVersionState.IMPORT_FAILED\], or
\[GENERATION_FAILED\]\[CryptoKeyVersionState.GENERATION_FAILED\].
Successfully imported
\[CryptoKeyVersions\]\[google.cloud.kms.v1.CryptoKeyVersion\] cannot be deleted
at this time. The specified version will be immediately and permanently
deleted upon calling this method. This action cannot be undone.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.DeleteCryptoKeyVersionRequest` 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.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.DeleteCryptoKeyVersionMetadata` | The RPC response. |

**Overrides** [KeyManagementServiceClient.DeleteCryptoKeyVersion(DeleteCryptoKeyVersionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DeleteCryptoKeyVersion_Google_Cloud_Kms_V1_DeleteCryptoKeyVersionRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteCryptoKeyVersionAsync(DeleteCryptoKeyVersionRequest, CallSettings)

    public override Task<Operation<Empty, DeleteCryptoKeyVersionMetadata>> DeleteCryptoKeyVersionAsync(DeleteCryptoKeyVersionRequest request, CallSettings callSettings = null)

Permanently deletes the given
\[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\]. Only possible if
the version has not been previously imported and if its
\[state\]\[google.cloud.kms.v1.CryptoKeyVersion.state\] is one of
\[DESTROYED\]\[CryptoKeyVersionState.DESTROYED\],
\[IMPORT_FAILED\]\[CryptoKeyVersionState.IMPORT_FAILED\], or
\[GENERATION_FAILED\]\[CryptoKeyVersionState.GENERATION_FAILED\].
Successfully imported
\[CryptoKeyVersions\]\[google.cloud.kms.v1.CryptoKeyVersion\] cannot be deleted
at this time. The specified version will be immediately and permanently
deleted upon calling this method. This action cannot be undone.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.DeleteCryptoKeyVersionRequest` 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.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.DeleteCryptoKeyVersionMetadata` | A Task containing the RPC response. |

**Overrides** [KeyManagementServiceClient.DeleteCryptoKeyVersionAsync(DeleteCryptoKeyVersionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DeleteCryptoKeyVersionAsync_Google_Cloud_Kms_V1_DeleteCryptoKeyVersionRequest_Google_Api_Gax_Grpc_CallSettings_)

### DestroyCryptoKeyVersion(DestroyCryptoKeyVersionRequest, CallSettings)

    public override CryptoKeyVersion DestroyCryptoKeyVersion(DestroyCryptoKeyVersionRequest request, CallSettings callSettings = null)

Schedule a \[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\] for
destruction.

Upon calling this method,
\[CryptoKeyVersion.state\]\[google.cloud.kms.v1.CryptoKeyVersion.state\] will
be set to
\[DESTROY_SCHEDULED\]\[google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED\],
and \[destroy_time\]\[google.cloud.kms.v1.CryptoKeyVersion.destroy_time\] will
be set to the time
\[destroy_scheduled_duration\]\[google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration\]
in the future. At that time, the
\[state\]\[google.cloud.kms.v1.CryptoKeyVersion.state\] will automatically
change to
\[DESTROYED\]\[google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED\],
and the key material will be irrevocably destroyed.

Before the
\[destroy_time\]\[google.cloud.kms.v1.CryptoKeyVersion.destroy_time\] is
reached,
\[RestoreCryptoKeyVersion\]\[google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion\]
may be called to reverse the process.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.DestroyCryptoKeyVersionRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.CryptoKeyVersion` | The RPC response. |

**Overrides** [KeyManagementServiceClient.DestroyCryptoKeyVersion(DestroyCryptoKeyVersionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DestroyCryptoKeyVersion_Google_Cloud_Kms_V1_DestroyCryptoKeyVersionRequest_Google_Api_Gax_Grpc_CallSettings_)

### DestroyCryptoKeyVersionAsync(DestroyCryptoKeyVersionRequest, CallSettings)

    public override Task<CryptoKeyVersion> DestroyCryptoKeyVersionAsync(DestroyCryptoKeyVersionRequest request, CallSettings callSettings = null)

Schedule a \[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\] for
destruction.

Upon calling this method,
\[CryptoKeyVersion.state\]\[google.cloud.kms.v1.CryptoKeyVersion.state\] will
be set to
\[DESTROY_SCHEDULED\]\[google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED\],
and \[destroy_time\]\[google.cloud.kms.v1.CryptoKeyVersion.destroy_time\] will
be set to the time
\[destroy_scheduled_duration\]\[google.cloud.kms.v1.CryptoKey.destroy_scheduled_duration\]
in the future. At that time, the
\[state\]\[google.cloud.kms.v1.CryptoKeyVersion.state\] will automatically
change to
\[DESTROYED\]\[google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROYED\],
and the key material will be irrevocably destroyed.

Before the
\[destroy_time\]\[google.cloud.kms.v1.CryptoKeyVersion.destroy_time\] is
reached,
\[RestoreCryptoKeyVersion\]\[google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion\]
may be called to reverse the process.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.DestroyCryptoKeyVersionRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.CryptoKeyVersion` | A Task containing the RPC response. |

**Overrides** [KeyManagementServiceClient.DestroyCryptoKeyVersionAsync(DestroyCryptoKeyVersionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_DestroyCryptoKeyVersionAsync_Google_Cloud_Kms_V1_DestroyCryptoKeyVersionRequest_Google_Api_Gax_Grpc_CallSettings_)

### Encrypt(EncryptRequest, CallSettings)

    public override EncryptResponse Encrypt(EncryptRequest request, CallSettings callSettings = null)

Encrypts data, so that it can only be recovered by a call to
\[Decrypt\]\[google.cloud.kms.v1.KeyManagementService.Decrypt\]. The
\[CryptoKey.purpose\]\[google.cloud.kms.v1.CryptoKey.purpose\] must be
\[ENCRYPT_DECRYPT\]\[google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.EncryptRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.EncryptResponse` | The RPC response. |

**Overrides** [KeyManagementServiceClient.Encrypt(EncryptRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_Encrypt_Google_Cloud_Kms_V1_EncryptRequest_Google_Api_Gax_Grpc_CallSettings_)

### EncryptAsync(EncryptRequest, CallSettings)

    public override Task<EncryptResponse> EncryptAsync(EncryptRequest request, CallSettings callSettings = null)

Encrypts data, so that it can only be recovered by a call to
\[Decrypt\]\[google.cloud.kms.v1.KeyManagementService.Decrypt\]. The
\[CryptoKey.purpose\]\[google.cloud.kms.v1.CryptoKey.purpose\] must be
\[ENCRYPT_DECRYPT\]\[google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.EncryptRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.EncryptResponse` | A Task containing the RPC response. |

**Overrides** [KeyManagementServiceClient.EncryptAsync(EncryptRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_EncryptAsync_Google_Cloud_Kms_V1_EncryptRequest_Google_Api_Gax_Grpc_CallSettings_)

### ExportTrustedKeyWrappedCryptoKeyVersion(ExportTrustedKeyWrappedCryptoKeyVersionRequest, CallSettings)

    public override ExportTrustedKeyWrappedCryptoKeyVersionResponse ExportTrustedKeyWrappedCryptoKeyVersion(ExportTrustedKeyWrappedCryptoKeyVersionRequest request, CallSettings callSettings = null)

Exports a \[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\] with a
trusted key.

The \[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\] must have
trusted_wrapping_enabled set to true. The
\[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\] of the
\[wrapping_key\] must have the
\[AES_WRAPPING\]\[google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.AES_WRAPPING\]
purpose. The \[wrapping_key\] must have the
\[AES_256_KWP\]\[google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm.AES_256_KWP\]
algorithm.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.ExportTrustedKeyWrappedCryptoKeyVersionRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.ExportTrustedKeyWrappedCryptoKeyVersionResponse` | The RPC response. |

**Overrides** [KeyManagementServiceClient.ExportTrustedKeyWrappedCryptoKeyVersion(ExportTrustedKeyWrappedCryptoKeyVersionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ExportTrustedKeyWrappedCryptoKeyVersion_Google_Cloud_Kms_V1_ExportTrustedKeyWrappedCryptoKeyVersionRequest_Google_Api_Gax_Grpc_CallSettings_)

### ExportTrustedKeyWrappedCryptoKeyVersionAsync(ExportTrustedKeyWrappedCryptoKeyVersionRequest, CallSettings)

    public override Task<ExportTrustedKeyWrappedCryptoKeyVersionResponse> ExportTrustedKeyWrappedCryptoKeyVersionAsync(ExportTrustedKeyWrappedCryptoKeyVersionRequest request, CallSettings callSettings = null)

Exports a \[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\] with a
trusted key.

The \[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\] must have
trusted_wrapping_enabled set to true. The
\[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\] of the
\[wrapping_key\] must have the
\[AES_WRAPPING\]\[google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.AES_WRAPPING\]
purpose. The \[wrapping_key\] must have the
\[AES_256_KWP\]\[google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm.AES_256_KWP\]
algorithm.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.ExportTrustedKeyWrappedCryptoKeyVersionRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.ExportTrustedKeyWrappedCryptoKeyVersionResponse` | A Task containing the RPC response. |

**Overrides** [KeyManagementServiceClient.ExportTrustedKeyWrappedCryptoKeyVersionAsync(ExportTrustedKeyWrappedCryptoKeyVersionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ExportTrustedKeyWrappedCryptoKeyVersionAsync_Google_Cloud_Kms_V1_ExportTrustedKeyWrappedCryptoKeyVersionRequest_Google_Api_Gax_Grpc_CallSettings_)

### GenerateRandomBytes(GenerateRandomBytesRequest, CallSettings)

    public override GenerateRandomBytesResponse GenerateRandomBytes(GenerateRandomBytesRequest request, CallSettings callSettings = null)

Generate random bytes using the Cloud KMS randomness source in the provided
location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.GenerateRandomBytesRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.GenerateRandomBytesResponse` | The RPC response. |

**Overrides** [KeyManagementServiceClient.GenerateRandomBytes(GenerateRandomBytesRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GenerateRandomBytes_Google_Cloud_Kms_V1_GenerateRandomBytesRequest_Google_Api_Gax_Grpc_CallSettings_)

### GenerateRandomBytesAsync(GenerateRandomBytesRequest, CallSettings)

    public override Task<GenerateRandomBytesResponse> GenerateRandomBytesAsync(GenerateRandomBytesRequest request, CallSettings callSettings = null)

Generate random bytes using the Cloud KMS randomness source in the provided
location.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.GenerateRandomBytesRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.GenerateRandomBytesResponse` | A Task containing the RPC response. |

**Overrides** [KeyManagementServiceClient.GenerateRandomBytesAsync(GenerateRandomBytesRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GenerateRandomBytesAsync_Google_Cloud_Kms_V1_GenerateRandomBytesRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetCryptoKey(GetCryptoKeyRequest, CallSettings)

    public override CryptoKey GetCryptoKey(GetCryptoKeyRequest request, CallSettings callSettings = null)

Returns metadata for a given \[CryptoKey\]\[google.cloud.kms.v1.CryptoKey\], as
well as its \[primary\]\[google.cloud.kms.v1.CryptoKey.primary\]
\[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.GetCryptoKeyRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.CryptoKey` | The RPC response. |

**Overrides** [KeyManagementServiceClient.GetCryptoKey(GetCryptoKeyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetCryptoKey_Google_Cloud_Kms_V1_GetCryptoKeyRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetCryptoKeyAsync(GetCryptoKeyRequest, CallSettings)

    public override Task<CryptoKey> GetCryptoKeyAsync(GetCryptoKeyRequest request, CallSettings callSettings = null)

Returns metadata for a given \[CryptoKey\]\[google.cloud.kms.v1.CryptoKey\], as
well as its \[primary\]\[google.cloud.kms.v1.CryptoKey.primary\]
\[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.GetCryptoKeyRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.CryptoKey` | A Task containing the RPC response. |

**Overrides** [KeyManagementServiceClient.GetCryptoKeyAsync(GetCryptoKeyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetCryptoKeyAsync_Google_Cloud_Kms_V1_GetCryptoKeyRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetCryptoKeyVersion(GetCryptoKeyVersionRequest, CallSettings)

    public override CryptoKeyVersion GetCryptoKeyVersion(GetCryptoKeyVersionRequest request, CallSettings callSettings = null)

Returns metadata for a given
\[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.GetCryptoKeyVersionRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.CryptoKeyVersion` | The RPC response. |

**Overrides** [KeyManagementServiceClient.GetCryptoKeyVersion(GetCryptoKeyVersionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetCryptoKeyVersion_Google_Cloud_Kms_V1_GetCryptoKeyVersionRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetCryptoKeyVersionAsync(GetCryptoKeyVersionRequest, CallSettings)

    public override Task<CryptoKeyVersion> GetCryptoKeyVersionAsync(GetCryptoKeyVersionRequest request, CallSettings callSettings = null)

Returns metadata for a given
\[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.GetCryptoKeyVersionRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.CryptoKeyVersion` | A Task containing the RPC response. |

**Overrides** [KeyManagementServiceClient.GetCryptoKeyVersionAsync(GetCryptoKeyVersionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetCryptoKeyVersionAsync_Google_Cloud_Kms_V1_GetCryptoKeyVersionRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetImportJob(GetImportJobRequest, CallSettings)

    public override ImportJob GetImportJob(GetImportJobRequest request, CallSettings callSettings = null)

Returns metadata for a given \[ImportJob\]\[google.cloud.kms.v1.ImportJob\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.GetImportJobRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.ImportJob` | The RPC response. |

**Overrides** [KeyManagementServiceClient.GetImportJob(GetImportJobRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetImportJob_Google_Cloud_Kms_V1_GetImportJobRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetImportJobAsync(GetImportJobRequest, CallSettings)

    public override Task<ImportJob> GetImportJobAsync(GetImportJobRequest request, CallSettings callSettings = null)

Returns metadata for a given \[ImportJob\]\[google.cloud.kms.v1.ImportJob\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.GetImportJobRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.ImportJob` | A Task containing the RPC response. |

**Overrides** [KeyManagementServiceClient.GetImportJobAsync(GetImportJobRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetImportJobAsync_Google_Cloud_Kms_V1_GetImportJobRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetKeyRing(GetKeyRingRequest, CallSettings)

    public override KeyRing GetKeyRing(GetKeyRingRequest request, CallSettings callSettings = null)

Returns metadata for a given \[KeyRing\]\[google.cloud.kms.v1.KeyRing\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.GetKeyRingRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.KeyRing` | The RPC response. |

**Overrides** [KeyManagementServiceClient.GetKeyRing(GetKeyRingRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetKeyRing_Google_Cloud_Kms_V1_GetKeyRingRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetKeyRingAsync(GetKeyRingRequest, CallSettings)

    public override Task<KeyRing> GetKeyRingAsync(GetKeyRingRequest request, CallSettings callSettings = null)

Returns metadata for a given \[KeyRing\]\[google.cloud.kms.v1.KeyRing\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.GetKeyRingRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.KeyRing` | A Task containing the RPC response. |

**Overrides** [KeyManagementServiceClient.GetKeyRingAsync(GetKeyRingRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetKeyRingAsync_Google_Cloud_Kms_V1_GetKeyRingRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetPublicKey(GetPublicKeyRequest, CallSettings)

    public override PublicKey GetPublicKey(GetPublicKeyRequest request, CallSettings callSettings = null)

Returns the public key for the given
\[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\]. The
\[CryptoKey.purpose\]\[google.cloud.kms.v1.CryptoKey.purpose\] must be
\[ASYMMETRIC_SIGN\]\[google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN\]
or
\[ASYMMETRIC_DECRYPT\]\[google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.GetPublicKeyRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.PublicKey` | The RPC response. |

**Overrides** [KeyManagementServiceClient.GetPublicKey(GetPublicKeyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetPublicKey_Google_Cloud_Kms_V1_GetPublicKeyRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetPublicKeyAsync(GetPublicKeyRequest, CallSettings)

    public override Task<PublicKey> GetPublicKeyAsync(GetPublicKeyRequest request, CallSettings callSettings = null)

Returns the public key for the given
\[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\]. The
\[CryptoKey.purpose\]\[google.cloud.kms.v1.CryptoKey.purpose\] must be
\[ASYMMETRIC_SIGN\]\[google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN\]
or
\[ASYMMETRIC_DECRYPT\]\[google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.GetPublicKeyRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.PublicKey` | A Task containing the RPC response. |

**Overrides** [KeyManagementServiceClient.GetPublicKeyAsync(GetPublicKeyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetPublicKeyAsync_Google_Cloud_Kms_V1_GetPublicKeyRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetRetiredResource(GetRetiredResourceRequest, CallSettings)

    public override RetiredResource GetRetiredResource(GetRetiredResourceRequest request, CallSettings callSettings = null)

Retrieves a specific \[RetiredResource\]\[google.cloud.kms.v1.RetiredResource\]
resource, which represents the record of a deleted
\[CryptoKey\]\[google.cloud.kms.v1.CryptoKey\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.GetRetiredResourceRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.RetiredResource` | The RPC response. |

**Overrides** [KeyManagementServiceClient.GetRetiredResource(GetRetiredResourceRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetRetiredResource_Google_Cloud_Kms_V1_GetRetiredResourceRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetRetiredResourceAsync(GetRetiredResourceRequest, CallSettings)

    public override Task<RetiredResource> GetRetiredResourceAsync(GetRetiredResourceRequest request, CallSettings callSettings = null)

Retrieves a specific \[RetiredResource\]\[google.cloud.kms.v1.RetiredResource\]
resource, which represents the record of a deleted
\[CryptoKey\]\[google.cloud.kms.v1.CryptoKey\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.GetRetiredResourceRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.RetiredResource` | A Task containing the RPC response. |

**Overrides** [KeyManagementServiceClient.GetRetiredResourceAsync(GetRetiredResourceRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_GetRetiredResourceAsync_Google_Cloud_Kms_V1_GetRetiredResourceRequest_Google_Api_Gax_Grpc_CallSettings_)

### ImportCryptoKeyVersion(ImportCryptoKeyVersionRequest, CallSettings)

    public override CryptoKeyVersion ImportCryptoKeyVersion(ImportCryptoKeyVersionRequest request, CallSettings callSettings = null)

Import wrapped key material into a
\[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\].

All requests must specify a \[CryptoKey\]\[google.cloud.kms.v1.CryptoKey\]. If
a \[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\] is additionally
specified in the request, key material will be reimported into that
version. Otherwise, a new version will be created, and will be assigned the
next sequential id within the \[CryptoKey\]\[google.cloud.kms.v1.CryptoKey\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.ImportCryptoKeyVersionRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.CryptoKeyVersion` | The RPC response. |

**Overrides** [KeyManagementServiceClient.ImportCryptoKeyVersion(ImportCryptoKeyVersionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ImportCryptoKeyVersion_Google_Cloud_Kms_V1_ImportCryptoKeyVersionRequest_Google_Api_Gax_Grpc_CallSettings_)

### ImportCryptoKeyVersionAsync(ImportCryptoKeyVersionRequest, CallSettings)

    public override Task<CryptoKeyVersion> ImportCryptoKeyVersionAsync(ImportCryptoKeyVersionRequest request, CallSettings callSettings = null)

Import wrapped key material into a
\[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\].

All requests must specify a \[CryptoKey\]\[google.cloud.kms.v1.CryptoKey\]. If
a \[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\] is additionally
specified in the request, key material will be reimported into that
version. Otherwise, a new version will be created, and will be assigned the
next sequential id within the \[CryptoKey\]\[google.cloud.kms.v1.CryptoKey\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.ImportCryptoKeyVersionRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.CryptoKeyVersion` | A Task containing the RPC response. |

**Overrides** [KeyManagementServiceClient.ImportCryptoKeyVersionAsync(ImportCryptoKeyVersionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ImportCryptoKeyVersionAsync_Google_Cloud_Kms_V1_ImportCryptoKeyVersionRequest_Google_Api_Gax_Grpc_CallSettings_)

### ImportTrustedKeyWrappedCryptoKeyVersion(ImportTrustedKeyWrappedCryptoKeyVersionRequest, CallSettings)

    public override CryptoKeyVersion ImportTrustedKeyWrappedCryptoKeyVersion(ImportTrustedKeyWrappedCryptoKeyVersionRequest request, CallSettings callSettings = null)

Import wrapped key material into a
\[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\] with a trusted
key.

All requests must specify a \[CryptoKey\]\[google.cloud.kms.v1.CryptoKey\]. If
a \[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\] is additionally
specified in the request, key material will be reimported into that
version. Otherwise, a new version will be created, and will be assigned the
next sequential id within the \[CryptoKey\]\[google.cloud.kms.v1.CryptoKey\].

The \[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\] will have
trusted_wrapping_enabled set to true.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.ImportTrustedKeyWrappedCryptoKeyVersionRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.CryptoKeyVersion` | The RPC response. |

**Overrides** [KeyManagementServiceClient.ImportTrustedKeyWrappedCryptoKeyVersion(ImportTrustedKeyWrappedCryptoKeyVersionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ImportTrustedKeyWrappedCryptoKeyVersion_Google_Cloud_Kms_V1_ImportTrustedKeyWrappedCryptoKeyVersionRequest_Google_Api_Gax_Grpc_CallSettings_)

### ImportTrustedKeyWrappedCryptoKeyVersionAsync(ImportTrustedKeyWrappedCryptoKeyVersionRequest, CallSettings)

    public override Task<CryptoKeyVersion> ImportTrustedKeyWrappedCryptoKeyVersionAsync(ImportTrustedKeyWrappedCryptoKeyVersionRequest request, CallSettings callSettings = null)

Import wrapped key material into a
\[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\] with a trusted
key.

All requests must specify a \[CryptoKey\]\[google.cloud.kms.v1.CryptoKey\]. If
a \[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\] is additionally
specified in the request, key material will be reimported into that
version. Otherwise, a new version will be created, and will be assigned the
next sequential id within the \[CryptoKey\]\[google.cloud.kms.v1.CryptoKey\].

The \[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\] will have
trusted_wrapping_enabled set to true.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.ImportTrustedKeyWrappedCryptoKeyVersionRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.CryptoKeyVersion` | A Task containing the RPC response. |

**Overrides** [KeyManagementServiceClient.ImportTrustedKeyWrappedCryptoKeyVersionAsync(ImportTrustedKeyWrappedCryptoKeyVersionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ImportTrustedKeyWrappedCryptoKeyVersionAsync_Google_Cloud_Kms_V1_ImportTrustedKeyWrappedCryptoKeyVersionRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListCryptoKeyVersions(ListCryptoKeyVersionsRequest, CallSettings)

    public override PagedEnumerable<ListCryptoKeyVersionsResponse, CryptoKeyVersion> ListCryptoKeyVersions(ListCryptoKeyVersionsRequest request, CallSettings callSettings = null)

Lists \[CryptoKeyVersions\]\[google.cloud.kms.v1.CryptoKeyVersion\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.ListCryptoKeyVersionsRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.ListCryptoKeyVersionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.CryptoKeyVersion` | A pageable sequence of [CryptoKeyVersion](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.CryptoKeyVersion) resources. |

**Overrides** [KeyManagementServiceClient.ListCryptoKeyVersions(ListCryptoKeyVersionsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ListCryptoKeyVersions_Google_Cloud_Kms_V1_ListCryptoKeyVersionsRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListCryptoKeyVersionsAsync(ListCryptoKeyVersionsRequest, CallSettings)

    public override PagedAsyncEnumerable<ListCryptoKeyVersionsResponse, CryptoKeyVersion> ListCryptoKeyVersionsAsync(ListCryptoKeyVersionsRequest request, CallSettings callSettings = null)

Lists \[CryptoKeyVersions\]\[google.cloud.kms.v1.CryptoKeyVersion\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.ListCryptoKeyVersionsRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.ListCryptoKeyVersionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.CryptoKeyVersion` | A pageable asynchronous sequence of [CryptoKeyVersion](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.CryptoKeyVersion) resources. |

**Overrides** [KeyManagementServiceClient.ListCryptoKeyVersionsAsync(ListCryptoKeyVersionsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ListCryptoKeyVersionsAsync_Google_Cloud_Kms_V1_ListCryptoKeyVersionsRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListCryptoKeys(ListCryptoKeysRequest, CallSettings)

    public override PagedEnumerable<ListCryptoKeysResponse, CryptoKey> ListCryptoKeys(ListCryptoKeysRequest request, CallSettings callSettings = null)

Lists \[CryptoKeys\]\[google.cloud.kms.v1.CryptoKey\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.ListCryptoKeysRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.ListCryptoKeysResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.CryptoKey` | A pageable sequence of [CryptoKey](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.CryptoKey) resources. |

**Overrides** [KeyManagementServiceClient.ListCryptoKeys(ListCryptoKeysRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ListCryptoKeys_Google_Cloud_Kms_V1_ListCryptoKeysRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListCryptoKeysAsync(ListCryptoKeysRequest, CallSettings)

    public override PagedAsyncEnumerable<ListCryptoKeysResponse, CryptoKey> ListCryptoKeysAsync(ListCryptoKeysRequest request, CallSettings callSettings = null)

Lists \[CryptoKeys\]\[google.cloud.kms.v1.CryptoKey\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.ListCryptoKeysRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.ListCryptoKeysResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.CryptoKey` | A pageable asynchronous sequence of [CryptoKey](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.CryptoKey) resources. |

**Overrides** [KeyManagementServiceClient.ListCryptoKeysAsync(ListCryptoKeysRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ListCryptoKeysAsync_Google_Cloud_Kms_V1_ListCryptoKeysRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListImportJobs(ListImportJobsRequest, CallSettings)

    public override PagedEnumerable<ListImportJobsResponse, ImportJob> ListImportJobs(ListImportJobsRequest request, CallSettings callSettings = null)

Lists \[ImportJobs\]\[google.cloud.kms.v1.ImportJob\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.ListImportJobsRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.ListImportJobsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.ImportJob` | A pageable sequence of [ImportJob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.ImportJob) resources. |

**Overrides** [KeyManagementServiceClient.ListImportJobs(ListImportJobsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ListImportJobs_Google_Cloud_Kms_V1_ListImportJobsRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListImportJobsAsync(ListImportJobsRequest, CallSettings)

    public override PagedAsyncEnumerable<ListImportJobsResponse, ImportJob> ListImportJobsAsync(ListImportJobsRequest request, CallSettings callSettings = null)

Lists \[ImportJobs\]\[google.cloud.kms.v1.ImportJob\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.ListImportJobsRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.ListImportJobsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.ImportJob` | A pageable asynchronous sequence of [ImportJob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.ImportJob) resources. |

**Overrides** [KeyManagementServiceClient.ListImportJobsAsync(ListImportJobsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ListImportJobsAsync_Google_Cloud_Kms_V1_ListImportJobsRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListKeyRings(ListKeyRingsRequest, CallSettings)

    public override PagedEnumerable<ListKeyRingsResponse, KeyRing> ListKeyRings(ListKeyRingsRequest request, CallSettings callSettings = null)

Lists \[KeyRings\]\[google.cloud.kms.v1.KeyRing\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.ListKeyRingsRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.ListKeyRingsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyRing` | A pageable sequence of [KeyRing](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyRing) resources. |

**Overrides** [KeyManagementServiceClient.ListKeyRings(ListKeyRingsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ListKeyRings_Google_Cloud_Kms_V1_ListKeyRingsRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListKeyRingsAsync(ListKeyRingsRequest, CallSettings)

    public override PagedAsyncEnumerable<ListKeyRingsResponse, KeyRing> ListKeyRingsAsync(ListKeyRingsRequest request, CallSettings callSettings = null)

Lists \[KeyRings\]\[google.cloud.kms.v1.KeyRing\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.ListKeyRingsRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.ListKeyRingsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyRing` | A pageable asynchronous sequence of [KeyRing](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyRing) resources. |

**Overrides** [KeyManagementServiceClient.ListKeyRingsAsync(ListKeyRingsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ListKeyRingsAsync_Google_Cloud_Kms_V1_ListKeyRingsRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListRetiredResources(ListRetiredResourcesRequest, CallSettings)

    public override PagedEnumerable<ListRetiredResourcesResponse, RetiredResource> ListRetiredResources(ListRetiredResourcesRequest request, CallSettings callSettings = null)

Lists the \[RetiredResources\]\[google.cloud.kms.v1.RetiredResource\] which are
the records of deleted \[CryptoKeys\]\[google.cloud.kms.v1.CryptoKey\].
RetiredResources prevent the reuse of these resource names after deletion.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.ListRetiredResourcesRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.ListRetiredResourcesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.RetiredResource` | A pageable sequence of [RetiredResource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.RetiredResource) resources. |

**Overrides** [KeyManagementServiceClient.ListRetiredResources(ListRetiredResourcesRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ListRetiredResources_Google_Cloud_Kms_V1_ListRetiredResourcesRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListRetiredResourcesAsync(ListRetiredResourcesRequest, CallSettings)

    public override PagedAsyncEnumerable<ListRetiredResourcesResponse, RetiredResource> ListRetiredResourcesAsync(ListRetiredResourcesRequest request, CallSettings callSettings = null)

Lists the \[RetiredResources\]\[google.cloud.kms.v1.RetiredResource\] which are
the records of deleted \[CryptoKeys\]\[google.cloud.kms.v1.CryptoKey\].
RetiredResources prevent the reuse of these resource names after deletion.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.ListRetiredResourcesRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.ListRetiredResourcesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.RetiredResource` | A pageable asynchronous sequence of [RetiredResource](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.RetiredResource) resources. |

**Overrides** [KeyManagementServiceClient.ListRetiredResourcesAsync(ListRetiredResourcesRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_ListRetiredResourcesAsync_Google_Cloud_Kms_V1_ListRetiredResourcesRequest_Google_Api_Gax_Grpc_CallSettings_)

### MacSign(MacSignRequest, CallSettings)

    public override MacSignResponse MacSign(MacSignRequest request, CallSettings callSettings = null)

Signs data using a \[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\]
with \[CryptoKey.purpose\]\[google.cloud.kms.v1.CryptoKey.purpose\] MAC,
producing a tag that can be verified by another source with the same key.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.MacSignRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.MacSignResponse` | The RPC response. |

**Overrides** [KeyManagementServiceClient.MacSign(MacSignRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_MacSign_Google_Cloud_Kms_V1_MacSignRequest_Google_Api_Gax_Grpc_CallSettings_)

### MacSignAsync(MacSignRequest, CallSettings)

    public override Task<MacSignResponse> MacSignAsync(MacSignRequest request, CallSettings callSettings = null)

Signs data using a \[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\]
with \[CryptoKey.purpose\]\[google.cloud.kms.v1.CryptoKey.purpose\] MAC,
producing a tag that can be verified by another source with the same key.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.MacSignRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.MacSignResponse` | A Task containing the RPC response. |

**Overrides** [KeyManagementServiceClient.MacSignAsync(MacSignRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_MacSignAsync_Google_Cloud_Kms_V1_MacSignRequest_Google_Api_Gax_Grpc_CallSettings_)

### MacVerify(MacVerifyRequest, CallSettings)

    public override MacVerifyResponse MacVerify(MacVerifyRequest request, CallSettings callSettings = null)

Verifies MAC tag using a
\[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\] with
\[CryptoKey.purpose\]\[google.cloud.kms.v1.CryptoKey.purpose\] MAC, and returns
a response that indicates whether or not the verification was successful.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.MacVerifyRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.MacVerifyResponse` | The RPC response. |

**Overrides** [KeyManagementServiceClient.MacVerify(MacVerifyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_MacVerify_Google_Cloud_Kms_V1_MacVerifyRequest_Google_Api_Gax_Grpc_CallSettings_)

### MacVerifyAsync(MacVerifyRequest, CallSettings)

    public override Task<MacVerifyResponse> MacVerifyAsync(MacVerifyRequest request, CallSettings callSettings = null)

Verifies MAC tag using a
\[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\] with
\[CryptoKey.purpose\]\[google.cloud.kms.v1.CryptoKey.purpose\] MAC, and returns
a response that indicates whether or not the verification was successful.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.MacVerifyRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.MacVerifyResponse` | A Task containing the RPC response. |

**Overrides** [KeyManagementServiceClient.MacVerifyAsync(MacVerifyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_MacVerifyAsync_Google_Cloud_Kms_V1_MacVerifyRequest_Google_Api_Gax_Grpc_CallSettings_)

### RawDecrypt(RawDecryptRequest, CallSettings)

    public override RawDecryptResponse RawDecrypt(RawDecryptRequest request, CallSettings callSettings = null)

Decrypts data that was originally encrypted using a raw cryptographic
mechanism. The \[CryptoKey.purpose\]\[google.cloud.kms.v1.CryptoKey.purpose\]
must be
\[RAW_ENCRYPT_DECRYPT\]\[google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.RAW_ENCRYPT_DECRYPT\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.RawDecryptRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.RawDecryptResponse` | The RPC response. |

**Overrides** [KeyManagementServiceClient.RawDecrypt(RawDecryptRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_RawDecrypt_Google_Cloud_Kms_V1_RawDecryptRequest_Google_Api_Gax_Grpc_CallSettings_)

### RawDecryptAsync(RawDecryptRequest, CallSettings)

    public override Task<RawDecryptResponse> RawDecryptAsync(RawDecryptRequest request, CallSettings callSettings = null)

Decrypts data that was originally encrypted using a raw cryptographic
mechanism. The \[CryptoKey.purpose\]\[google.cloud.kms.v1.CryptoKey.purpose\]
must be
\[RAW_ENCRYPT_DECRYPT\]\[google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.RAW_ENCRYPT_DECRYPT\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.RawDecryptRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.RawDecryptResponse` | A Task containing the RPC response. |

**Overrides** [KeyManagementServiceClient.RawDecryptAsync(RawDecryptRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_RawDecryptAsync_Google_Cloud_Kms_V1_RawDecryptRequest_Google_Api_Gax_Grpc_CallSettings_)

### RawEncrypt(RawEncryptRequest, CallSettings)

    public override RawEncryptResponse RawEncrypt(RawEncryptRequest request, CallSettings callSettings = null)

Encrypts data using portable cryptographic primitives. Most users should
choose \[Encrypt\]\[google.cloud.kms.v1.KeyManagementService.Encrypt\] and
\[Decrypt\]\[google.cloud.kms.v1.KeyManagementService.Decrypt\] rather than
their raw counterparts. The
\[CryptoKey.purpose\]\[google.cloud.kms.v1.CryptoKey.purpose\] must be
\[RAW_ENCRYPT_DECRYPT\]\[google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.RAW_ENCRYPT_DECRYPT\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.RawEncryptRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.RawEncryptResponse` | The RPC response. |

**Overrides** [KeyManagementServiceClient.RawEncrypt(RawEncryptRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_RawEncrypt_Google_Cloud_Kms_V1_RawEncryptRequest_Google_Api_Gax_Grpc_CallSettings_)

### RawEncryptAsync(RawEncryptRequest, CallSettings)

    public override Task<RawEncryptResponse> RawEncryptAsync(RawEncryptRequest request, CallSettings callSettings = null)

Encrypts data using portable cryptographic primitives. Most users should
choose \[Encrypt\]\[google.cloud.kms.v1.KeyManagementService.Encrypt\] and
\[Decrypt\]\[google.cloud.kms.v1.KeyManagementService.Decrypt\] rather than
their raw counterparts. The
\[CryptoKey.purpose\]\[google.cloud.kms.v1.CryptoKey.purpose\] must be
\[RAW_ENCRYPT_DECRYPT\]\[google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.RAW_ENCRYPT_DECRYPT\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.RawEncryptRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.RawEncryptResponse` | A Task containing the RPC response. |

**Overrides** [KeyManagementServiceClient.RawEncryptAsync(RawEncryptRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_RawEncryptAsync_Google_Cloud_Kms_V1_RawEncryptRequest_Google_Api_Gax_Grpc_CallSettings_)

### RestoreCryptoKeyVersion(RestoreCryptoKeyVersionRequest, CallSettings)

    public override CryptoKeyVersion RestoreCryptoKeyVersion(RestoreCryptoKeyVersionRequest request, CallSettings callSettings = null)

Restore a \[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\] in the
\[DESTROY_SCHEDULED\]\[google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED\]
state.

Upon restoration of the CryptoKeyVersion,
\[state\]\[google.cloud.kms.v1.CryptoKeyVersion.state\] will be set to
\[DISABLED\]\[google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED\],
and \[destroy_time\]\[google.cloud.kms.v1.CryptoKeyVersion.destroy_time\] will
be cleared.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.RestoreCryptoKeyVersionRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.CryptoKeyVersion` | The RPC response. |

**Overrides** [KeyManagementServiceClient.RestoreCryptoKeyVersion(RestoreCryptoKeyVersionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_RestoreCryptoKeyVersion_Google_Cloud_Kms_V1_RestoreCryptoKeyVersionRequest_Google_Api_Gax_Grpc_CallSettings_)

### RestoreCryptoKeyVersionAsync(RestoreCryptoKeyVersionRequest, CallSettings)

    public override Task<CryptoKeyVersion> RestoreCryptoKeyVersionAsync(RestoreCryptoKeyVersionRequest request, CallSettings callSettings = null)

Restore a \[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\] in the
\[DESTROY_SCHEDULED\]\[google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DESTROY_SCHEDULED\]
state.

Upon restoration of the CryptoKeyVersion,
\[state\]\[google.cloud.kms.v1.CryptoKeyVersion.state\] will be set to
\[DISABLED\]\[google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED\],
and \[destroy_time\]\[google.cloud.kms.v1.CryptoKeyVersion.destroy_time\] will
be cleared.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.RestoreCryptoKeyVersionRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.CryptoKeyVersion` | A Task containing the RPC response. |

**Overrides** [KeyManagementServiceClient.RestoreCryptoKeyVersionAsync(RestoreCryptoKeyVersionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_RestoreCryptoKeyVersionAsync_Google_Cloud_Kms_V1_RestoreCryptoKeyVersionRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateCryptoKey(UpdateCryptoKeyRequest, CallSettings)

    public override CryptoKey UpdateCryptoKey(UpdateCryptoKeyRequest request, CallSettings callSettings = null)

Update a \[CryptoKey\]\[google.cloud.kms.v1.CryptoKey\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.UpdateCryptoKeyRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.CryptoKey` | The RPC response. |

**Overrides** [KeyManagementServiceClient.UpdateCryptoKey(UpdateCryptoKeyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_UpdateCryptoKey_Google_Cloud_Kms_V1_UpdateCryptoKeyRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateCryptoKeyAsync(UpdateCryptoKeyRequest, CallSettings)

    public override Task<CryptoKey> UpdateCryptoKeyAsync(UpdateCryptoKeyRequest request, CallSettings callSettings = null)

Update a \[CryptoKey\]\[google.cloud.kms.v1.CryptoKey\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.UpdateCryptoKeyRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.CryptoKey` | A Task containing the RPC response. |

**Overrides** [KeyManagementServiceClient.UpdateCryptoKeyAsync(UpdateCryptoKeyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_UpdateCryptoKeyAsync_Google_Cloud_Kms_V1_UpdateCryptoKeyRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateCryptoKeyPrimaryVersion(UpdateCryptoKeyPrimaryVersionRequest, CallSettings)

    public override CryptoKey UpdateCryptoKeyPrimaryVersion(UpdateCryptoKeyPrimaryVersionRequest request, CallSettings callSettings = null)

Update the version of a \[CryptoKey\]\[google.cloud.kms.v1.CryptoKey\] that
will be used in
\[Encrypt\]\[google.cloud.kms.v1.KeyManagementService.Encrypt\].

Returns an error if called on a key whose purpose is not
\[ENCRYPT_DECRYPT\]\[google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.UpdateCryptoKeyPrimaryVersionRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.CryptoKey` | The RPC response. |

**Overrides** [KeyManagementServiceClient.UpdateCryptoKeyPrimaryVersion(UpdateCryptoKeyPrimaryVersionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_UpdateCryptoKeyPrimaryVersion_Google_Cloud_Kms_V1_UpdateCryptoKeyPrimaryVersionRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateCryptoKeyPrimaryVersionAsync(UpdateCryptoKeyPrimaryVersionRequest, CallSettings)

    public override Task<CryptoKey> UpdateCryptoKeyPrimaryVersionAsync(UpdateCryptoKeyPrimaryVersionRequest request, CallSettings callSettings = null)

Update the version of a \[CryptoKey\]\[google.cloud.kms.v1.CryptoKey\] that
will be used in
\[Encrypt\]\[google.cloud.kms.v1.KeyManagementService.Encrypt\].

Returns an error if called on a key whose purpose is not
\[ENCRYPT_DECRYPT\]\[google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.UpdateCryptoKeyPrimaryVersionRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.CryptoKey` | A Task containing the RPC response. |

**Overrides** [KeyManagementServiceClient.UpdateCryptoKeyPrimaryVersionAsync(UpdateCryptoKeyPrimaryVersionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_UpdateCryptoKeyPrimaryVersionAsync_Google_Cloud_Kms_V1_UpdateCryptoKeyPrimaryVersionRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateCryptoKeyVersion(UpdateCryptoKeyVersionRequest, CallSettings)

    public override CryptoKeyVersion UpdateCryptoKeyVersion(UpdateCryptoKeyVersionRequest request, CallSettings callSettings = null)

Update a \[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\]'s
metadata.

\[state\]\[google.cloud.kms.v1.CryptoKeyVersion.state\] may be changed between
\[ENABLED\]\[google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED\]
and
\[DISABLED\]\[google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED\]
using this method. See
\[DestroyCryptoKeyVersion\]\[google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion\]
and
\[RestoreCryptoKeyVersion\]\[google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion\]
to move between other states.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.UpdateCryptoKeyVersionRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.CryptoKeyVersion` | The RPC response. |

**Overrides** [KeyManagementServiceClient.UpdateCryptoKeyVersion(UpdateCryptoKeyVersionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_UpdateCryptoKeyVersion_Google_Cloud_Kms_V1_UpdateCryptoKeyVersionRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateCryptoKeyVersionAsync(UpdateCryptoKeyVersionRequest, CallSettings)

    public override Task<CryptoKeyVersion> UpdateCryptoKeyVersionAsync(UpdateCryptoKeyVersionRequest request, CallSettings callSettings = null)

Update a \[CryptoKeyVersion\]\[google.cloud.kms.v1.CryptoKeyVersion\]'s
metadata.

\[state\]\[google.cloud.kms.v1.CryptoKeyVersion.state\] may be changed between
\[ENABLED\]\[google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED\]
and
\[DISABLED\]\[google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.DISABLED\]
using this method. See
\[DestroyCryptoKeyVersion\]\[google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion\]
and
\[RestoreCryptoKeyVersion\]\[google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion\]
to move between other states.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.UpdateCryptoKeyVersionRequest` 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.Kms.V1/latest/Google.Cloud.Kms.V1.CryptoKeyVersion` | A Task containing the RPC response. |

**Overrides** [KeyManagementServiceClient.UpdateCryptoKeyVersionAsync(UpdateCryptoKeyVersionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.KeyManagementServiceClient#Google_Cloud_Kms_V1_KeyManagementServiceClient_UpdateCryptoKeyVersionAsync_Google_Cloud_Kms_V1_UpdateCryptoKeyVersionRequest_Google_Api_Gax_Grpc_CallSettings_)