# Google Cloud Security Command Center V2 Client - Class Exfiltration (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 Exfiltration.

Exfiltration represents a data exfiltration attempt from one or more sources
to one or more targets. The `sources` attribute lists the sources of the
exfiltrated data. The `targets` attribute lists the destinations the data was
copied to.

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

## Namespace

Google \\ Cloud \\ SecurityCenter \\ V2

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ sources` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-security-center/latest/V2.ExfilResource>` If there are multiple sources, then the data is considered "joined" between them. For instance, BigQuery can join multiple tables, and each table would be considered a source. |
| `↳ targets` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-security-center/latest/V2.ExfilResource>` If there are multiple targets, each target would get a complete copy of the "joined" source data. |
| `↳ total_exfiltrated_bytes` | `int|string` Total exfiltrated bytes processed for the entire job. |

### getSources

If there are multiple sources, then the data is considered "joined" between
them. For instance, BigQuery can join multiple tables, and each
table would be considered a source.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-security-center/latest/V2.ExfilResource>` |   |

### setSources

If there are multiple sources, then the data is considered "joined" between
them. For instance, BigQuery can join multiple tables, and each
table would be considered a source.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-security-center/latest/V2.ExfilResource>` |

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

### getTargets

If there are multiple targets, each target would get a complete copy of the
"joined" source data.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-security-center/latest/V2.ExfilResource>` |   |

### setTargets

If there are multiple targets, each target would get a complete copy of the
"joined" source data.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-security-center/latest/V2.ExfilResource>` |

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

### getTotalExfiltratedBytes

Total exfiltrated bytes processed for the entire job.

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

### setTotalExfiltratedBytes

Total exfiltrated bytes processed for the entire job.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

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