Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaConversation
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaConversation
- 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
External conversation proto definition.
Instance Attribute Summary collapse
-
#end_time ⇒ String
Output only.
-
#messages ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaConversationMessage>
Conversation messages.
-
#name ⇒ String
Immutable.
-
#start_time ⇒ String
Output only.
-
#state ⇒ String
The state of the Conversation.
-
#user_pseudo_id ⇒ String
A unique identifier for tracking users.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaConversation
constructor
A new instance of GoogleCloudDiscoveryengineV1betaConversation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaConversation
Returns a new instance of GoogleCloudDiscoveryengineV1betaConversation.
13853 13854 13855 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 13853 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_time ⇒ String
Output only. The time the conversation finished.
Corresponds to the JSON property endTime
13824 13825 13826 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 13824 def end_time @end_time end |
#messages ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaConversationMessage>
Conversation messages.
Corresponds to the JSON property messages
13829 13830 13831 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 13829 def @messages end |
#name ⇒ String
Immutable. Fully qualified name projects/project/locations/global/
collections/collection/dataStore/*/conversations/* or projects/project/
locations/global/collections/collection/engines/*/conversations/*.
Corresponds to the JSON property name
13836 13837 13838 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 13836 def name @name end |
#start_time ⇒ String
Output only. The time the conversation started.
Corresponds to the JSON property startTime
13841 13842 13843 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 13841 def start_time @start_time end |
#state ⇒ String
The state of the Conversation.
Corresponds to the JSON property state
13846 13847 13848 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 13846 def state @state end |
#user_pseudo_id ⇒ String
A unique identifier for tracking users.
Corresponds to the JSON property userPseudoId
13851 13852 13853 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 13851 def user_pseudo_id @user_pseudo_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13858 13859 13860 13861 13862 13863 13864 13865 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 13858 def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) @messages = args[:messages] if args.key?(:messages) @name = args[:name] if args.key?(:name) @start_time = args[:start_time] if args.key?(:start_time) @state = args[:state] if args.key?(:state) @user_pseudo_id = args[:user_pseudo_id] if args.key?(:user_pseudo_id) end |