# Google Cloud Security Command Center V2 Client - Class ToxicCombination (2.5.1)

2.5.1 (latest) 2.5.0 2.4.2 2.3.0 2.2.1 2.1.1 2.0.4 1.32.0 1.31.0 1.30.0 1.29.0 1.28.2 1.21.0 1.20.2 1.19.1 1.18.0 1.17.0 1.16.0 1.15.1 1.14.2 1.13.1 Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class ToxicCombination.

Contains details about a group of security issues that, when the issues
occur together, represent a greater risk than when the issues occur
independently. A group of such issues is referred to as a toxic
combination.

Generated from protobuf message `google.cloud.securitycenter.v2.ToxicCombination`

## Namespace

Google \\ Cloud \\ SecurityCenter \\ V2

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ attack_exposure_score` | `float` The [Attack exposure score](https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_exposure_scores) of this toxic combination. The score is a measure of how much this toxic combination exposes one or more high-value resources to potential attack. |
| `↳ related_findings` | `string[]` List of resource names of findings associated with this toxic combination. For example, `organizations/123/sources/456/findings/789`. |

### getAttackExposureScore

The
[Attack exposure
score](https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_exposure_scores)
of this toxic combination. The score is a measure of how much this toxic
combination exposes one or more high-value resources to potential attack.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `float` |   |

### setAttackExposureScore

The
[Attack exposure
score](https://cloud.google.com/security-command-center/docs/attack-exposure-learn#attack_exposure_scores)
of this toxic combination. The score is a measure of how much this toxic
combination exposes one or more high-value resources to potential attack.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `float` |

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

### getRelatedFindings

List of resource names of findings associated with this toxic combination.

For example, `organizations/123/sources/456/findings/789`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setRelatedFindings

List of resource names of findings associated with this toxic combination.

For example, `organizations/123/sources/456/findings/789`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

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