Cloud Key Management Service (KMS) V1 API - Class Google::Cloud::Kms::V1::HsmManagement::Rest::ServiceStub (v1.10.0)

Reference documentation and code samples for the Cloud Key Management Service (KMS) V1 API class Google::Cloud::Kms::V1::HsmManagement::Rest::ServiceStub.

REST service stub for the HsmManagement service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.

Inherits

  • Object

Methods

#approve_single_tenant_hsm_instance_proposal

def approve_single_tenant_hsm_instance_proposal(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Kms::V1::ApproveSingleTenantHsmInstanceProposalResponse

Baseline implementation for the approve_single_tenant_hsm_instance_proposal REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_single_tenant_hsm_instance

def create_single_tenant_hsm_instance(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_single_tenant_hsm_instance REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_single_tenant_hsm_instance_proposal

def create_single_tenant_hsm_instance_proposal(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_single_tenant_hsm_instance_proposal REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_single_tenant_hsm_instance_proposal

def delete_single_tenant_hsm_instance_proposal(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_single_tenant_hsm_instance_proposal REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#execute_single_tenant_hsm_instance_proposal

def execute_single_tenant_hsm_instance_proposal(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the execute_single_tenant_hsm_instance_proposal REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_single_tenant_hsm_instance

def get_single_tenant_hsm_instance(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Kms::V1::SingleTenantHsmInstance

Baseline implementation for the get_single_tenant_hsm_instance REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_single_tenant_hsm_instance_proposal

def get_single_tenant_hsm_instance_proposal(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Kms::V1::SingleTenantHsmInstanceProposal

Baseline implementation for the get_single_tenant_hsm_instance_proposal REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_single_tenant_hsm_instance_proposals

def list_single_tenant_hsm_instance_proposals(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Kms::V1::ListSingleTenantHsmInstanceProposalsResponse

Baseline implementation for the list_single_tenant_hsm_instance_proposals REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_single_tenant_hsm_instances

def list_single_tenant_hsm_instances(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Kms::V1::ListSingleTenantHsmInstancesResponse

Baseline implementation for the list_single_tenant_hsm_instances REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#logger

def logger(stub: false) -> Logger

The logger used for request/response debug logging.

Returns
  • (Logger)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)