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.



34139
34140
34141
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 34139

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)


34137
34138
34139
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 34137

def session
  @session
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



34144
34145
34146
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 34144

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