Google Cloud Confidential Computing V1 Client - Class CreateChallengeRequest (0.7.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
NameDescription
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
TypeDescription
string

setParent

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

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var Google\Cloud\ConfidentialComputing\V1\Challenge
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
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
TypeDescription
Google\Cloud\ConfidentialComputing\V1\CreateChallengeRequest