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
- request_pb (::Google::Cloud::Kms::V1::CreateEkmConnectionRequest) — 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::EkmConnection)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Kms::V1::EkmConnection) — A result object deserialized from the server's reply
- (::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
- 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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Kms::V1::EkmConnection)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Kms::V1::EkmConnection) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#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
- request_pb (::Google::Cloud::Kms::V1::ListEkmConnectionsRequest) — 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::ListEkmConnectionsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Kms::V1::ListEkmConnectionsResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Kms::V1::UpdateEkmConnectionRequest) — 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::EkmConnection)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Kms::V1::EkmConnection) — A result object deserialized from the server's reply
- (::ArgumentError)