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::ApproveSingleTenantHsmInstanceProposalResponseBaseline implementation for the approve_single_tenant_hsm_instance_proposal REST call
- request_pb (::Google::Cloud::Kms::V1::ApproveSingleTenantHsmInstanceProposalRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Kms::V1::ApproveSingleTenantHsmInstanceProposalResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Kms::V1::ApproveSingleTenantHsmInstanceProposalResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_single_tenant_hsm_instance
def create_single_tenant_hsm_instance(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the create_single_tenant_hsm_instance REST call
- request_pb (::Google::Cloud::Kms::V1::CreateSingleTenantHsmInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_single_tenant_hsm_instance_proposal
def create_single_tenant_hsm_instance_proposal(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the create_single_tenant_hsm_instance_proposal REST call
- request_pb (::Google::Cloud::Kms::V1::CreateSingleTenantHsmInstanceProposalRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_single_tenant_hsm_instance_proposal
def delete_single_tenant_hsm_instance_proposal(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::EmptyBaseline implementation for the delete_single_tenant_hsm_instance_proposal REST call
- request_pb (::Google::Cloud::Kms::V1::DeleteSingleTenantHsmInstanceProposalRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> StringThe effective endpoint
- (String)
#execute_single_tenant_hsm_instance_proposal
def execute_single_tenant_hsm_instance_proposal(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the execute_single_tenant_hsm_instance_proposal REST call
- request_pb (::Google::Cloud::Kms::V1::ExecuteSingleTenantHsmInstanceProposalRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_single_tenant_hsm_instance
def get_single_tenant_hsm_instance(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Kms::V1::SingleTenantHsmInstanceBaseline implementation for the get_single_tenant_hsm_instance REST call
- request_pb (::Google::Cloud::Kms::V1::GetSingleTenantHsmInstanceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Kms::V1::SingleTenantHsmInstance)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Kms::V1::SingleTenantHsmInstance) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_single_tenant_hsm_instance_proposal
def get_single_tenant_hsm_instance_proposal(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Kms::V1::SingleTenantHsmInstanceProposalBaseline implementation for the get_single_tenant_hsm_instance_proposal REST call
- request_pb (::Google::Cloud::Kms::V1::GetSingleTenantHsmInstanceProposalRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Kms::V1::SingleTenantHsmInstanceProposal)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Kms::V1::SingleTenantHsmInstanceProposal) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_single_tenant_hsm_instance_proposals
def list_single_tenant_hsm_instance_proposals(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Kms::V1::ListSingleTenantHsmInstanceProposalsResponseBaseline implementation for the list_single_tenant_hsm_instance_proposals REST call
- request_pb (::Google::Cloud::Kms::V1::ListSingleTenantHsmInstanceProposalsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Kms::V1::ListSingleTenantHsmInstanceProposalsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Kms::V1::ListSingleTenantHsmInstanceProposalsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_single_tenant_hsm_instances
def list_single_tenant_hsm_instances(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Kms::V1::ListSingleTenantHsmInstancesResponseBaseline implementation for the list_single_tenant_hsm_instances REST call
- request_pb (::Google::Cloud::Kms::V1::ListSingleTenantHsmInstancesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Kms::V1::ListSingleTenantHsmInstancesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Kms::V1::ListSingleTenantHsmInstancesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> LoggerThe logger used for request/response debug logging.
- (Logger)
#universe_domain
def universe_domain() -> StringThe effective universe domain
- (String)