Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::Intent::Message.
A rich response message. Corresponds to the intent Response field in the Dialogflow console. For more information, see Rich response messages.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#basic_card
def basic_card() -> ::Google::Cloud::Dialogflow::V2::Intent::Message::BasicCard Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::BasicCard) — The basic card response for Actions on Google.
#basic_card=
def basic_card=(value) -> ::Google::Cloud::Dialogflow::V2::Intent::Message::BasicCard Parameter
- value (::Google::Cloud::Dialogflow::V2::Intent::Message::BasicCard) — The basic card response for Actions on Google.
Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::BasicCard) — The basic card response for Actions on Google.
#browse_carousel_card
def browse_carousel_card() -> ::Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard) — Browse carousel card for Actions on Google.
#browse_carousel_card=
def browse_carousel_card=(value) -> ::Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard Parameter
- value (::Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard) — Browse carousel card for Actions on Google.
Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard) — Browse carousel card for Actions on Google.
#card
def card() -> ::Google::Cloud::Dialogflow::V2::Intent::Message::Card Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::Card) — The card response.
#card=
def card=(value) -> ::Google::Cloud::Dialogflow::V2::Intent::Message::Card Parameter
- value (::Google::Cloud::Dialogflow::V2::Intent::Message::Card) — The card response.
Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::Card) — The card response.
#carousel_select
def carousel_select() -> ::Google::Cloud::Dialogflow::V2::Intent::Message::CarouselSelect Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::CarouselSelect) — The carousel card response for Actions on Google.
#carousel_select=
def carousel_select=(value) -> ::Google::Cloud::Dialogflow::V2::Intent::Message::CarouselSelect Parameter
- value (::Google::Cloud::Dialogflow::V2::Intent::Message::CarouselSelect) — The carousel card response for Actions on Google.
Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::CarouselSelect) — The carousel card response for Actions on Google.
#image
def image() -> ::Google::Cloud::Dialogflow::V2::Intent::Message::Image Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::Image) — The image response.
#image=
def image=(value) -> ::Google::Cloud::Dialogflow::V2::Intent::Message::Image Parameter
- value (::Google::Cloud::Dialogflow::V2::Intent::Message::Image) — The image response.
Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::Image) — The image response.
#link_out_suggestion
def link_out_suggestion() -> ::Google::Cloud::Dialogflow::V2::Intent::Message::LinkOutSuggestion Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::LinkOutSuggestion) — The link out suggestion chip for Actions on Google.
#link_out_suggestion=
def link_out_suggestion=(value) -> ::Google::Cloud::Dialogflow::V2::Intent::Message::LinkOutSuggestion Parameter
- value (::Google::Cloud::Dialogflow::V2::Intent::Message::LinkOutSuggestion) — The link out suggestion chip for Actions on Google.
Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::LinkOutSuggestion) — The link out suggestion chip for Actions on Google.
#list_select
def list_select() -> ::Google::Cloud::Dialogflow::V2::Intent::Message::ListSelect Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::ListSelect) — The list card response for Actions on Google.
#list_select=
def list_select=(value) -> ::Google::Cloud::Dialogflow::V2::Intent::Message::ListSelect Parameter
- value (::Google::Cloud::Dialogflow::V2::Intent::Message::ListSelect) — The list card response for Actions on Google.
Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::ListSelect) — The list card response for Actions on Google.
#media_content
def media_content() -> ::Google::Cloud::Dialogflow::V2::Intent::Message::MediaContent Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::MediaContent) — The media content card for Actions on Google.
#media_content=
def media_content=(value) -> ::Google::Cloud::Dialogflow::V2::Intent::Message::MediaContent Parameter
- value (::Google::Cloud::Dialogflow::V2::Intent::Message::MediaContent) — The media content card for Actions on Google.
Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::MediaContent) — The media content card for Actions on Google.
#payload
def payload() -> ::Google::Protobuf::Struct Returns
- (::Google::Protobuf::Struct) — A custom platform-specific response.
#payload=
def payload=(value) -> ::Google::Protobuf::Struct Parameter
- value (::Google::Protobuf::Struct) — A custom platform-specific response.
Returns
- (::Google::Protobuf::Struct) — A custom platform-specific response.
#platform
def platform() -> ::Google::Cloud::Dialogflow::V2::Intent::Message::Platform Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::Platform) — Optional. The platform that this message is intended for.
#platform=
def platform=(value) -> ::Google::Cloud::Dialogflow::V2::Intent::Message::Platform Parameter
- value (::Google::Cloud::Dialogflow::V2::Intent::Message::Platform) — Optional. The platform that this message is intended for.
Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::Platform) — Optional. The platform that this message is intended for.
#quick_replies
def quick_replies() -> ::Google::Cloud::Dialogflow::V2::Intent::Message::QuickReplies Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::QuickReplies) — The quick replies response.
#quick_replies=
def quick_replies=(value) -> ::Google::Cloud::Dialogflow::V2::Intent::Message::QuickReplies Parameter
- value (::Google::Cloud::Dialogflow::V2::Intent::Message::QuickReplies) — The quick replies response.
Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::QuickReplies) — The quick replies response.
#simple_responses
def simple_responses() -> ::Google::Cloud::Dialogflow::V2::Intent::Message::SimpleResponses Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::SimpleResponses) — The voice and text-only responses for Actions on Google.
#simple_responses=
def simple_responses=(value) -> ::Google::Cloud::Dialogflow::V2::Intent::Message::SimpleResponses Parameter
- value (::Google::Cloud::Dialogflow::V2::Intent::Message::SimpleResponses) — The voice and text-only responses for Actions on Google.
Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::SimpleResponses) — The voice and text-only responses for Actions on Google.
#suggestions
def suggestions() -> ::Google::Cloud::Dialogflow::V2::Intent::Message::Suggestions Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::Suggestions) — The suggestion chips for Actions on Google.
#suggestions=
def suggestions=(value) -> ::Google::Cloud::Dialogflow::V2::Intent::Message::Suggestions Parameter
- value (::Google::Cloud::Dialogflow::V2::Intent::Message::Suggestions) — The suggestion chips for Actions on Google.
Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::Suggestions) — The suggestion chips for Actions on Google.
#table_card
def table_card() -> ::Google::Cloud::Dialogflow::V2::Intent::Message::TableCard Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::TableCard) — Table card for Actions on Google.
#table_card=
def table_card=(value) -> ::Google::Cloud::Dialogflow::V2::Intent::Message::TableCard Parameter
- value (::Google::Cloud::Dialogflow::V2::Intent::Message::TableCard) — Table card for Actions on Google.
Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::TableCard) — Table card for Actions on Google.
#text
def text() -> ::Google::Cloud::Dialogflow::V2::Intent::Message::Text Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::Text) — The text response.
#text=
def text=(value) -> ::Google::Cloud::Dialogflow::V2::Intent::Message::Text Parameter
- value (::Google::Cloud::Dialogflow::V2::Intent::Message::Text) — The text response.
Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::Text) — The text response.