Cloud Key Management Service (KMS) V1 API - Class Google::Cloud::Kms::V1::EkmService::Rest::ServiceStub (v0.20.0)

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

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

Inherits

  • Object

Methods

#create_ekm_connection

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

Baseline implementation for the create_ekm_connection REST call

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

#get_ekm_config

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

Baseline implementation for the get_ekm_config REST call

Parameters
  • request_pb (::Google::Cloud::Kms::V1::GetEkmConfigRequest) — A request object representing the call parameters. Required.
  • options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_ekm_connection

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

Baseline implementation for the get_ekm_connection REST call

Parameters
  • request_pb (::Google::Cloud::Kms::V1::GetEkmConnectionRequest) — A request object representing the call parameters. Required.
  • options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#initialize

def initialize(endpoint:, credentials:) -> ServiceStub
Returns

#list_ekm_connections

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

Baseline implementation for the list_ekm_connections REST call

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

#update_ekm_config

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

Baseline implementation for the update_ekm_config REST call

Parameters
  • request_pb (::Google::Cloud::Kms::V1::UpdateEkmConfigRequest) — A request object representing the call parameters. Required.
  • options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_ekm_connection

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

Baseline implementation for the update_ekm_connection REST call

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

#verify_connectivity

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

Baseline implementation for the verify_connectivity REST call

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