Class: Google::Apis::DataflowV1b3::PubSubIoDetails
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::PubSubIoDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataflow_v1b3/classes.rb,
lib/google/apis/dataflow_v1b3/representations.rb,
lib/google/apis/dataflow_v1b3/representations.rb
Overview
Metadata for a Pub/Sub connector used by the job.
Instance Attribute Summary collapse
-
#subscription ⇒ String
Subscription used in the connection.
-
#topic ⇒ String
Topic accessed in the connection.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PubSubIoDetails
constructor
A new instance of PubSubIoDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PubSubIoDetails
Returns a new instance of PubSubIoDetails.
3838 3839 3840 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3838 def initialize(**args) update!(**args) end |
Instance Attribute Details
#subscription ⇒ String
Subscription used in the connection.
Corresponds to the JSON property subscription
3831 3832 3833 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3831 def subscription @subscription end |
#topic ⇒ String
Topic accessed in the connection.
Corresponds to the JSON property topic
3836 3837 3838 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3836 def topic @topic end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3843 3844 3845 3846 |
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 3843 def update!(**args) @subscription = args[:subscription] if args.key?(:subscription) @topic = args[:topic] if args.key?(:topic) end |