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 \ V1Methods
__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 |
|