[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# KMS Inventory V1 API - Class Google::Cloud::Kms::V1::KeyOperationAttestation (v0.15.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.15.1 (latest)](/ruby/docs/reference/google-cloud-kms-inventory-v1/latest/Google-Cloud-Kms-V1-KeyOperationAttestation)\n- [0.15.0](/ruby/docs/reference/google-cloud-kms-inventory-v1/0.15.0/Google-Cloud-Kms-V1-KeyOperationAttestation)\n- [0.14.1](/ruby/docs/reference/google-cloud-kms-inventory-v1/0.14.1/Google-Cloud-Kms-V1-KeyOperationAttestation)\n- [0.13.0](/ruby/docs/reference/google-cloud-kms-inventory-v1/0.13.0/Google-Cloud-Kms-V1-KeyOperationAttestation)\n- [0.12.2](/ruby/docs/reference/google-cloud-kms-inventory-v1/0.12.2/Google-Cloud-Kms-V1-KeyOperationAttestation)\n- [0.11.3](/ruby/docs/reference/google-cloud-kms-inventory-v1/0.11.3/Google-Cloud-Kms-V1-KeyOperationAttestation)\n- [0.10.0](/ruby/docs/reference/google-cloud-kms-inventory-v1/0.10.0/Google-Cloud-Kms-V1-KeyOperationAttestation)\n- [0.9.1](/ruby/docs/reference/google-cloud-kms-inventory-v1/0.9.1/Google-Cloud-Kms-V1-KeyOperationAttestation)\n- [0.8.3](/ruby/docs/reference/google-cloud-kms-inventory-v1/0.8.3/Google-Cloud-Kms-V1-KeyOperationAttestation)\n- [0.7.0](/ruby/docs/reference/google-cloud-kms-inventory-v1/0.7.0/Google-Cloud-Kms-V1-KeyOperationAttestation)\n- [0.6.1](/ruby/docs/reference/google-cloud-kms-inventory-v1/0.6.1/Google-Cloud-Kms-V1-KeyOperationAttestation)\n- [0.5.0](/ruby/docs/reference/google-cloud-kms-inventory-v1/0.5.0/Google-Cloud-Kms-V1-KeyOperationAttestation)\n- [0.4.0](/ruby/docs/reference/google-cloud-kms-inventory-v1/0.4.0/Google-Cloud-Kms-V1-KeyOperationAttestation)\n- [0.3.0](/ruby/docs/reference/google-cloud-kms-inventory-v1/0.3.0/Google-Cloud-Kms-V1-KeyOperationAttestation)\n- [0.2.1](/ruby/docs/reference/google-cloud-kms-inventory-v1/0.2.1/Google-Cloud-Kms-V1-KeyOperationAttestation)\n- [0.1.0](/ruby/docs/reference/google-cloud-kms-inventory-v1/0.1.0/Google-Cloud-Kms-V1-KeyOperationAttestation) \nReference documentation and code samples for the KMS Inventory V1 API class Google::Cloud::Kms::V1::KeyOperationAttestation.\n\nContains an HSM-generated attestation about a key operation. For more\ninformation, see [Verifying attestations](https://cloud.google.com/kms/docs/attest-key). \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #cert_chains\n\n def cert_chains() -\u003e ::Google::Cloud::Kms::V1::KeyOperationAttestation::CertificateChains\n\n**Returns**\n\n- ([::Google::Cloud::Kms::V1::KeyOperationAttestation::CertificateChains](./Google-Cloud-Kms-V1-KeyOperationAttestation-CertificateChains)) --- Output only. The certificate chains needed to validate the attestation\n\n### #content\n\n def content() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. The attestation data provided by the HSM when the key operation was performed.\n\n### #format\n\n def format() -\u003e ::Google::Cloud::Kms::V1::KeyOperationAttestation::AttestationFormat\n\n**Returns**\n\n- ([::Google::Cloud::Kms::V1::KeyOperationAttestation::AttestationFormat](./Google-Cloud-Kms-V1-KeyOperationAttestation-AttestationFormat)) --- Output only. The format of the attestation data."]]