Google Cloud Key Management Service v1 API - Class Autokey.AutokeyBase (3.11.0)

[BindServiceMethod(typeof(Autokey), "BindService")]
public abstract class Autokey.AutokeyBase

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

Base class for server-side implementations of Autokey

Inheritance

object > Autokey.AutokeyBase

Namespace

Google.Cloud.Kms.V1

Assembly

Google.Cloud.Kms.V1.dll

Methods

CreateKeyHandle(CreateKeyHandleRequest, ServerCallContext)

public virtual Task<Operation> CreateKeyHandle(CreateKeyHandleRequest request, ServerCallContext context)

Creates a new [KeyHandle][google.cloud.kms.v1.KeyHandle], triggering the provisioning of a new [CryptoKey][google.cloud.kms.v1.CryptoKey] for CMEK use with the given resource type in the configured key project and the same location. [GetOperation][Operations.GetOperation] should be used to resolve the resulting long-running operation and get the resulting [KeyHandle][google.cloud.kms.v1.KeyHandle] and [CryptoKey][google.cloud.kms.v1.CryptoKey].

Parameters
Name Description
request CreateKeyHandleRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

GetKeyHandle(GetKeyHandleRequest, ServerCallContext)

public virtual Task<KeyHandle> GetKeyHandle(GetKeyHandleRequest request, ServerCallContext context)

Returns the [KeyHandle][google.cloud.kms.v1.KeyHandle].

Parameters
Name Description
request GetKeyHandleRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskKeyHandle

The response to send back to the client (wrapped by a task).

ListKeyHandles(ListKeyHandlesRequest, ServerCallContext)

public virtual Task<ListKeyHandlesResponse> ListKeyHandles(ListKeyHandlesRequest request, ServerCallContext context)

Lists [KeyHandles][google.cloud.kms.v1.KeyHandle].

Parameters
Name Description
request ListKeyHandlesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListKeyHandlesResponse

The response to send back to the client (wrapped by a task).