KMS Inventory V1 API - Class Google::Cloud::Kms::Inventory::V1::KeyTrackingService::Rest::ServiceStub (v0.11.2)

Reference documentation and code samples for the KMS Inventory V1 API class Google::Cloud::Kms::Inventory::V1::KeyTrackingService::Rest::ServiceStub.

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

Inherits

  • Object

Methods

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#get_protected_resources_summary

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

Baseline implementation for the get_protected_resources_summary REST call

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

#initialize

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

#search_protected_resources

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

Baseline implementation for the search_protected_resources REST call

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

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)