Class: Google::Apis::DataflowV1b3::PubSubIoDetails

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ PubSubIoDetails

Returns a new instance of PubSubIoDetails.



3210
3211
3212
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3210

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#subscriptionString

Subscription used in the connection. Corresponds to the JSON property subscription

Returns:

  • (String)


3203
3204
3205
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3203

def subscription
  @subscription
end

#topicString

Topic accessed in the connection. Corresponds to the JSON property topic

Returns:

  • (String)


3208
3209
3210
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3208

def topic
  @topic
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3215
3216
3217
3218
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3215

def update!(**args)
  @subscription = args[:subscription] if args.key?(:subscription)
  @topic = args[:topic] if args.key?(:topic)
end