Discovery Engine V1BETA API - Class Google::Cloud::DiscoveryEngine::V1beta::StreamAssistResponse (v0.28.0)

Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::StreamAssistResponse.

Response for the AssistantService.StreamAssist method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#answer

def answer() -> ::Google::Cloud::DiscoveryEngine::V1beta::AssistAnswer
Returns

#answer=

def answer=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::AssistAnswer
Parameter
Returns

#assist_token

def assist_token() -> ::String
Returns
  • (::String) — A global unique ID that identifies the current pair of request and stream of responses. Used for feedback and support.

#assist_token=

def assist_token=(value) -> ::String
Parameter
  • value (::String) — A global unique ID that identifies the current pair of request and stream of responses. Used for feedback and support.
Returns
  • (::String) — A global unique ID that identifies the current pair of request and stream of responses. Used for feedback and support.

#invocation_tools

def invocation_tools() -> ::Array<::String>
Returns
  • (::Array<::String>) — The tool names of the tools that were invoked.

#invocation_tools=

def invocation_tools=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — The tool names of the tools that were invoked.
Returns
  • (::Array<::String>) — The tool names of the tools that were invoked.

#invoked_skills

def invoked_skills() -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::StreamAssistResponse::InvokedSkill>
Returns

#invoked_skills=

def invoked_skills=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::StreamAssistResponse::InvokedSkill>
Parameter
Returns

#session_info

def session_info() -> ::Google::Cloud::DiscoveryEngine::V1beta::StreamAssistResponse::SessionInfo
Returns

#session_info=

def session_info=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::StreamAssistResponse::SessionInfo
Parameter
Returns