Class: Google::Apis::CloudsearchV1::WonderMessageMapping

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb

Overview

Card mapping attached to original message as an attribute stored at /wonder/ message_mapping/vertical Next ID: 2

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WonderMessageMapping

Returns a new instance of WonderMessageMapping.



22294
22295
22296
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 22294

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

Instance Attribute Details

#wonder_card_message_idArray<String>

List of wonder card (client-generated) message IDs generated based on the original message. Corresponds to the JSON property wonderCardMessageId

Returns:

  • (Array<String>)


22292
22293
22294
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 22292

def wonder_card_message_id
  @wonder_card_message_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22299
22300
22301
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 22299

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