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 EventDrivenSchedule.

Options customizing EventDriven transfers schedule.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ pubsub_subscription` | `string` Pub/Sub subscription name used to receive events. Only Google Cloud Storage data source support this option. Format: projects/{project}/subscriptions/{subscription} |

### getPubsubSubscription

Pub/Sub subscription name used to receive events.

Only Google Cloud Storage data source support this option.
Format: projects/{project}/subscriptions/{subscription}

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

### setPubsubSubscription

Pub/Sub subscription name used to receive events.

Only Google Cloud Storage data source support this option.
Format: projects/{project}/subscriptions/{subscription}

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

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