[BindServiceMethod(typeof(HsmManagement), "BindService")]
public abstract class HsmManagement.HsmManagementBaseReference documentation and code samples for the Google Cloud Key Management Service v1 API class HsmManagement.HsmManagementBase.
Base class for server-side implementations of HsmManagement
Namespace
Google.Cloud.Kms.V1Assembly
Google.Cloud.Kms.V1.dll
Methods
ApproveSingleTenantHsmInstanceProposal(ApproveSingleTenantHsmInstanceProposalRequest, ServerCallContext)
public virtual Task<ApproveSingleTenantHsmInstanceProposalResponse> ApproveSingleTenantHsmInstanceProposal(ApproveSingleTenantHsmInstanceProposalRequest request, ServerCallContext context)Approves a [SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal] for a given [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance]. The proposal must be in the [PENDING][google.cloud.kms.v1.SingleTenantHsmInstanceProposal.State.PENDING] state.
| Parameters | |
|---|---|
| Name | Description |
request |
ApproveSingleTenantHsmInstanceProposalRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskApproveSingleTenantHsmInstanceProposalResponse |
The response to send back to the client (wrapped by a task). |
CreateSingleTenantHsmInstance(CreateSingleTenantHsmInstanceRequest, ServerCallContext)
public virtual Task<Operation> CreateSingleTenantHsmInstance(CreateSingleTenantHsmInstanceRequest request, ServerCallContext context)Creates a new [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance] in a given Project and Location. User must create a RegisterTwoFactorAuthKeys proposal with this single-tenant HSM instance to finish setup of the instance.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateSingleTenantHsmInstanceRequestThe 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). |
CreateSingleTenantHsmInstanceProposal(CreateSingleTenantHsmInstanceProposalRequest, ServerCallContext)
public virtual Task<Operation> CreateSingleTenantHsmInstanceProposal(CreateSingleTenantHsmInstanceProposalRequest request, ServerCallContext context)Creates a new [SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal] for a given [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance].
| Parameters | |
|---|---|
| Name | Description |
request |
CreateSingleTenantHsmInstanceProposalRequestThe 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). |
DeleteSingleTenantHsmInstanceProposal(DeleteSingleTenantHsmInstanceProposalRequest, ServerCallContext)
public virtual Task<Empty> DeleteSingleTenantHsmInstanceProposal(DeleteSingleTenantHsmInstanceProposalRequest request, ServerCallContext context)Deletes a [SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal].
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteSingleTenantHsmInstanceProposalRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskEmpty |
The response to send back to the client (wrapped by a task). |
ExecuteSingleTenantHsmInstanceProposal(ExecuteSingleTenantHsmInstanceProposalRequest, ServerCallContext)
public virtual Task<Operation> ExecuteSingleTenantHsmInstanceProposal(ExecuteSingleTenantHsmInstanceProposalRequest request, ServerCallContext context)Executes a [SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal] for a given [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance]. The proposal must be in the [APPROVED][google.cloud.kms.v1.SingleTenantHsmInstanceProposal.State.APPROVED] state.
| Parameters | |
|---|---|
| Name | Description |
request |
ExecuteSingleTenantHsmInstanceProposalRequestThe 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). |
GetSingleTenantHsmInstance(GetSingleTenantHsmInstanceRequest, ServerCallContext)
public virtual Task<SingleTenantHsmInstance> GetSingleTenantHsmInstance(GetSingleTenantHsmInstanceRequest request, ServerCallContext context)Returns metadata for a given [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance].
| Parameters | |
|---|---|
| Name | Description |
request |
GetSingleTenantHsmInstanceRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskSingleTenantHsmInstance |
The response to send back to the client (wrapped by a task). |
GetSingleTenantHsmInstanceProposal(GetSingleTenantHsmInstanceProposalRequest, ServerCallContext)
public virtual Task<SingleTenantHsmInstanceProposal> GetSingleTenantHsmInstanceProposal(GetSingleTenantHsmInstanceProposalRequest request, ServerCallContext context)Returns metadata for a given [SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal].
| Parameters | |
|---|---|
| Name | Description |
request |
GetSingleTenantHsmInstanceProposalRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskSingleTenantHsmInstanceProposal |
The response to send back to the client (wrapped by a task). |
ListSingleTenantHsmInstanceProposals(ListSingleTenantHsmInstanceProposalsRequest, ServerCallContext)
public virtual Task<ListSingleTenantHsmInstanceProposalsResponse> ListSingleTenantHsmInstanceProposals(ListSingleTenantHsmInstanceProposalsRequest request, ServerCallContext context)Lists [SingleTenantHsmInstanceProposals][google.cloud.kms.v1.SingleTenantHsmInstanceProposal].
| Parameters | |
|---|---|
| Name | Description |
request |
ListSingleTenantHsmInstanceProposalsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListSingleTenantHsmInstanceProposalsResponse |
The response to send back to the client (wrapped by a task). |
ListSingleTenantHsmInstances(ListSingleTenantHsmInstancesRequest, ServerCallContext)
public virtual Task<ListSingleTenantHsmInstancesResponse> ListSingleTenantHsmInstances(ListSingleTenantHsmInstancesRequest request, ServerCallContext context)Lists [SingleTenantHsmInstances][google.cloud.kms.v1.SingleTenantHsmInstance].
| Parameters | |
|---|---|
| Name | Description |
request |
ListSingleTenantHsmInstancesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListSingleTenantHsmInstancesResponse |
The response to send back to the client (wrapped by a task). |