Class: Google::Apis::ConnectorsV1::Jms

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Jms

Returns a new instance of Jms.



3273
3274
3275
# File 'lib/google/apis/connectors_v1/classes.rb', line 3273

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

Instance Attribute Details

#nameString

Optional. Name of the JMS source. i.e. queueName or topicName Corresponds to the JSON property name

Returns:

  • (String)


3266
3267
3268
# File 'lib/google/apis/connectors_v1/classes.rb', line 3266

def name
  @name
end

#typeString

Optional. Type of the JMS Source. i.e. Queue or Topic Corresponds to the JSON property type

Returns:

  • (String)


3271
3272
3273
# File 'lib/google/apis/connectors_v1/classes.rb', line 3271

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3278
3279
3280
3281
# File 'lib/google/apis/connectors_v1/classes.rb', line 3278

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