Confidential Computing V1 API - Class Google::Cloud::ConfidentialComputing::V1::ConfidentialComputing::Rest::ServiceStub (v1.1.1)

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)

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#initialize

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

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)

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