Class: Google::Cloud::GeminiDataAnalytics::V1beta::ClarificationQuestion

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/geminidataanalytics/v1beta/data_chat_service.rb

Overview

Represents a single question to the user to help clarify their query.

Defined Under Namespace

Modules: ClarificationQuestionType, SelectionMode

Instance Attribute Summary collapse

Instance Attribute Details

#clarification_question_type::Google::Cloud::GeminiDataAnalytics::V1beta::ClarificationQuestion::ClarificationQuestionType

Returns Optional. The type of clarification question.

Returns:



770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/data_chat_service.rb', line 770

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

  # The selection mode for the clarification question.
  module SelectionMode
    # Unspecified selection mode.
    SELECTION_MODE_UNSPECIFIED = 0

    # The user can select only one option.
    SINGLE_SELECT = 1

    # The user can select multiple options.
    MULTI_SELECT = 2
  end

  # The type of clarification question.
  # This enum may be extended with new values in the future.
  module ClarificationQuestionType
    # Unspecified clarification question type.
    CLARIFICATION_QUESTION_TYPE_UNSPECIFIED = 0

    # The clarification question is for filter values.
    FILTER_VALUES = 1

    # The clarification question is for data fields. This is a generic term
    # encompassing SQL columns, Looker fields (dimensions/measures), or
    # nested data structure properties.
    FIELDS = 2
  end
end

#options::Array<::String>

Returns Required. A list of distinct options for the user to choose from. The number of options is limited to a maximum of 5.

Returns:

  • (::Array<::String>)

    Required. A list of distinct options for the user to choose from. The number of options is limited to a maximum of 5.



770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/data_chat_service.rb', line 770

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

  # The selection mode for the clarification question.
  module SelectionMode
    # Unspecified selection mode.
    SELECTION_MODE_UNSPECIFIED = 0

    # The user can select only one option.
    SINGLE_SELECT = 1

    # The user can select multiple options.
    MULTI_SELECT = 2
  end

  # The type of clarification question.
  # This enum may be extended with new values in the future.
  module ClarificationQuestionType
    # Unspecified clarification question type.
    CLARIFICATION_QUESTION_TYPE_UNSPECIFIED = 0

    # The clarification question is for filter values.
    FILTER_VALUES = 1

    # The clarification question is for data fields. This is a generic term
    # encompassing SQL columns, Looker fields (dimensions/measures), or
    # nested data structure properties.
    FIELDS = 2
  end
end

#question::String

Returns Required. The natural language question to ask the user.

Returns:

  • (::String)

    Required. The natural language question to ask the user.



770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/data_chat_service.rb', line 770

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

  # The selection mode for the clarification question.
  module SelectionMode
    # Unspecified selection mode.
    SELECTION_MODE_UNSPECIFIED = 0

    # The user can select only one option.
    SINGLE_SELECT = 1

    # The user can select multiple options.
    MULTI_SELECT = 2
  end

  # The type of clarification question.
  # This enum may be extended with new values in the future.
  module ClarificationQuestionType
    # Unspecified clarification question type.
    CLARIFICATION_QUESTION_TYPE_UNSPECIFIED = 0

    # The clarification question is for filter values.
    FILTER_VALUES = 1

    # The clarification question is for data fields. This is a generic term
    # encompassing SQL columns, Looker fields (dimensions/measures), or
    # nested data structure properties.
    FIELDS = 2
  end
end

#selection_mode::Google::Cloud::GeminiDataAnalytics::V1beta::ClarificationQuestion::SelectionMode

Returns Required. The selection mode for this question.

Returns:



770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/data_chat_service.rb', line 770

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

  # The selection mode for the clarification question.
  module SelectionMode
    # Unspecified selection mode.
    SELECTION_MODE_UNSPECIFIED = 0

    # The user can select only one option.
    SINGLE_SELECT = 1

    # The user can select multiple options.
    MULTI_SELECT = 2
  end

  # The type of clarification question.
  # This enum may be extended with new values in the future.
  module ClarificationQuestionType
    # Unspecified clarification question type.
    CLARIFICATION_QUESTION_TYPE_UNSPECIFIED = 0

    # The clarification question is for filter values.
    FILTER_VALUES = 1

    # The clarification question is for data fields. This is a generic term
    # encompassing SQL columns, Looker fields (dimensions/measures), or
    # nested data structure properties.
    FIELDS = 2
  end
end