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 static class AutokeyAdmin

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

Provides interfaces for managing [Cloud KMS
Autokey](https://cloud.google.com/kms/help/autokey) folder-level or
project-level configurations. A configuration is inherited by all descendent
folders and projects. A configuration at a folder or project overrides any
other configurations in its ancestry. Setting a configuration on a folder is
a prerequisite for Cloud KMS Autokey, so that users working in a descendant
project can request provisioned \[CryptoKeys\]\[google.cloud.kms.v1.CryptoKey\],
ready for Customer Managed Encryption Key (CMEK) use, on-demand when using
the dedicated key project mode. This is not required when using the delegated
key management mode for same-project keys.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> AutokeyAdmin

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.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

## Methods

### BindService(AutokeyAdminBase)

    public static ServerServiceDefinition BindService(AutokeyAdmin.AutokeyAdminBase serviceImpl)

Creates service definition that can be registered with a server

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `serviceImpl` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.AutokeyAdminhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.AutokeyAdmin.AutokeyAdminBase` An object implementing the server-side handling logic. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerServiceDefinition.html` |   |

### BindService(ServiceBinderBase, AutokeyAdminBase)

    public static void BindService(ServiceBinderBase serviceBinder, AutokeyAdmin.AutokeyAdminBase serviceImpl)

Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
Note: this method is part of an experimental API that can change or be removed without any prior notice.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `serviceBinder` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServiceBinderBase.html` Service methods will be bound by calling `AddMethod` on this object. |
| `serviceImpl` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.AutokeyAdminhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.AutokeyAdmin.AutokeyAdminBase` An object implementing the server-side handling logic. |