Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb

Overview

Information about the session.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo

Returns a new instance of GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo.



34120
34121
34122
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 34120

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#sessionString

Name of the newly generated or continued session. Format: projects/project/ locations/location/collections/collection/engines/engine/sessions/ session`. Corresponds to the JSON propertysession`

Returns:

  • (String)


34118
34119
34120
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 34118

def session
  @session
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



34125
34126
34127
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 34125

def update!(**args)
  @session = args[:session] if args.key?(:session)
end