Class: Google::Apis::BigquerydatatransferV1::EventDrivenSchedule
- Inherits:
-
Object
- Object
- Google::Apis::BigquerydatatransferV1::EventDrivenSchedule
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigquerydatatransfer_v1/classes.rb,
lib/google/apis/bigquerydatatransfer_v1/representations.rb,
lib/google/apis/bigquerydatatransfer_v1/representations.rb
Overview
Options customizing EventDriven transfers schedule.
Instance Attribute Summary collapse
-
#pubsub_subscription ⇒ String
Pub/Sub subscription name used to receive events.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EventDrivenSchedule
constructor
A new instance of EventDrivenSchedule.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EventDrivenSchedule
Returns a new instance of EventDrivenSchedule.
399 400 401 |
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 399 def initialize(**args) update!(**args) end |
Instance Attribute Details
#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
Corresponds to the JSON property pubsubSubscription
397 398 399 |
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 397 def pubsub_subscription @pubsub_subscription end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
404 405 406 |
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 404 def update!(**args) @pubsub_subscription = args[:pubsub_subscription] if args.key?(:pubsub_subscription) end |