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
- (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
- request_pb (::Google::Cloud::Kms::Inventory::V1::GetProtectedResourcesSummaryRequest) — 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::Inventory::V1::ProtectedResourcesSummary)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Kms::Inventory::V1::ProtectedResourcesSummary) — 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
#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
- request_pb (::Google::Cloud::Kms::Inventory::V1::SearchProtectedResourcesRequest) — 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::Inventory::V1::SearchProtectedResourcesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Kms::Inventory::V1::SearchProtectedResourcesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)