Class: Google::Cloud::ContactCenterInsights::V1::RuntimeAnnotation::UserInput

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/contactcenterinsights/v1/resources.rb

Overview

Explicit input used for generating the answer

Defined Under Namespace

Modules: QuerySource

Instance Attribute Summary collapse

Instance Attribute Details

#generator_name::String

Returns The resource name of associated generator. Format: projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>.

Returns:

  • (::String)

    The resource name of associated generator. Format: projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>



1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1351

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

  # The source of the query.
  module QuerySource
    # Unknown query source.
    QUERY_SOURCE_UNSPECIFIED = 0

    # The query is from agents.
    AGENT_QUERY = 1

    # The query is a query from previous suggestions, e.g. from a preceding
    # SuggestKnowledgeAssist response.
    SUGGESTED_QUERY = 2
  end
end

#query::String

Returns Query text. Article Search uses this to store the input query used to generate the search results.

Returns:

  • (::String)

    Query text. Article Search uses this to store the input query used to generate the search results.



1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1351

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

  # The source of the query.
  module QuerySource
    # Unknown query source.
    QUERY_SOURCE_UNSPECIFIED = 0

    # The query is from agents.
    AGENT_QUERY = 1

    # The query is a query from previous suggestions, e.g. from a preceding
    # SuggestKnowledgeAssist response.
    SUGGESTED_QUERY = 2
  end
end

#query_source::Google::Cloud::ContactCenterInsights::V1::RuntimeAnnotation::UserInput::QuerySource

Returns Query source for the answer.



1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1351

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

  # The source of the query.
  module QuerySource
    # Unknown query source.
    QUERY_SOURCE_UNSPECIFIED = 0

    # The query is from agents.
    AGENT_QUERY = 1

    # The query is a query from previous suggestions, e.g. from a preceding
    # SuggestKnowledgeAssist response.
    SUGGESTED_QUERY = 2
  end
end