# Confidential Computing V1 API - Class Google::Cloud::ConfidentialComputing::V1::TpmAttestation (v2.3.0)

2.3.0 (latest) 2.2.0 2.1.0 2.0.1 1.6.1 1.5.1 1.4.0 1.3.0 1.2.0 1.1.2 1.0.0 0.9.0 0.8.0 0.7.2 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Confidential Computing V1 API class Google::Cloud::ConfidentialComputing::V1::TpmAttestation.

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

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #ak_cert

    def ak_cert() -> ::String

**Returns**

- (::String) --- 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.

### #ak_cert=

    def ak_cert=(value) -> ::String

**Parameter**

- **value** (::String) --- 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.
**Returns**

- (::String) --- 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.

### #canonical_event_log

    def canonical_event_log() -> ::String

**Returns**

- (::String) --- 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.

### #canonical_event_log=

    def canonical_event_log=(value) -> ::String

**Parameter**

- **value** (::String) --- 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.
**Returns**

- (::String) --- 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.

### #cert_chain

    def cert_chain() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- List of DER-encoded X.509 certificates which, together with the ak_cert, chain back to a trusted Root Certificate.

### #cert_chain=

    def cert_chain=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- List of DER-encoded X.509 certificates which, together with the ak_cert, chain back to a trusted Root Certificate.
**Returns**

- (::Array\<::String\>) --- List of DER-encoded X.509 certificates which, together with the ak_cert, chain back to a trusted Root Certificate.

### #quotes

    def quotes() -> ::Array<::Google::Cloud::ConfidentialComputing::V1::TpmAttestation::Quote>

**Returns**

- (::Array\<[::Google::Cloud::ConfidentialComputing::V1::TpmAttestation::Quote](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-confidential_computing-v1/latest/Google-Cloud-ConfidentialComputing-V1-TpmAttestation-Quote)\>) --- TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.

### #quotes=

    def quotes=(value) -> ::Array<::Google::Cloud::ConfidentialComputing::V1::TpmAttestation::Quote>

**Parameter**

- **value** (::Array\<[::Google::Cloud::ConfidentialComputing::V1::TpmAttestation::Quote](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-confidential_computing-v1/latest/Google-Cloud-ConfidentialComputing-V1-TpmAttestation-Quote)\>) --- TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.
**Returns**

- (::Array\<[::Google::Cloud::ConfidentialComputing::V1::TpmAttestation::Quote](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-confidential_computing-v1/latest/Google-Cloud-ConfidentialComputing-V1-TpmAttestation-Quote)\>) --- TPM2 PCR Quotes generated by calling TPM2_Quote on each PCR bank.

### #tcg_event_log

    def tcg_event_log() -> ::String

**Returns**

- (::String) --- 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".

### #tcg_event_log=

    def tcg_event_log=(value) -> ::String

**Parameter**

- **value** (::String) --- 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".
**Returns**

- (::String) --- 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".