Google Cloud Design Center V1 Client - Class AssessmentFinding (0.1.0)

Reference documentation and code samples for the Google Cloud Design Center V1 Client class AssessmentFinding.

Details of an Assessment Finding.

Generated from protobuf message google.cloud.designcenter.v1.AssessmentFinding

Namespace

Google \ Cloud \ DesignCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ remediation_step RemediationStep

Optional. A description of the steps that users can take to fix the finding.

↳ additional_notes string

Optional. A description of the additional details about finding.

↳ id string

Output only. The Finding ID.

↳ assessed_framework_id string

Optional. The framework that was assessed.

↳ adc_metadata AssessmentFinding\FindingADCMetadata

Output only. Metadata related to the Application Design Center with the finding.

↳ finding_type int

Required. The type of the finding. Findings can be informational, warning, or error.

↳ severity int

Optional. The severity of the finding.

↳ assessed_asset AssetDetails

Required. Details of the Cloud Asset Inventory asset that was assessed.

↳ assessed_framework Framework

Optional. Details of the framework that was assessed.

↳ description string

Optional. Description of the finding.

↳ findings_uri string

Optional. Link to the findings, if persisted by the domain.

↳ scc_metadata SCCMetadata

Output only. SCC related metadata for the finding.

getRemediationStep

Optional. A description of the steps that users can take to fix the finding.

Returns
Type Description
RemediationStep|null

hasRemediationStep

setRemediationStep

Optional. A description of the steps that users can take to fix the finding.

Parameter
Name Description
var RemediationStep
Returns
Type Description
$this

getAdditionalNotes

Optional. A description of the additional details about finding.

Returns
Type Description
string

hasAdditionalNotes

setAdditionalNotes

Optional. A description of the additional details about finding.

Parameter
Name Description
var string
Returns
Type Description
$this

getId

Output only. The Finding ID.

Returns
Type Description
string

setId

Output only. The Finding ID.

Parameter
Name Description
var string
Returns
Type Description
$this

getAssessedFrameworkId

Optional. The framework that was assessed.

Returns
Type Description
string

setAssessedFrameworkId

Optional. The framework that was assessed.

Parameter
Name Description
var string
Returns
Type Description
$this

getAdcMetadata

Output only. Metadata related to the Application Design Center with the finding.

Returns
Type Description
AssessmentFinding\FindingADCMetadata|null

hasAdcMetadata

clearAdcMetadata

setAdcMetadata

Output only. Metadata related to the Application Design Center with the finding.

Parameter
Name Description
var AssessmentFinding\FindingADCMetadata
Returns
Type Description
$this

getFindingType

Required. The type of the finding. Findings can be informational, warning, or error.

Returns
Type Description
int Enum of type Type.

setFindingType

Required. The type of the finding. Findings can be informational, warning, or error.

Parameter
Name Description
var int

Enum of type Type.

Returns
Type Description
$this

getSeverity

Optional. The severity of the finding.

Returns
Type Description
int Enum of type Severity.

setSeverity

Optional. The severity of the finding.

Parameter
Name Description
var int

Enum of type Severity.

Returns
Type Description
$this

getAssessedAsset

Required. Details of the Cloud Asset Inventory asset that was assessed.

Returns
Type Description
AssetDetails|null

hasAssessedAsset

clearAssessedAsset

setAssessedAsset

Required. Details of the Cloud Asset Inventory asset that was assessed.

Parameter
Name Description
var AssetDetails
Returns
Type Description
$this

getAssessedFramework

Optional. Details of the framework that was assessed.

Returns
Type Description
Framework|null

hasAssessedFramework

clearAssessedFramework

setAssessedFramework

Optional. Details of the framework that was assessed.

Parameter
Name Description
var Framework
Returns
Type Description
$this

getDescription

Optional. Description of the finding.

Returns
Type Description
string

setDescription

Optional. Description of the finding.

Parameter
Name Description
var string
Returns
Type Description
$this

getFindingsUri

Optional. Link to the findings, if persisted by the domain.

Returns
Type Description
string

setFindingsUri

Optional. Link to the findings, if persisted by the domain.

Parameter
Name Description
var string
Returns
Type Description
$this

getSccMetadata

Output only. SCC related metadata for the finding.

Returns
Type Description
SCCMetadata|null

hasSccMetadata

clearSccMetadata

setSccMetadata

Output only. SCC related metadata for the finding.

Parameter
Name Description
var SCCMetadata
Returns
Type Description
$this

getNextStep

Returns
Type Description
string

getAdditionalDetails

Returns
Type Description
string