Class: Google::Cloud::Retail::V2::ConversationalSearchResponse::FollowupQuestion

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/retail/v2/conversational_search_service.rb

Overview

The conversational followup question generated for Intent refinement.

Defined Under Namespace

Classes: SuggestedAnswer

Instance Attribute Summary collapse

Instance Attribute Details

#followup_question::String

Returns The conversational followup question generated for Intent refinement.

Returns:

  • (::String)

    The conversational followup question generated for Intent refinement.



288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
# File 'proto_docs/google/cloud/retail/v2/conversational_search_service.rb', line 288

class FollowupQuestion
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Suggested answers to the follow-up question.
  # If it's numerical attribute, only ProductAttributeInterval will be set.
  # If it's textual attribute, only productAttributeValue will be set.
  # @!attribute [rw] product_attribute_value
  #   @return [::Google::Cloud::Retail::V2::ProductAttributeValue]
  #     Product attribute value, including an attribute key and an
  #     attribute value. Other types can be added here in the future.
  class SuggestedAnswer
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#suggested_answers::Array<::Google::Cloud::Retail::V2::ConversationalSearchResponse::FollowupQuestion::SuggestedAnswer>

Returns The answer options provided to client for the follow-up question.

Returns:



288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
# File 'proto_docs/google/cloud/retail/v2/conversational_search_service.rb', line 288

class FollowupQuestion
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Suggested answers to the follow-up question.
  # If it's numerical attribute, only ProductAttributeInterval will be set.
  # If it's textual attribute, only productAttributeValue will be set.
  # @!attribute [rw] product_attribute_value
  #   @return [::Google::Cloud::Retail::V2::ProductAttributeValue]
  #     Product attribute value, including an attribute key and an
  #     attribute value. Other types can be added here in the future.
  class SuggestedAnswer
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end