[BindServiceMethod(typeof(Autokey), "BindService")]
public abstract class Autokey.AutokeyBaseReference documentation and code samples for the Google Cloud Key Management Service v1 API class Autokey.AutokeyBase.
Base class for server-side implementations of Autokey
Namespace
Google.Cloud.Kms.V1Assembly
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][google.longrunning.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 |
CreateKeyHandleRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
GetKeyHandleRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ListKeyHandlesRequestThe request received from the client. |
context |
ServerCallContextThe 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). |