Google Cloud Confidential Computing V1 Client - Class CreateChallengeRequest (1.0.0)

Reference documentation and code samples for the Google Cloud Confidential Computing V1 Client class CreateChallengeRequest.

Message for creating a Challenge

Generated from protobuf message google.cloud.confidentialcomputing.v1.CreateChallengeRequest

Namespace

Google \ Cloud \ ConfidentialComputing \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The resource name of the location where the Challenge will be used, in the format projects/*/locations/*.

↳ challenge Google\Cloud\ConfidentialComputing\V1\Challenge

Required. The Challenge to be created. Currently this field can be empty as all the Challenge fields are set by the server.

getParent

Required. The resource name of the location where the Challenge will be used, in the format projects/*/locations/*.

Returns
Type Description
string

setParent

Required. The resource name of the location where the Challenge will be used, in the format projects/*/locations/*.

Parameter
Name Description
var string
Returns
Type Description
$this

getChallenge

Required. The Challenge to be created. Currently this field can be empty as all the Challenge fields are set by the server.

Returns
Type Description
Google\Cloud\ConfidentialComputing\V1\Challenge|null

hasChallenge

clearChallenge

setChallenge

Required. The Challenge to be created. Currently this field can be empty as all the Challenge fields are set by the server.

Parameter
Name Description
var Google\Cloud\ConfidentialComputing\V1\Challenge
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The resource name of the location where the Challenge will be used, in the format projects/*/locations/*. Please see Google\Cloud\ConfidentialComputing\V1\ConfidentialComputingClient::locationName() for help formatting this field.

challenge Google\Cloud\ConfidentialComputing\V1\Challenge

Required. The Challenge to be created. Currently this field can be empty as all the Challenge fields are set by the server.

Returns
Type Description
Google\Cloud\ConfidentialComputing\V1\CreateChallengeRequest