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.



32958
32959
32960
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 32958

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)


32956
32957
32958
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 32956

def session
  @session
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



32963
32964
32965
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 32963

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