Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::Intent::Message::SelectItemInfo (v0.28.0)

Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::Intent::Message::SelectItemInfo.

Additional info about the select item for when it is triggered in a dialog.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#key

def key() -> ::String
Returns
  • (::String) — Required. A unique key that will be sent back to the agent if this response is given.

#key=

def key=(value) -> ::String
Parameter
  • value (::String) — Required. A unique key that will be sent back to the agent if this response is given.
Returns
  • (::String) — Required. A unique key that will be sent back to the agent if this response is given.

#synonyms

def synonyms() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. A list of synonyms that can also be used to trigger this item in dialog.

#synonyms=

def synonyms=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. A list of synonyms that can also be used to trigger this item in dialog.
Returns
  • (::Array<::String>) — Optional. A list of synonyms that can also be used to trigger this item in dialog.