Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::Intent::Message::BasicCard::Button.
The button object that appears at the bottom of a card.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#open_uri_action
def open_uri_action() -> ::Google::Cloud::Dialogflow::V2::Intent::Message::BasicCard::Button::OpenUriAction
Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::BasicCard::Button::OpenUriAction) — Required. Action to take when a user taps on the button.
#open_uri_action=
def open_uri_action=(value) -> ::Google::Cloud::Dialogflow::V2::Intent::Message::BasicCard::Button::OpenUriAction
Parameter
- value (::Google::Cloud::Dialogflow::V2::Intent::Message::BasicCard::Button::OpenUriAction) — Required. Action to take when a user taps on the button.
Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::BasicCard::Button::OpenUriAction) — Required. Action to take when a user taps on the button.
#title
def title() -> ::String
Returns
- (::String) — Required. The title of the button.
#title=
def title=(value) -> ::String
Parameter
- value (::String) — Required. The title of the button.
Returns
- (::String) — Required. The title of the button.