Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Conversation
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Conversation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/representations.rb
Overview
External conversation proto definition.
Instance Attribute Summary collapse
-
#end_time ⇒ String
Output only.
-
#messages ⇒ Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ConversationMessage>
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) ⇒ GoogleCloudDiscoveryengineV1Conversation
constructor
A new instance of GoogleCloudDiscoveryengineV1Conversation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1Conversation
Returns a new instance of GoogleCloudDiscoveryengineV1Conversation.
3401 3402 3403 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 3401 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
3372 3373 3374 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 3372 def end_time @end_time end |
#messages ⇒ Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ConversationMessage>
Conversation messages.
Corresponds to the JSON property messages
3377 3378 3379 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 3377 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
3384 3385 3386 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 3384 def name @name end |
#start_time ⇒ String
Output only. The time the conversation started.
Corresponds to the JSON property startTime
3389 3390 3391 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 3389 def start_time @start_time end |
#state ⇒ String
The state of the Conversation.
Corresponds to the JSON property state
3394 3395 3396 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 3394 def state @state end |
#user_pseudo_id ⇒ String
A unique identifier for tracking users.
Corresponds to the JSON property userPseudoId
3399 3400 3401 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 3399 def user_pseudo_id @user_pseudo_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3406 3407 3408 3409 3410 3411 3412 3413 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 3406 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 |