Gemini Enterprise for Customer Experience V1BETA API - Class Google::Cloud::Ces::V1beta::OptionQuestionsChunk::Option (v1.2.0)

Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::OptionQuestionsChunk::Option.

A single selectable option.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#details

def details() -> ::String
Returns
  • (::String) — Optional trade-off details shown as secondary text.

#details=

def details=(value) -> ::String
Parameter
  • value (::String) — Optional trade-off details shown as secondary text.
Returns
  • (::String) — Optional trade-off details shown as secondary text.

#submit_text

def submit_text() -> ::String
Returns
  • (::String) — Optional message text to send when the option is chosen; defaults to title when empty.

#submit_text=

def submit_text=(value) -> ::String
Parameter
  • value (::String) — Optional message text to send when the option is chosen; defaults to title when empty.
Returns
  • (::String) — Optional message text to send when the option is chosen; defaults to title when empty.

#title

def title() -> ::String
Returns
  • (::String) — Short plain-text option title (no markdown, no numbering).

#title=

def title=(value) -> ::String
Parameter
  • value (::String) — Short plain-text option title (no markdown, no numbering).
Returns
  • (::String) — Short plain-text option title (no markdown, no numbering).