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)
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#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
- 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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Kms::V1::EkmConfig)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Kms::V1::EkmConfig) — 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:, endpoint_template:, universe_domain:, 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)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#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
- 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.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Kms::V1::EkmConfig)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Kms::V1::EkmConfig) — 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)
#verify_connectivity
def verify_connectivity(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Kms::V1::VerifyConnectivityResponse
Baseline implementation for the verify_connectivity REST call
- request_pb (::Google::Cloud::Kms::V1::VerifyConnectivityRequest) — 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::VerifyConnectivityResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Kms::V1::VerifyConnectivityResponse) — A result object deserialized from the server's reply
- (::ArgumentError)