Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedAssistantSessionContext
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteSharedAssistantSessionContext
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Overview
Session context specific for Assistant suggestions.
Instance Attribute Summary collapse
-
#contextual_session_id ⇒ String
Unique identifier populated by the contextual request handler for each vertical (Ex: File Suggestions, Smart Scheduling, etc.) that can be used to track sessions end-to-end.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsDynamiteSharedAssistantSessionContext
constructor
A new instance of AppsDynamiteSharedAssistantSessionContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteSharedAssistantSessionContext
Returns a new instance of AppsDynamiteSharedAssistantSessionContext.
861 862 863 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 861 def initialize(**args) update!(**args) end |
Instance Attribute Details
#contextual_session_id ⇒ String
Unique identifier populated by the contextual request handler for each
vertical (Ex: File Suggestions, Smart Scheduling, etc.) that can be used to
track sessions end-to-end. May span multiple users (sender-specific).
Corresponds to the JSON property contextualSessionId
859 860 861 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 859 def contextual_session_id @contextual_session_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
866 867 868 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 866 def update!(**args) @contextual_session_id = args[:contextual_session_id] if args.key?(:contextual_session_id) end |