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

public class HsmManagement.HsmManagementClient : ClientBase<HsmManagement.HsmManagementClient>

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

Client for HsmManagement

Inheritance

object > ClientBase > ClientBaseHsmManagementHsmManagementClient > HsmManagement.HsmManagementClient

Namespace

Google.Cloud.Kms.V1

Assembly

Google.Cloud.Kms.V1.dll

Constructors

HsmManagementClient()

protected HsmManagementClient()

Protected parameterless constructor to allow creation of test doubles.

HsmManagementClient(CallInvoker)

public HsmManagementClient(CallInvoker callInvoker)

Creates a new client for HsmManagement that uses a custom CallInvoker.

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

HsmManagementClient(ChannelBase)

public HsmManagementClient(ChannelBase channel)

Creates a new client for HsmManagement

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

HsmManagementClient(ClientBaseConfiguration)

protected HsmManagementClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

ApproveSingleTenantHsmInstanceProposal(ApproveSingleTenantHsmInstanceProposalRequest, CallOptions)

public virtual ApproveSingleTenantHsmInstanceProposalResponse ApproveSingleTenantHsmInstanceProposal(ApproveSingleTenantHsmInstanceProposalRequest request, CallOptions options)

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 to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ApproveSingleTenantHsmInstanceProposalResponse

The response received from the server.

ApproveSingleTenantHsmInstanceProposal(ApproveSingleTenantHsmInstanceProposalRequest, Metadata, DateTime?, CancellationToken)

public virtual ApproveSingleTenantHsmInstanceProposalResponse ApproveSingleTenantHsmInstanceProposal(ApproveSingleTenantHsmInstanceProposalRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ApproveSingleTenantHsmInstanceProposalResponse

The response received from the server.

ApproveSingleTenantHsmInstanceProposalAsync(ApproveSingleTenantHsmInstanceProposalRequest, CallOptions)

public virtual AsyncUnaryCall<ApproveSingleTenantHsmInstanceProposalResponse> ApproveSingleTenantHsmInstanceProposalAsync(ApproveSingleTenantHsmInstanceProposalRequest request, CallOptions options)

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 to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallApproveSingleTenantHsmInstanceProposalResponse

The call object.

ApproveSingleTenantHsmInstanceProposalAsync(ApproveSingleTenantHsmInstanceProposalRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ApproveSingleTenantHsmInstanceProposalResponse> ApproveSingleTenantHsmInstanceProposalAsync(ApproveSingleTenantHsmInstanceProposalRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallApproveSingleTenantHsmInstanceProposalResponse

The call object.

CreateIAMPolicyClient()

public virtual IAMPolicy.IAMPolicyClient CreateIAMPolicyClient()

Creates a new instance of IAMPolicy.IAMPolicyClient using the same call invoker as this client.

Returns
Type Description
IAMPolicyIAMPolicyClient

A new IAMPolicy.IAMPolicyClient for the same target as this client.

CreateLocationsClient()

public virtual Locations.LocationsClient CreateLocationsClient()

Creates a new instance of Locations.LocationsClient using the same call invoker as this client.

Returns
Type Description
LocationsLocationsClient

A new Locations.LocationsClient for the same target as this client.

CreateOperationsClient()

public virtual Operations.OperationsClient CreateOperationsClient()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client.

Returns
Type Description
OperationsOperationsClient

A new Operations client for the same target as this client.

CreateSingleTenantHsmInstance(CreateSingleTenantHsmInstanceRequest, CallOptions)

public virtual Operation CreateSingleTenantHsmInstance(CreateSingleTenantHsmInstanceRequest request, CallOptions options)

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 to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

CreateSingleTenantHsmInstance(CreateSingleTenantHsmInstanceRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation CreateSingleTenantHsmInstance(CreateSingleTenantHsmInstanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

CreateSingleTenantHsmInstanceAsync(CreateSingleTenantHsmInstanceRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateSingleTenantHsmInstanceAsync(CreateSingleTenantHsmInstanceRequest request, CallOptions options)

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 to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateSingleTenantHsmInstanceAsync(CreateSingleTenantHsmInstanceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateSingleTenantHsmInstanceAsync(CreateSingleTenantHsmInstanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateSingleTenantHsmInstanceProposal(CreateSingleTenantHsmInstanceProposalRequest, CallOptions)

public virtual Operation CreateSingleTenantHsmInstanceProposal(CreateSingleTenantHsmInstanceProposalRequest request, CallOptions options)

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 to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

CreateSingleTenantHsmInstanceProposal(CreateSingleTenantHsmInstanceProposalRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation CreateSingleTenantHsmInstanceProposal(CreateSingleTenantHsmInstanceProposalRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

CreateSingleTenantHsmInstanceProposalAsync(CreateSingleTenantHsmInstanceProposalRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateSingleTenantHsmInstanceProposalAsync(CreateSingleTenantHsmInstanceProposalRequest request, CallOptions options)

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 to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateSingleTenantHsmInstanceProposalAsync(CreateSingleTenantHsmInstanceProposalRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateSingleTenantHsmInstanceProposalAsync(CreateSingleTenantHsmInstanceProposalRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteSingleTenantHsmInstanceProposal(DeleteSingleTenantHsmInstanceProposalRequest, CallOptions)

public virtual Empty DeleteSingleTenantHsmInstanceProposal(DeleteSingleTenantHsmInstanceProposalRequest request, CallOptions options)

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

Parameters
Name Description
request DeleteSingleTenantHsmInstanceProposalRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeleteSingleTenantHsmInstanceProposal(DeleteSingleTenantHsmInstanceProposalRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeleteSingleTenantHsmInstanceProposal(DeleteSingleTenantHsmInstanceProposalRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
Name Description
request DeleteSingleTenantHsmInstanceProposalRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Empty

The response received from the server.

DeleteSingleTenantHsmInstanceProposalAsync(DeleteSingleTenantHsmInstanceProposalRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteSingleTenantHsmInstanceProposalAsync(DeleteSingleTenantHsmInstanceProposalRequest request, CallOptions options)

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

Parameters
Name Description
request DeleteSingleTenantHsmInstanceProposalRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

DeleteSingleTenantHsmInstanceProposalAsync(DeleteSingleTenantHsmInstanceProposalRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteSingleTenantHsmInstanceProposalAsync(DeleteSingleTenantHsmInstanceProposalRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
Name Description
request DeleteSingleTenantHsmInstanceProposalRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallEmpty

The call object.

ExecuteSingleTenantHsmInstanceProposal(ExecuteSingleTenantHsmInstanceProposalRequest, CallOptions)

public virtual Operation ExecuteSingleTenantHsmInstanceProposal(ExecuteSingleTenantHsmInstanceProposalRequest request, CallOptions options)

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 to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

ExecuteSingleTenantHsmInstanceProposal(ExecuteSingleTenantHsmInstanceProposalRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation ExecuteSingleTenantHsmInstanceProposal(ExecuteSingleTenantHsmInstanceProposalRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

ExecuteSingleTenantHsmInstanceProposalAsync(ExecuteSingleTenantHsmInstanceProposalRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> ExecuteSingleTenantHsmInstanceProposalAsync(ExecuteSingleTenantHsmInstanceProposalRequest request, CallOptions options)

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 to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

ExecuteSingleTenantHsmInstanceProposalAsync(ExecuteSingleTenantHsmInstanceProposalRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> ExecuteSingleTenantHsmInstanceProposalAsync(ExecuteSingleTenantHsmInstanceProposalRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

GetSingleTenantHsmInstance(GetSingleTenantHsmInstanceRequest, CallOptions)

public virtual SingleTenantHsmInstance GetSingleTenantHsmInstance(GetSingleTenantHsmInstanceRequest request, CallOptions options)

Returns metadata for a given [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance].

Parameters
Name Description
request GetSingleTenantHsmInstanceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
SingleTenantHsmInstance

The response received from the server.

GetSingleTenantHsmInstance(GetSingleTenantHsmInstanceRequest, Metadata, DateTime?, CancellationToken)

public virtual SingleTenantHsmInstance GetSingleTenantHsmInstance(GetSingleTenantHsmInstanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns metadata for a given [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance].

Parameters
Name Description
request GetSingleTenantHsmInstanceRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
SingleTenantHsmInstance

The response received from the server.

GetSingleTenantHsmInstanceAsync(GetSingleTenantHsmInstanceRequest, CallOptions)

public virtual AsyncUnaryCall<SingleTenantHsmInstance> GetSingleTenantHsmInstanceAsync(GetSingleTenantHsmInstanceRequest request, CallOptions options)

Returns metadata for a given [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance].

Parameters
Name Description
request GetSingleTenantHsmInstanceRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallSingleTenantHsmInstance

The call object.

GetSingleTenantHsmInstanceAsync(GetSingleTenantHsmInstanceRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SingleTenantHsmInstance> GetSingleTenantHsmInstanceAsync(GetSingleTenantHsmInstanceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns metadata for a given [SingleTenantHsmInstance][google.cloud.kms.v1.SingleTenantHsmInstance].

Parameters
Name Description
request GetSingleTenantHsmInstanceRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallSingleTenantHsmInstance

The call object.

GetSingleTenantHsmInstanceProposal(GetSingleTenantHsmInstanceProposalRequest, CallOptions)

public virtual SingleTenantHsmInstanceProposal GetSingleTenantHsmInstanceProposal(GetSingleTenantHsmInstanceProposalRequest request, CallOptions options)

Returns metadata for a given [SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal].

Parameters
Name Description
request GetSingleTenantHsmInstanceProposalRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
SingleTenantHsmInstanceProposal

The response received from the server.

GetSingleTenantHsmInstanceProposal(GetSingleTenantHsmInstanceProposalRequest, Metadata, DateTime?, CancellationToken)

public virtual SingleTenantHsmInstanceProposal GetSingleTenantHsmInstanceProposal(GetSingleTenantHsmInstanceProposalRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns metadata for a given [SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal].

Parameters
Name Description
request GetSingleTenantHsmInstanceProposalRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
SingleTenantHsmInstanceProposal

The response received from the server.

GetSingleTenantHsmInstanceProposalAsync(GetSingleTenantHsmInstanceProposalRequest, CallOptions)

public virtual AsyncUnaryCall<SingleTenantHsmInstanceProposal> GetSingleTenantHsmInstanceProposalAsync(GetSingleTenantHsmInstanceProposalRequest request, CallOptions options)

Returns metadata for a given [SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal].

Parameters
Name Description
request GetSingleTenantHsmInstanceProposalRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallSingleTenantHsmInstanceProposal

The call object.

GetSingleTenantHsmInstanceProposalAsync(GetSingleTenantHsmInstanceProposalRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SingleTenantHsmInstanceProposal> GetSingleTenantHsmInstanceProposalAsync(GetSingleTenantHsmInstanceProposalRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns metadata for a given [SingleTenantHsmInstanceProposal][google.cloud.kms.v1.SingleTenantHsmInstanceProposal].

Parameters
Name Description
request GetSingleTenantHsmInstanceProposalRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallSingleTenantHsmInstanceProposal

The call object.

ListSingleTenantHsmInstanceProposals(ListSingleTenantHsmInstanceProposalsRequest, CallOptions)

public virtual ListSingleTenantHsmInstanceProposalsResponse ListSingleTenantHsmInstanceProposals(ListSingleTenantHsmInstanceProposalsRequest request, CallOptions options)

Lists [SingleTenantHsmInstanceProposals][google.cloud.kms.v1.SingleTenantHsmInstanceProposal].

Parameters
Name Description
request ListSingleTenantHsmInstanceProposalsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListSingleTenantHsmInstanceProposalsResponse

The response received from the server.

ListSingleTenantHsmInstanceProposals(ListSingleTenantHsmInstanceProposalsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListSingleTenantHsmInstanceProposalsResponse ListSingleTenantHsmInstanceProposals(ListSingleTenantHsmInstanceProposalsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists [SingleTenantHsmInstanceProposals][google.cloud.kms.v1.SingleTenantHsmInstanceProposal].

Parameters
Name Description
request ListSingleTenantHsmInstanceProposalsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListSingleTenantHsmInstanceProposalsResponse

The response received from the server.

ListSingleTenantHsmInstanceProposalsAsync(ListSingleTenantHsmInstanceProposalsRequest, CallOptions)

public virtual AsyncUnaryCall<ListSingleTenantHsmInstanceProposalsResponse> ListSingleTenantHsmInstanceProposalsAsync(ListSingleTenantHsmInstanceProposalsRequest request, CallOptions options)

Lists [SingleTenantHsmInstanceProposals][google.cloud.kms.v1.SingleTenantHsmInstanceProposal].

Parameters
Name Description
request ListSingleTenantHsmInstanceProposalsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListSingleTenantHsmInstanceProposalsResponse

The call object.

ListSingleTenantHsmInstanceProposalsAsync(ListSingleTenantHsmInstanceProposalsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListSingleTenantHsmInstanceProposalsResponse> ListSingleTenantHsmInstanceProposalsAsync(ListSingleTenantHsmInstanceProposalsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists [SingleTenantHsmInstanceProposals][google.cloud.kms.v1.SingleTenantHsmInstanceProposal].

Parameters
Name Description
request ListSingleTenantHsmInstanceProposalsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListSingleTenantHsmInstanceProposalsResponse

The call object.

ListSingleTenantHsmInstances(ListSingleTenantHsmInstancesRequest, CallOptions)

public virtual ListSingleTenantHsmInstancesResponse ListSingleTenantHsmInstances(ListSingleTenantHsmInstancesRequest request, CallOptions options)

Lists [SingleTenantHsmInstances][google.cloud.kms.v1.SingleTenantHsmInstance].

Parameters
Name Description
request ListSingleTenantHsmInstancesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListSingleTenantHsmInstancesResponse

The response received from the server.

ListSingleTenantHsmInstances(ListSingleTenantHsmInstancesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListSingleTenantHsmInstancesResponse ListSingleTenantHsmInstances(ListSingleTenantHsmInstancesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists [SingleTenantHsmInstances][google.cloud.kms.v1.SingleTenantHsmInstance].

Parameters
Name Description
request ListSingleTenantHsmInstancesRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListSingleTenantHsmInstancesResponse

The response received from the server.

ListSingleTenantHsmInstancesAsync(ListSingleTenantHsmInstancesRequest, CallOptions)

public virtual AsyncUnaryCall<ListSingleTenantHsmInstancesResponse> ListSingleTenantHsmInstancesAsync(ListSingleTenantHsmInstancesRequest request, CallOptions options)

Lists [SingleTenantHsmInstances][google.cloud.kms.v1.SingleTenantHsmInstance].

Parameters
Name Description
request ListSingleTenantHsmInstancesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListSingleTenantHsmInstancesResponse

The call object.

ListSingleTenantHsmInstancesAsync(ListSingleTenantHsmInstancesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListSingleTenantHsmInstancesResponse> ListSingleTenantHsmInstancesAsync(ListSingleTenantHsmInstancesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists [SingleTenantHsmInstances][google.cloud.kms.v1.SingleTenantHsmInstance].

Parameters
Name Description
request ListSingleTenantHsmInstancesRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListSingleTenantHsmInstancesResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override HsmManagement.HsmManagementClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
HsmManagementHsmManagementClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Kms.V1.HsmManagement.HsmManagementClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)