Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::Feedback::ConversationInfo (v2.14.0)

Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::Feedback::ConversationInfo.

The conversation information such as the question index and session name.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#answer_query_token

def answer_query_token() -> ::String
Returns
  • (::String) — Optional. The token which could be used to fetch the answer log.

#answer_query_token=

def answer_query_token=(value) -> ::String
Parameter
  • value (::String) — Optional. The token which could be used to fetch the answer log.
Returns
  • (::String) — Optional. The token which could be used to fetch the answer log.

#assist_token

def assist_token() -> ::String
Returns
  • (::String) — Optional. The token which could be used to fetch the assistant log.

#assist_token=

def assist_token=(value) -> ::String
Parameter
  • value (::String) — Optional. The token which could be used to fetch the assistant log.
Returns
  • (::String) — Optional. The token which could be used to fetch the assistant log.

#query

def query() -> ::Google::Cloud::DiscoveryEngine::V1::Query
Returns

#query=

def query=(value) -> ::Google::Cloud::DiscoveryEngine::V1::Query
Parameter
Returns

#question_index

def question_index() -> ::Integer
Returns
  • (::Integer) — The index of the user input within the conversation messages.

#question_index=

def question_index=(value) -> ::Integer
Parameter
  • value (::Integer) — The index of the user input within the conversation messages.
Returns
  • (::Integer) — The index of the user input within the conversation messages.

#session

def session() -> ::String
Returns
  • (::String) — Name of the newly generated or continued session.

#session=

def session=(value) -> ::String
Parameter
  • value (::String) — Name of the newly generated or continued session.
Returns
  • (::String) — Name of the newly generated or continued session.

#step_seq_num

def step_seq_num() -> ::Integer
Returns
  • (::Integer) — Optional. The TaskServerEvent.seq_num of the step that opened the rated agent task reply.

#step_seq_num=

def step_seq_num=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. The TaskServerEvent.seq_num of the step that opened the rated agent task reply.
Returns
  • (::Integer) — Optional. The TaskServerEvent.seq_num of the step that opened the rated agent task reply.

#task_name

def task_name() -> ::String
Returns
  • (::String) — Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task}

#task_name=

def task_name=(value) -> ::String
Parameter
  • value (::String) — Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task}
Returns
  • (::String) — Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task}

#trajectory_id

def trajectory_id() -> ::String
Returns
  • (::String) — Optional. The runtime trajectory id of the rated agent task turn, as set on TaskServerEvent.trajectory_id. Shared by all steps of the turn.

#trajectory_id=

def trajectory_id=(value) -> ::String
Parameter
  • value (::String) — Optional. The runtime trajectory id of the rated agent task turn, as set on TaskServerEvent.trajectory_id. Shared by all steps of the turn.
Returns
  • (::String) — Optional. The runtime trajectory id of the rated agent task turn, as set on TaskServerEvent.trajectory_id. Shared by all steps of the turn.