Gemini Enterprise for Customer Experience V1BETA API - Class Google::Cloud::Ces::V1beta::AssistantSession (v1.2.0)

Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::AssistantSession.

An assistant session represents a conversation between a user and the assistant agent.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#active_turn

def active_turn() -> ::Google::Cloud::Ces::V1beta::ActiveTurnInfo
Returns

#artifacts

def artifacts() -> ::Array<::Google::Cloud::Ces::V1beta::AssistantSessionArtifact>
Returns

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#display_name

def display_name() -> ::String
Returns
  • (::String) — Optional. The display name of the assistant session.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Optional. The display name of the assistant session.
Returns
  • (::String) — Optional. The display name of the assistant session.

#messages

def messages() -> ::Array<::Google::Cloud::Ces::V1beta::AssistantMessage>
Returns

#messages=

def messages=(value) -> ::Array<::Google::Cloud::Ces::V1beta::AssistantMessage>
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — Required. Identifier. The unique identifier of the session. Format: projects/{project}/locations/{location}/apps/{app}/assistantSessions/{session}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. Identifier. The unique identifier of the session. Format: projects/{project}/locations/{location}/apps/{app}/assistantSessions/{session}
Returns
  • (::String) — Required. Identifier. The unique identifier of the session. Format: projects/{project}/locations/{location}/apps/{app}/assistantSessions/{session}

#requestor

def requestor() -> ::String
Returns
  • (::String) — Output only. The user who initiated the session.

#session_checkpoint

def session_checkpoint() -> ::Google::Cloud::Ces::V1beta::SessionCheckpoint
Returns

#state

def state() -> ::Google::Cloud::Ces::V1beta::AssistantSessionState
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns

#user_response_suggestions

def user_response_suggestions() -> ::Google::Cloud::Ces::V1beta::UserResponseSuggestions
Returns