Google Cloud Confidential Computing V1 Client - Class Challenge (1.7.1)
1.7.1 (latest)
1.7.0
1.6.2
1.5.0
1.4.1
1.3.0
1.2.2
1.1.1
1.0.0
0.8.3
0.7.0
0.6.0
0.5.1
0.4.0
0.3.0
0.2.2
0.1.1
Reference documentation and code samples for the Google Cloud Confidential Computing V1 Client class Challenge.
A Challenge from the server used to guarantee freshness of attestations
Generated from protobuf message google.cloud.confidentialcomputing.v1.Challenge
Namespace
Google \ Cloud \ ConfidentialComputing \ V1
Methods
__construct
Parameter
Name
Description
data
mixed
getName
Output only. The resource name for this Challenge in the format
projects/*/locations/*/challenges/*
Returns
Type
Description
string
setName
Output only. The resource name for this Challenge in the format
projects/*/locations/*/challenges/*
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getCreateTime
Output only. The time at which this Challenge was created
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time at which this Challenge was created
Returns
Type
Description
$this
getExpireTime
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.
hasExpireTime
clearExpireTime
setExpireTime
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.
Returns
Type
Description
$this
getUsed
Output only. Indicates if this challenge has been used to generate a token.
Returns
Type
Description
bool
setUsed
Output only. Indicates if this challenge has been used to generate a token.
Parameter
Name
Description
var
bool
Returns
Type
Description
$this
getTpmNonce
Output only. Identical to nonce, but as a string.
Returns
Type
Description
string
setTpmNonce
Output only. Identical to nonce, but as a string.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-03-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-18 UTC."],[],[]]