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.



33297
33298
33299
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33297

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)


33295
33296
33297
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33295

def session
  @session
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



33302
33303
33304
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33302

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