Class: Google::Apis::DataflowV1b3::PubsubLocation
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::PubsubLocation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dataflow_v1b3/classes.rb,
generated/google/apis/dataflow_v1b3/representations.rb,
generated/google/apis/dataflow_v1b3/representations.rb
Overview
Identifies a pubsub location to use for transferring data into or out of a streaming Dataflow job.
Instance Attribute Summary collapse
-
#drop_late_data ⇒ Boolean
(also: #drop_late_data?)
Indicates whether the pipeline allows late-arriving data.
-
#id_label ⇒ String
If set, contains a pubsub label from which to extract record ids.
-
#subscription ⇒ String
A pubsub subscription, in the form of "pubsub.googleapis.com/subscriptions/ /" Corresponds to the JSON property
subscription
. -
#timestamp_label ⇒ String
If set, contains a pubsub label from which to extract record timestamps.
-
#topic ⇒ String
A pubsub topic, in the form of "pubsub.googleapis.com/topics/ /" Corresponds to the JSON property
topic
. -
#tracking_subscription ⇒ String
If set, specifies the pubsub subscription that will be used for tracking custom time timestamps for watermark estimation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PubsubLocation
constructor
A new instance of PubsubLocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PubsubLocation
Returns a new instance of PubsubLocation.
3385 3386 3387 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3385 def initialize(**args) update!(**args) end |
Instance Attribute Details
#drop_late_data ⇒ Boolean Also known as: drop_late_data?
Indicates whether the pipeline allows late-arriving data.
Corresponds to the JSON property dropLateData
3376 3377 3378 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3376 def drop_late_data @drop_late_data end |
#id_label ⇒ String
If set, contains a pubsub label from which to extract record ids. If left
empty, record deduplication will be strictly best effort.
Corresponds to the JSON property idLabel
3371 3372 3373 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3371 def id_label @id_label end |
#subscription ⇒ String
A pubsub subscription, in the form of "pubsub.googleapis.com/subscriptions/
/"
Corresponds to the JSON property subscription
3359 3360 3361 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3359 def subscription @subscription end |
#timestamp_label ⇒ String
If set, contains a pubsub label from which to extract record timestamps. If
left empty, record timestamps will be generated upon arrival.
Corresponds to the JSON property timestampLabel
3365 3366 3367 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3365 def @timestamp_label end |
#topic ⇒ String
A pubsub topic, in the form of "pubsub.googleapis.com/topics/
/"
Corresponds to the JSON property topic
3353 3354 3355 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3353 def topic @topic end |
#tracking_subscription ⇒ String
If set, specifies the pubsub subscription that will be used for tracking
custom time timestamps for watermark estimation.
Corresponds to the JSON property trackingSubscription
3383 3384 3385 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3383 def tracking_subscription @tracking_subscription end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3390 3391 3392 3393 3394 3395 3396 3397 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3390 def update!(**args) @topic = args[:topic] if args.key?(:topic) @subscription = args[:subscription] if args.key?(:subscription) @timestamp_label = args[:timestamp_label] if args.key?(:timestamp_label) @id_label = args[:id_label] if args.key?(:id_label) @drop_late_data = args[:drop_late_data] if args.key?(:drop_late_data) @tracking_subscription = args[:tracking_subscription] if args.key?(:tracking_subscription) end |