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 \ ImageDetailsMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
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 | |
|---|---|
| Type | Description |
string |
|
setCheckSetIndex
The index of the check set.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCheckSetName
The name of the check set.
| Returns | |
|---|---|
| Type | Description |
string |
|
setCheckSetName
The name of the check set.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCheckSetScope
The scope of the check set.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\BinaryAuthorization\V1beta1\ContinuousValidationEvent\ContinuousValidationPodEvent\ImageDetails\CheckResult\CheckSetScope|null |
|
hasCheckSetScope
clearCheckSetScope
setCheckSetScope
The scope of the check set.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\BinaryAuthorization\V1beta1\ContinuousValidationEvent\ContinuousValidationPodEvent\ImageDetails\CheckResult\CheckSetScope
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCheckIndex
The index of the check.
| Returns | |
|---|---|
| Type | Description |
string |
|
setCheckIndex
The index of the check.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCheckName
The name of the check.
| Returns | |
|---|---|
| Type | Description |
string |
|
setCheckName
The name of the check.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCheckType
The type of the check.
| Returns | |
|---|---|
| Type | Description |
string |
|
setCheckType
The type of the check.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getVerdict
The verdict of this check.
| Returns | |
|---|---|
| Type | Description |
int |
|
setVerdict
The verdict of this check.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getExplanation
User-friendly explanation of this check result.
| Returns | |
|---|---|
| Type | Description |
string |
|
setExplanation
User-friendly explanation of this check result.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|