[[["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-09-04 UTC."],[],[],null,["# Google Cloud Confidential Computing V1 Client - Class Challenge (1.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.1 (latest)](/php/docs/reference/cloud-confidentialcomputing/latest/V1.Challenge)\n- [1.4.0](/php/docs/reference/cloud-confidentialcomputing/1.4.0/V1.Challenge)\n- [1.3.0](/php/docs/reference/cloud-confidentialcomputing/1.3.0/V1.Challenge)\n- [1.2.2](/php/docs/reference/cloud-confidentialcomputing/1.2.2/V1.Challenge)\n- [1.1.1](/php/docs/reference/cloud-confidentialcomputing/1.1.1/V1.Challenge)\n- [1.0.0](/php/docs/reference/cloud-confidentialcomputing/1.0.0/V1.Challenge)\n- [0.8.3](/php/docs/reference/cloud-confidentialcomputing/0.8.3/V1.Challenge)\n- [0.7.0](/php/docs/reference/cloud-confidentialcomputing/0.7.0/V1.Challenge)\n- [0.6.0](/php/docs/reference/cloud-confidentialcomputing/0.6.0/V1.Challenge)\n- [0.5.1](/php/docs/reference/cloud-confidentialcomputing/0.5.1/V1.Challenge)\n- [0.4.0](/php/docs/reference/cloud-confidentialcomputing/0.4.0/V1.Challenge)\n- [0.3.0](/php/docs/reference/cloud-confidentialcomputing/0.3.0/V1.Challenge)\n- [0.2.2](/php/docs/reference/cloud-confidentialcomputing/0.2.2/V1.Challenge)\n- [0.1.1](/php/docs/reference/cloud-confidentialcomputing/0.1.1/V1.Challenge) \nReference documentation and code samples for the Google Cloud Confidential Computing V1 Client class Challenge.\n\nA Challenge from the server used to guarantee freshness of attestations\n\nGenerated from protobuf message `google.cloud.confidentialcomputing.v1.Challenge`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ConfidentialComputing \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nOutput only. The resource name for this Challenge in the format\n`projects/*/locations/*/challenges/*`\n\n### setName\n\nOutput only. The resource name for this Challenge in the format\n`projects/*/locations/*/challenges/*`\n\n### getCreateTime\n\nOutput only. The time at which this Challenge was created\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nOutput only. The time at which this Challenge was created\n\n### getExpireTime\n\nOutput only. The time at which this Challenge will no longer be usable. It\nis also the expiration time for any tokens generated from this Challenge.\n\n### hasExpireTime\n\n### clearExpireTime\n\n### setExpireTime\n\nOutput only. The time at which this Challenge will no longer be usable. It\nis also the expiration time for any tokens generated from this Challenge.\n\n### getUsed\n\nOutput only. Indicates if this challenge has been used to generate a token.\n\n### setUsed\n\nOutput only. Indicates if this challenge has been used to generate a token.\n\n### getTpmNonce\n\nOutput only. Identical to nonce, but as a string.\n\n### setTpmNonce\n\nOutput only. Identical to nonce, but as a string."]]