Grafeas V1 Client - Class ComplianceOccurrence (0.10.3)

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

Namespace

Grafeas \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setNonCompliantFiles

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

Parameter
Name Description
var array<Grafeas\V1\NonCompliantFile>
Returns
Type Description
$this

getNonComplianceReason

Generated from protobuf field string non_compliance_reason = 3;

Returns
Type Description
string

setNonComplianceReason

Generated from protobuf field string non_compliance_reason = 3;

Parameter
Name Description
var string
Returns
Type Description
$this