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

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PubSubIoDetails

Returns a new instance of PubSubIoDetails.



4292
4293
4294
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4292

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

Instance Attribute Details

#subscriptionString

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

Returns:

  • (String)


4285
4286
4287
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4285

def subscription
  @subscription
end

#topicString

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

Returns:

  • (String)


4290
4291
4292
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4290

def topic
  @topic
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4297
4298
4299
4300
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4297

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