Confidential Computing V1 API - Class Google::Cloud::ConfidentialComputing::V1::ConfidentialComputing::Rest::ServiceStub (v0.3.0)

Reference documentation and code samples for the Confidential Computing V1 API class Google::Cloud::ConfidentialComputing::V1::ConfidentialComputing::Rest::ServiceStub.

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

Inherits

  • Object

Methods

#create_challenge

def create_challenge(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ConfidentialComputing::V1::Challenge

Baseline implementation for the create_challenge 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

#verify_attestation

def verify_attestation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ConfidentialComputing::V1::VerifyAttestationResponse

Baseline implementation for the verify_attestation REST call

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