Google Cloud Key Management Service v1 API - Class HsmManagement.HsmManagementBase (3.21.0)

[BindServiceMethod(typeof(HsmManagement), "BindService")]
public abstract class HsmManagement.HsmManagementBase

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

Base class for server-side implementations of HsmManagement

Inheritance

object > HsmManagement.HsmManagementBase

Namespace

Google.Cloud.Kms.V1

Assembly

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 ApproveSingleTenantHsmInstanceProposalRequest

The request received from the client.

context ServerCallContext

The 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 CreateSingleTenantHsmInstanceRequest

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).

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 CreateSingleTenantHsmInstanceProposalRequest

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).

DeleteSingleTenantHsmInstanceProposal(DeleteSingleTenantHsmInstanceProposalRequest, ServerCallContext)

public virtual Task<Empty> DeleteSingleTenantHsmInstanceProposal(DeleteSingleTenantHsmInstanceProposalRequest request, ServerCallContext context)

Deletes a [SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal].

Parameters
Name Description
request DeleteSingleTenantHsmInstanceProposalRequest

The request received from the client.

context ServerCallContext

The 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 ExecuteSingleTenantHsmInstanceProposalRequest

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).

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 GetSingleTenantHsmInstanceRequest

The request received from the client.

context ServerCallContext

The 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 GetSingleTenantHsmInstanceProposalRequest

The request received from the client.

context ServerCallContext

The 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 ListSingleTenantHsmInstanceProposalsRequest

The request received from the client.

context ServerCallContext

The 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 ListSingleTenantHsmInstancesRequest

The request received from the client.

context ServerCallContext

The 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).