3.27.0 (latest) 3.26.0 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

    [BindServiceMethod(typeof(AutokeyAdmin), "BindService")]
    public abstract class AutokeyAdmin.AutokeyAdminBase

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

Base class for server-side implementations of AutokeyAdmin

## Inheritance

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

## 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

### GetAutokeyConfig(GetAutokeyConfigRequest, ServerCallContext)

    public virtual Task<AutokeyConfig> GetAutokeyConfig(GetAutokeyConfigRequest request, ServerCallContext context)

Returns the \[AutokeyConfig\]\[google.cloud.kms.v1.AutokeyConfig\] for a folder
or project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.GetAutokeyConfigRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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.AutokeyConfig` | The response to send back to the client (wrapped by a task). |

### ShowEffectiveAutokeyConfig(ShowEffectiveAutokeyConfigRequest, ServerCallContext)

    public virtual Task<ShowEffectiveAutokeyConfigResponse> ShowEffectiveAutokeyConfig(ShowEffectiveAutokeyConfigRequest request, ServerCallContext context)

Returns the effective Cloud KMS Autokey configuration for a given project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.ShowEffectiveAutokeyConfigRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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.ShowEffectiveAutokeyConfigResponse` | The response to send back to the client (wrapped by a task). |

### UpdateAutokeyConfig(UpdateAutokeyConfigRequest, ServerCallContext)

    public virtual Task<AutokeyConfig> UpdateAutokeyConfig(UpdateAutokeyConfigRequest request, ServerCallContext context)

Updates the \[AutokeyConfig\]\[google.cloud.kms.v1.AutokeyConfig\] for a folder
or a project. The caller must have both `cloudkms.autokeyConfigs.update`
permission on the parent folder and `cloudkms.cryptoKeys.setIamPolicy`
permission on the provided key project. A
\[KeyHandle\]\[google.cloud.kms.v1.KeyHandle\] creation in the folder's
descendant projects will use this configuration to determine where to
create the resulting \[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.UpdateAutokeyConfigRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **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.AutokeyConfig` | The response to send back to the client (wrapped by a task). |