2.4.0 (latest) 2.3.3 2.2.4 2.1.5 2.0.0 1.8.6 1.7.0 1.6.2 1.5.2 1.4.5 1.3.8 Reference documentation and code samples for the BigQuery Data Transfer V1 Client class EmailPreferences.

Represents preferences for sending email notifications for transfer run
events.

Generated from protobuf message `google.cloud.bigquery.datatransfer.v1.EmailPreferences`

## Namespace

Google \\ Cloud \\ BigQuery \\ DataTransfer \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ enable_failure_email` | `bool` If true, email notifications will be sent on transfer run failures. |

### getEnableFailureEmail

If true, email notifications will be sent on transfer run failures.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setEnableFailureEmail

If true, email notifications will be sent on transfer run failures.

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

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