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

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

#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:, 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)