Class: Google::Cloud::Dialogflow::V2::Intent::Message::Card

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb

Overview

The card response message.

Defined Under Namespace

Classes: Button

Instance Attribute Summary collapse

Instance Attribute Details

#buttonsArray<Google::Cloud::Dialogflow::V2::Intent::Message::Card::Button>

Returns Optional. The collection of card buttons.

Returns:



274
275
276
277
278
279
280
281
282
283
284
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 274

class Card
  # Optional. Contains information about a button.
  # @!attribute [rw] text
  #   @return [String]
  #     Optional. The text to show on the button.
  # @!attribute [rw] postback
  #   @return [String]
  #     Optional. The text to send back to the Dialogflow API or a URI to
  #     open.
  class Button; end
end

#image_uriString

Returns Optional. The public URI to an image file for the card.

Returns:

  • (String)

    Optional. The public URI to an image file for the card.



274
275
276
277
278
279
280
281
282
283
284
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 274

class Card
  # Optional. Contains information about a button.
  # @!attribute [rw] text
  #   @return [String]
  #     Optional. The text to show on the button.
  # @!attribute [rw] postback
  #   @return [String]
  #     Optional. The text to send back to the Dialogflow API or a URI to
  #     open.
  class Button; end
end

#subtitleString

Returns Optional. The subtitle of the card.

Returns:

  • (String)

    Optional. The subtitle of the card.



274
275
276
277
278
279
280
281
282
283
284
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 274

class Card
  # Optional. Contains information about a button.
  # @!attribute [rw] text
  #   @return [String]
  #     Optional. The text to show on the button.
  # @!attribute [rw] postback
  #   @return [String]
  #     Optional. The text to send back to the Dialogflow API or a URI to
  #     open.
  class Button; end
end

#titleString

Returns Optional. The title of the card.

Returns:

  • (String)

    Optional. The title of the card.



274
275
276
277
278
279
280
281
282
283
284
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 274

class Card
  # Optional. Contains information about a button.
  # @!attribute [rw] text
  #   @return [String]
  #     Optional. The text to show on the button.
  # @!attribute [rw] postback
  #   @return [String]
  #     Optional. The text to send back to the Dialogflow API or a URI to
  #     open.
  class Button; end
end