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

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
NameDescription
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
TypeDescription
int

setResult

The result of the Attestation validation.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getDenialReason

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

Returns
TypeDescription
string

setDenialReason

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this