Class: Google::Apis::ConnectorsV1::Jms
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::Jms
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/connectors_v1/classes.rb,
lib/google/apis/connectors_v1/representations.rb,
lib/google/apis/connectors_v1/representations.rb
Overview
JMS message denotes the source of the event
Instance Attribute Summary collapse
-
#name ⇒ String
Optional.
-
#type ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Jms
constructor
A new instance of Jms.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Jms
Returns a new instance of Jms.
2893 2894 2895 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2893 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Optional. Name of the JMS source. i.e. queueName or topicName
Corresponds to the JSON property name
2886 2887 2888 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2886 def name @name end |
#type ⇒ String
Optional. Type of the JMS Source. i.e. Queue or Topic
Corresponds to the JSON property type
2891 2892 2893 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2891 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2898 2899 2900 2901 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 2898 def update!(**args) @name = args[:name] if args.key?(:name) @type = args[:type] if args.key?(:type) end |