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.



22088
22089
22090
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 22088

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>)


22086
22087
22088
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 22086

def wonder_card_message_id
  @wonder_card_message_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22093
22094
22095
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 22093

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