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 \ V1Methods
__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 |
↳ challenge |
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 |
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 |
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 |
challenge |
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 |
CreateChallengeRequest |