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:
StringOutput 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:
BoolOutput only. Indicates if this challenge has been used to generate a token.
$msg->tpm_nonce()/$msg->tpm_nonce($value)Type:
StringOutput 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:
StringRequired. 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
$msg->td_ccel()/$msg->td_ccel($value)Type:
Message(Google::Cloud::Confidentialcomputing::V1::Service::TdxCcelAttestation)Optional. A TDX with CCEL and RTMR Attestation Quote.
$msg->sev_snp_attestation()/$msg->sev_snp_attestation($value)Type:
Message(Google::Cloud::Confidentialcomputing::V1::Service::SevSnpAttestation)Optional. An SEV-SNP Attestation Report.
$msg->nvidia_attestation()/$msg->nvidia_attestation($value)Type:
Message(Google::Cloud::Confidentialcomputing::V1::Service::NvidiaAttestation)Optional. An Nvidia attestation report for GPU and NVSwitch devices.
$msg->challenge()/$msg->challenge($value)Type:
StringRequired. 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::V1::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::V1::Service::TpmAttestation)Required. The TPM-specific data provided by the attesting platform, used to populate any of the claims regarding platform state.
$msg->confidential_space_info()/$msg->confidential_space_info($value)Type:
Message(Google::Cloud::Confidentialcomputing::V1::Service::ConfidentialSpaceInfo)Optional. Optional information related to the Confidential Space TEE.
$msg->token_options()/$msg->token_options($value)Type:
Message(Google::Cloud::Confidentialcomputing::V1::Service::TokenOptions)Optional. A collection of optional, workload-specified claims that modify the token output.
$msg->attester()/$msg->attester($value)Type:
StringOptional. An optional indicator of the attester, only applies to certain products.
$msg->instance()/$msg->instance($value)Type:
StringOptional. Optional resource link of the Compute Engine instance. Format: `projects/{project_number}/zones/{zone}/instances/{instance_id}`
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
$msg->spt()/$msg->spt($value)Type:
Message(Google::Cloud::Confidentialcomputing::V1::Service::NvidiaAttestation::SinglePassthroughAttestation)Single GPU Passthrough (SPT) attestation.
$msg->ppcie()/$msg->ppcie($value)Type:
Message(Google::Cloud::Confidentialcomputing::V1::Service::NvidiaAttestation::ProtectedPcieAttestation)Protected PCIe (PPCIE) attestation.
$msg->mpt()/$msg->mpt($value)Type:
Message(Google::Cloud::Confidentialcomputing::V1::Service::NvidiaAttestation::MultiGpuSecurePassthroughAttestation)Multi-GPU Secure Passthrough (MPT) attestation.
Enum: NvidiaAttestation::GpuArchitectureType
GPU_ARCHITECTURE_TYPE_UNSPECIFIED=>0GPU_ARCHITECTURE_TYPE_HOPPER=>8GPU_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:
BytesOptional. 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:
BytesOptional. The CCEL event log. Formatted as described in the UEFI 2.10.
$msg->canonical_event_log()/$msg->canonical_event_log($value)Type:
BytesOptional. 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:
BytesOptional. 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:
BytesOptional. 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:
BytesOptional. 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:
StringOutput 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:
StringSame 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:
StringOptional. 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:
StringOptional. 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
$msg->allowed_principal_tags()/$msg->allowed_principal_tags($value)Type:
Message(Google::Cloud::Confidentialcomputing::V1::Service::AwsPrincipalTagsOptions::AllowedPrincipalTags)Optional. Principal tags to allow in the token.
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:
BytesThe 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:
BytesAn 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:
BytesDER-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:
BytesList 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
$msg->signed_entities()/$msg->signed_entities($value)Type:
Message(Google::Cloud::Confidentialcomputing::V1::Service::SignedEntity)Optional. A list of signed entities containing container image signatures that can be used for server-side signature verification.
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
$msg->container_image_signatures()/$msg->container_image_signatures($value)Type:
Message(Google::Cloud::Confidentialcomputing::V1::Service::ContainerImageSignature)Optional. A list of container image signatures attached to an OCI image object.
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:
BytesOptional. 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:
BytesOptional. 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:
BytesOptional. 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
$msg->td_ccel()/$msg->td_ccel($value)Type:
Message(Google::Cloud::Confidentialcomputing::V1::Service::TdxCcelAttestation)Input only. A TDX with CCEL and RTMR Attestation Quote.
$msg->tpm_attestation()/$msg->tpm_attestation($value)Type:
Message(Google::Cloud::Confidentialcomputing::V1::Service::TpmAttestation)Input only. The TPM-specific data provided by the attesting platform, used to populate any of the claims regarding platform state.
$msg->challenge()/$msg->challenge($value)Type:
StringRequired. 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::V1::Service::GcpCredentials)Optional. Credentials used to populate the "emails" claim in the claims_token. If not present, token will not contain the "emails" claim.
$msg->signed_entities()/$msg->signed_entities($value)Type:
Message(Google::Cloud::Confidentialcomputing::V1::Service::SignedEntity)Optional. A list of signed entities containing container image signatures that can be used for server-side signature verification.
$msg->gce_shielded_identity()/$msg->gce_shielded_identity($value)Type:
Message(Google::Cloud::Confidentialcomputing::V1::Service::GceShieldedIdentity)Optional. Information about the associated Compute Engine instance. Required for td_ccel requests only - tpm_attestation requests will provide this information in the attestation.
$msg->options()/$msg->options($value)Type:
Message(Google::Cloud::Confidentialcomputing::V1::Service::VerifyConfidentialSpaceRequest::ConfidentialSpaceOptions)Optional. A collection of fields that modify the token output.
$msg->nvidia_attestation()/$msg->nvidia_attestation($value)Type:
Message(Google::Cloud::Confidentialcomputing::V1::Service::NvidiaAttestation)Optional. An optional Nvidia attestation report, used to populate hardware rooted claims for Nvidia devices.
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:
BytesOptional. 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:
BytesOptional. 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:
StringOutput 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
$msg->tpm_attestation()/$msg->tpm_attestation($value)Type:
Message(Google::Cloud::Confidentialcomputing::V1::Service::TpmAttestation)The TPM-specific data provided by the attesting platform, used to populate any of the claims regarding platform state.
$msg->challenge()/$msg->challenge($value)Type:
StringRequired. 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->options()/$msg->options($value)Type:
Message(Google::Cloud::Confidentialcomputing::V1::Service::VerifyConfidentialGkeRequest::ConfidentialGkeOptions)Optional. A collection of fields that modify the token output.
$msg->platform_type()/$msg->platform_type($value)Type:
Enum(Google::Cloud::Confidentialcomputing::V1::VerifyConfidentialGkeRequest::PlatformType)Optional. Optional platform security architecture hint for the verifier engine. Defaults to `VIRTUALIZED_CVM` behavior if unspecified.
Enum: VerifyConfidentialGkeRequest::PlatformType
PLATFORM_TYPE_UNSPECIFIED=>0VIRTUALIZED_CVM=>1BARE_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:
StringOutput 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.