Google Cloud Security Compliance V1 Client - Class FindingDetails (0.2.0)

Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class FindingDetails.

The details for a finding.

Generated from protobuf message google.cloud.cloudsecuritycompliance.v1.FindingDetails

Namespace

Google \ Cloud \ CloudSecurityCompliance \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Output only. The name of the finding.

↳ compliance_state int

Output only. The compliance state of the finding.

↳ observation ObservationDetails

Output only. The observation details for the finding.

↳ evidence EvidenceDetails

Output only. The evidence details for the finding.

getName

Output only. The name of the finding.

Returns
Type Description
string

setName

Output only. The name of the finding.

Parameter
Name Description
var string
Returns
Type Description
$this

getComplianceState

Output only. The compliance state of the finding.

Returns
Type Description
int Enum of type ComplianceState.

setComplianceState

Output only. The compliance state of the finding.

Parameter
Name Description
var int

Enum of type ComplianceState.

Returns
Type Description
$this

getObservation

Output only. The observation details for the finding.

Returns
Type Description
ObservationDetails|null

hasObservation

clearObservation

setObservation

Output only. The observation details for the finding.

Parameter
Name Description
var ObservationDetails
Returns
Type Description
$this

getEvidence

Output only. The evidence details for the finding.

Returns
Type Description
EvidenceDetails|null

hasEvidence

clearEvidence

setEvidence

Output only. The evidence details for the finding.

Parameter
Name Description
var EvidenceDetails
Returns
Type Description
$this