Service Client: Google::Cloud::Confidentialcomputing::V1alpha1::Service::ConfidentialComputingClient

Client stub representing the remote ConfidentialComputing gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to confidentialcomputing.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Confidentialcomputing::V1alpha1::Service - Compiled Protocol Buffers messages for google/cloud/confidentialcomputing/v1alpha1/service.proto

SYNOPSIS

use Google::Cloud::Confidentialcomputing::V1alpha1::Service;

my $msg = Google::Cloud::Confidentialcomputing::V1alpha1::Service::Challenge->new({
    name => $name,
    create_time => $create_time,
    expire_time => $expire_time,
    used => $used,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Confidentialcomputing::V1alpha1::Service::Challenge->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/confidentialcomputing/v1alpha1/service.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Confidentialcomputing::V1alpha1::Service::Challenge

A Challenge from the server used to guarantee freshness of attestations

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Output only. The resource name for this Challenge in the format `projects/*/locations/*/challenges/*`

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time at which this Challenge was created

  • $msg->expire_time() / $msg->expire_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The time at which this Challenge will no longer be usable. It is also the expiration time for any tokens generated from this Challenge.

  • $msg->used() / $msg->used($value)

    Type: Bool

    Output only. Indicates if this challenge has been used to generate a token.

  • $msg->nonce() / $msg->nonce($value)

    Type: Bytes

    Output only. Random data which should be used when calling TPM2_Quote. --

Google::Cloud::Confidentialcomputing::V1alpha1::Service::CreateChallengeRequest

Message for creating a Challenge

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The resource name of the location where the Challenge will be used, in the format `projects/*/locations/*`.

  • $msg->challenge() / $msg->challenge($value)

    Type: Message (Google::Cloud::Confidentialcomputing::V1alpha1::Service::Challenge)

    Required. The Challenge to be created. Currently this field can be empty as all the Challenge fields are set by the server.

Google::Cloud::Confidentialcomputing::V1alpha1::Service::VerifyAttestationRequest

A request for an OIDC token, providing all the necessary information needed for this service to verify the plaform state of the requestor.

Inherits from Protobuf::Message.

Accessors

  • $msg->challenge() / $msg->challenge($value)

    Type: String

    Required. The name of the Challenge whose nonce was used to generate the attestation, in the format `projects/*/locations/*/challenges/*`. The provided Challenge will be consumed, and cannot be used again.

  • $msg->gcp_credentials() / $msg->gcp_credentials($value)

    Type: Message (Google::Cloud::Confidentialcomputing::V1alpha1::Service::GcpCredentials)

    Optional. Credentials used to populate the "emails" claim in the claims_token.

  • $msg->tpm_attestation() / $msg->tpm_attestation($value)

    Type: Message (Google::Cloud::Confidentialcomputing::V1alpha1::Service::TpmAttestation)

    Required. The TPM-specific data provided by the attesting platform, used to populate any of the claims regarding platform state.

Google::Cloud::Confidentialcomputing::V1alpha1::Service::VerifyAttestationResponse

A response once an attestation has been successfully verified, containing a signed OIDC token.

Inherits from Protobuf::Message.

Accessors

  • $msg->claims_token() / $msg->claims_token($value)

    Type: Bytes

    Output only. The OIDC token issued by this service. It contains specific platform claims based on the contents of the provided attestation. --

Google::Cloud::Confidentialcomputing::V1alpha1::Service::GcpCredentials

Credentials issued by GCP which are linked to the platform attestation. These will be verified server-side as part of attestaion verification.

Inherits from Protobuf::Message.

Accessors

  • $msg->id_tokens() / $msg->id_tokens($value)

    Type: Bytes

    A list of service account OpenID Connect ID tokens identifying which service account identities should be included in the claims_token. These can be generated by calling `serviceAccounts.generateIdToken`. The Challenge.name must be used as the `audience` parameter, and the `includeEmail` parameter must be `true`. --

Google::Cloud::Confidentialcomputing::V1alpha1::Service::TpmAttestation

TPM2 data containing everything necessary to validate any platform state measured into the TPM.

Inherits from Protobuf::Message.

Accessors

  • $msg->quotes() / $msg->quotes($value)

    Type: Message (Google::Cloud::Confidentialcomputing::V1alpha1::Service::TpmAttestation::Quote)

    TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.

  • $msg->tcg_event_log() / $msg->tcg_event_log($value)

    Type: Bytes

    The binary TCG Event Log containing events measured into the TPM by the platform firmware and operating system. Formatted as described in the "TCG PC Client Platform Firmware Profile Specification".

  • $msg->canonical_event_log() / $msg->canonical_event_log($value)

    Type: Bytes

    An Event Log containing additional events measured into the TPM that are not already present in the tcg_event_log. Formatted as described in the "Canonical Event Log Format" TCG Specification.

  • $msg->ak_cert() / $msg->ak_cert($value)

    Type: Bytes

    DER-encoded X.509 certificate of the Attestation Key (otherwise known as an AK or a TPM restricted signing key) used to generate the quotes.

  • $msg->cert_chain() / $msg->cert_chain($value)

    Type: Bytes

    List of DER-encoded X.509 certificates which, together with the ak_cert, chain back to a trusted Root Certificate.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Confidentialcomputing::V1alpha1::Service::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.