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
- request_pb (::Google::Cloud::ConfidentialComputing::V1::CreateChallengeRequest) — 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::ConfidentialComputing::V1::Challenge)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ConfidentialComputing::V1::Challenge) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#initialize
def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#universe_domain
def universe_domain() -> String
The effective universe domain
- (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
- request_pb (::Google::Cloud::ConfidentialComputing::V1::VerifyAttestationRequest) — 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::ConfidentialComputing::V1::VerifyAttestationResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ConfidentialComputing::V1::VerifyAttestationResponse) — A result object deserialized from the server's reply
- (::ArgumentError)