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` | `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.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` | `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.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` | `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.AssetDetails` Required. Details of the Cloud Asset Inventory asset that was assessed. |
| `↳ assessed_framework` | `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.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` | `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.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** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.RemediationStep|null` |   |

### hasRemediationStep

### setRemediationStep

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.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** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.AssessmentFinding.FindingADCMetadata|null` |   |

### hasAdcMetadata

### clearAdcMetadata

### setAdcMetadata

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.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](https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.AssessmentFinding.Type). |

### setFindingType

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [Type](https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.AssessmentFinding.Type). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getSeverity

Optional. The severity of the finding.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [Severity](https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.AssessmentFinding.Severity). |

### setSeverity

Optional. The severity of the finding.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [Severity](https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.AssessmentFinding.Severity). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAssessedAsset

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.AssetDetails|null` |   |

### hasAssessedAsset

### clearAssessedAsset

### setAssessedAsset

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.AssetDetails` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAssessedFramework

Optional. Details of the framework that was assessed.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.Framework|null` |   |

### hasAssessedFramework

### clearAssessedFramework

### setAssessedFramework

Optional. Details of the framework that was assessed.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.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** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.SCCMetadata|null` |   |

### hasSccMetadata

### clearSccMetadata

### setSccMetadata

Output only. SCC related metadata for the finding.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.SCCMetadata` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getNextStep

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### getAdditionalDetails

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |