Class: Google::Apis::DataflowV1b3::PubSubIoDetails
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::PubSubIoDetails
- 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
Metadata for a PubSub 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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PubSubIoDetails
Returns a new instance of PubSubIoDetails
2998 2999 3000 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2998 def initialize(**args) update!(**args) end |
Instance Attribute Details
#subscription ⇒ String
Subscription used in the connection.
Corresponds to the JSON property subscription
2991 2992 2993 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2991 def subscription @subscription end |
#topic ⇒ String
Topic accessed in the connection.
Corresponds to the JSON property topic
2996 2997 2998 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2996 def topic @topic end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3003 3004 3005 3006 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3003 def update!(**args) @subscription = args[:subscription] if args.key?(:subscription) @topic = args[:topic] if args.key?(:topic) end |