Google Cloud Binary Authorization V1beta1 Client - Class CheckResult (0.6.1)

Reference documentation and code samples for the Google Cloud Binary Authorization V1beta1 Client class CheckResult.

Generated from protobuf message google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult

Namespace

Google \ Cloud \ BinaryAuthorization \ V1beta1 \ ContinuousValidationEvent \ ContinuousValidationPodEvent \ ImageDetails

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ check_set_index string

The index of the check set.

↳ check_set_name string

The name of the check set.

↳ check_set_scope Google\Cloud\BinaryAuthorization\V1beta1\ContinuousValidationEvent\ContinuousValidationPodEvent\ImageDetails\CheckResult\CheckSetScope

The scope of the check set.

↳ check_index string

The index of the check.

↳ check_name string

The name of the check.

↳ check_type string

The type of the check.

↳ verdict int

The verdict of this check.

↳ explanation string

User-friendly explanation of this check result.

getCheckSetIndex

The index of the check set.

Returns
TypeDescription
string

setCheckSetIndex

The index of the check set.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCheckSetName

The name of the check set.

Returns
TypeDescription
string

setCheckSetName

The name of the check set.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCheckSetScope

The scope of the check set.

Returns
TypeDescription
Google\Cloud\BinaryAuthorization\V1beta1\ContinuousValidationEvent\ContinuousValidationPodEvent\ImageDetails\CheckResult\CheckSetScope|null

hasCheckSetScope

clearCheckSetScope

setCheckSetScope

The scope of the check set.

Parameter
NameDescription
var Google\Cloud\BinaryAuthorization\V1beta1\ContinuousValidationEvent\ContinuousValidationPodEvent\ImageDetails\CheckResult\CheckSetScope
Returns
TypeDescription
$this

getCheckIndex

The index of the check.

Returns
TypeDescription
string

setCheckIndex

The index of the check.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCheckName

The name of the check.

Returns
TypeDescription
string

setCheckName

The name of the check.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCheckType

The type of the check.

Returns
TypeDescription
string

setCheckType

The type of the check.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVerdict

The verdict of this check.

Returns
TypeDescription
int

setVerdict

The verdict of this check.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getExplanation

User-friendly explanation of this check result.

Returns
TypeDescription
string

setExplanation

User-friendly explanation of this check result.

Parameter
NameDescription
var string
Returns
TypeDescription
$this