Grafeas V1 Client - Class ComplianceOccurrence (0.6.0)

Reference documentation and code samples for the Grafeas V1 Client class ComplianceOccurrence.

An indication that the compliance checks in the associated ComplianceNote were not satisfied for particular resources or a specified reason.

Generated from protobuf message grafeas.v1.ComplianceOccurrence

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ non_compliant_files array<Grafeas\V1\NonCompliantFile>
↳ non_compliance_reason string

getNonCompliantFiles

Generated from protobuf field repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setNonCompliantFiles

Generated from protobuf field repeated .grafeas.v1.NonCompliantFile non_compliant_files = 2;

Parameter
NameDescription
var array<Grafeas\V1\NonCompliantFile>
Returns
TypeDescription
$this

getNonComplianceReason

Generated from protobuf field string non_compliance_reason = 3;

Returns
TypeDescription
string

setNonComplianceReason

Generated from protobuf field string non_compliance_reason = 3;

Parameter
NameDescription
var string
Returns
TypeDescription
$this