Service Client: Google::Cloud::Confidentialcomputing::V1::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::V1::Service - Compiled Protocol Buffers messages for google/cloud/confidentialcomputing/v1/service.proto

SYNOPSIS

use Google::Cloud::Confidentialcomputing::V1::Service;

my $msg = Google::Cloud::Confidentialcomputing::V1::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::V1::Service::Challenge->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/confidentialcomputing/v1/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::V1::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->tpm_nonce() / $msg->tpm_nonce($value)

    Type: String

    Output only. Identical to nonce, but as a string.

Google::Cloud::Confidentialcomputing::V1::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::V1::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::V1::Service::VerifyAttestationRequest

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

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Confidentialcomputing::V1::Service::NvidiaAttestation

An Nvidia attestation report for GPU and NVSwitch devices. Contains necessary attestation evidence that the client collects for verification.

Inherits from Protobuf::Message.

Accessors

Enum: NvidiaAttestation::GpuArchitectureType

  • GPU_ARCHITECTURE_TYPE_UNSPECIFIED => 0

  • GPU_ARCHITECTURE_TYPE_HOPPER => 8

  • GPU_ARCHITECTURE_TYPE_BLACKWELL => 10

Google::Cloud::Confidentialcomputing::V1::Service::TdxCcelAttestation

A TDX Attestation quote.

Inherits from Protobuf::Message.

Accessors

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

    Type: Bytes

    Optional. The Confidential Computing Event Log (CCEL) ACPI table. Formatted as described in the ACPI Specification 6.5.

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

    Type: Bytes

    Optional. The CCEL event log. Formatted as described in the UEFI 2.10.

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

    Type: Bytes

    Optional. An Event Log containing additional events measured into the RTMR that are not already present in the CCEL.

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

    Type: Bytes

    Optional. The TDX attestation quote from the guest. It contains the RTMR values.

Google::Cloud::Confidentialcomputing::V1::Service::SevSnpAttestation

An SEV-SNP Attestation Report. Contains the attestation report and the certificate bundle that the client collects.

Inherits from Protobuf::Message.

Accessors

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

    Type: Bytes

    Optional. The SEV-SNP Attestation Report Format is in revision 1.55, §7.3 Attestation, Table 22. ATTESTATION_REPORT Structure in this document: https://www.amd.com/content/dam/amd/en/documents/epyc-technical-docs/specifications/56860.pdf

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

    Type: Bytes

    Optional. Certificate bundle defined in the GHCB protocol definition Format is documented in GHCB revision 2.03, section 4.1.8.1 struct cert_table in this document: https://www.amd.com/content/dam/amd/en/documents/epyc-technical-docs/specifications/56421.pdf

Google::Cloud::Confidentialcomputing::V1::Service::VerifyAttestationResponse

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

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. Same as claims_token, but as a string.

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

    Type: Message (Google::Rpc::Status::Status)

    Output only. A list of messages that carry the partial error details related to VerifyAttestation.

Google::Cloud::Confidentialcomputing::V1::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->service_account_id_tokens() / $msg->service_account_id_tokens($value)

    Type: String

    Same as id_tokens, but as a string.

Google::Cloud::Confidentialcomputing::V1::Service::TokenOptions

Options to modify claims in the token to generate custom-purpose tokens.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Confidentialcomputing::V1::Service::AwsPrincipalTagsOptions)

    Optional. Options for AWS token type.

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

    Type: String

    Optional. Optional string to issue the token with a custom audience claim. Required if one or more nonces are specified.

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

    Type: String

    Optional. Optional parameter to place one or more nonces in the eat_nonce claim in the output token. The minimum size for JSON-encoded EATs is 10 bytes and the maximum size is 74 bytes.

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

    Type: Enum (Google::Cloud::Confidentialcomputing::V1::TokenType)

    Optional. Optional token type to select what type of token to return.

Google::Cloud::Confidentialcomputing::V1::Service::AwsPrincipalTagsOptions

Token options that only apply to the AWS Principal Tags token type.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Confidentialcomputing::V1::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::V1::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.

Google::Cloud::Confidentialcomputing::V1::Service::ConfidentialSpaceInfo

ConfidentialSpaceInfo contains information related to the Confidential Space TEE.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Confidentialcomputing::V1::Service::SignedEntity

SignedEntity represents an OCI image object containing everything necessary to verify container image signatures.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Confidentialcomputing::V1::Service::ContainerImageSignature

ContainerImageSignature holds necessary metadata to verify a container image signature.

Inherits from Protobuf::Message.

Accessors

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

    Type: Bytes

    Optional. The binary signature payload following the SimpleSigning format https://github.com/sigstore/cosign/blob/main/specs/SIGNATURE_SPEC.md#simple-signing. This payload includes the container image digest.

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

    Type: Bytes

    Optional. A signature over the payload. The container image digest is incorporated into the signature as follows: 1. Generate a SimpleSigning format payload that includes the container image digest. 2. Generate a signature over SHA256 digest of the payload. The signature generation process can be represented as follows: `Sign(sha256(SimpleSigningPayload(sha256(Image Manifest))))`

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

    Type: Bytes

    Optional. Reserved for future use.

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

    Type: Enum (Google::Cloud::Confidentialcomputing::V1::SigningAlgorithm)

    Optional. Reserved for future use.

Google::Cloud::Confidentialcomputing::V1::Service::VerifyConfidentialSpaceRequest

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

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Confidentialcomputing::V1::Service::GceShieldedIdentity

GceShieldedIdentity contains information about a Compute Engine instance.

Inherits from Protobuf::Message.

Accessors

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

    Type: Bytes

    Optional. 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->ak_cert_chain() / $msg->ak_cert_chain($value)

    Type: Bytes

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

Google::Cloud::Confidentialcomputing::V1::Service::VerifyConfidentialSpaceResponse

VerifyConfidentialSpaceResponse is returned once a Confidential Space attestation has been successfully verified, containing a signed token.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

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

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

    Type: Message (Google::Rpc::Status::Status)

    Output only. A list of messages that carry the partial error details related to VerifyConfidentialSpace. This field is populated by errors during container image signature verification, which may reflect problems in the provided image signatures. This does not block the issuing of an attestation token, but the token will not contain claims for the failed image signatures.

Google::Cloud::Confidentialcomputing::V1::Service::VerifyConfidentialGkeRequest

A request for an attestation token, providing all the necessary information needed for this service to verify Confidential GKE platform state of the requestor.

Inherits from Protobuf::Message.

Accessors

Enum: VerifyConfidentialGkeRequest::PlatformType

  • PLATFORM_TYPE_UNSPECIFIED => 0

  • VIRTUALIZED_CVM => 1

  • BARE_METAL_VTPM => 2

Google::Cloud::Confidentialcomputing::V1::Service::VerifyConfidentialGkeResponse

VerifyConfidentialGkeResponse response is returened once a Confidential GKE attestation has been successfully verified, containing a signed OIDC token.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

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

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.