Google Cloud Binary Authorization V1 Client - Class ValidateAttestationOccurrenceResponse (1.0.3)

Reference documentation and code samples for the Google Cloud Binary Authorization V1 Client class ValidateAttestationOccurrenceResponse.

Response message for ValidationHelperV1.ValidateAttestationOccurrence.

Generated from protobuf message google.cloud.binaryauthorization.v1.ValidateAttestationOccurrenceResponse

Namespace

Google \ Cloud \ BinaryAuthorization \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ result int

The result of the Attestation validation.

↳ denial_reason string

The reason for denial if the Attestation couldn't be validated.

getResult

The result of the Attestation validation.

Returns
Type Description
int

setResult

The result of the Attestation validation.

Parameter
Name Description
var int
Returns
Type Description
$this

getDenialReason

The reason for denial if the Attestation couldn't be validated.

Returns
Type Description
string

setDenialReason

The reason for denial if the Attestation couldn't be validated.

Parameter
Name Description
var string
Returns
Type Description
$this