The basic card message. Useful for displaying information.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#buttons
def buttons() -> ::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::BasicCard::Button>
Returns
- (::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::BasicCard::Button>) — Optional. The collection of card buttons.
#buttons=
def buttons=(value) -> ::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::BasicCard::Button>
Parameter
- value (::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::BasicCard::Button>) — Optional. The collection of card buttons.
Returns
- (::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::BasicCard::Button>) — Optional. The collection of card buttons.
#formatted_text
def formatted_text() -> ::String
Returns
- (::String) — Required, unless image is present. The body text of the card.
#formatted_text=
def formatted_text=(value) -> ::String
Parameter
- value (::String) — Required, unless image is present. The body text of the card.
Returns
- (::String) — Required, unless image is present. The body text of the card.
#image
def image() -> ::Google::Cloud::Dialogflow::V2::Intent::Message::Image
Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::Image) — Optional. The image for the card.
#image=
def image=(value) -> ::Google::Cloud::Dialogflow::V2::Intent::Message::Image
Parameter
- value (::Google::Cloud::Dialogflow::V2::Intent::Message::Image) — Optional. The image for the card.
Returns
- (::Google::Cloud::Dialogflow::V2::Intent::Message::Image) — Optional. The image for the card.
#subtitle
def subtitle() -> ::String
Returns
- (::String) — Optional. The subtitle of the card.
#subtitle=
def subtitle=(value) -> ::String
Parameter
- value (::String) — Optional. The subtitle of the card.
Returns
- (::String) — Optional. The subtitle of the card.
#title
def title() -> ::String
Returns
- (::String) — Optional. The title of the card.
#title=
def title=(value) -> ::String
Parameter
- value (::String) — Optional. The title of the card.
Returns
- (::String) — Optional. The title of the card.