Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConversation
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConversation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
External conversation proto definition.
Instance Attribute Summary collapse
-
#end_time ⇒ String
Output only.
-
#messages ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConversationMessage>
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) ⇒ GoogleCloudDiscoveryengineV1alphaConversation
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaConversation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaConversation
Returns a new instance of GoogleCloudDiscoveryengineV1alphaConversation.
2010 2011 2012 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2010 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
1981 1982 1983 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1981 def end_time @end_time end |
#messages ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConversationMessage>
Conversation messages.
Corresponds to the JSON property messages
1986 1987 1988 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1986 def @messages end |
#name ⇒ String
Immutable. Fully qualified name project/*/locations/global/collections/
collection/dataStore/*/conversations/* or project/*/locations/global/
collections/collection/engines/*/conversations/*.
Corresponds to the JSON property name
1993 1994 1995 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1993 def name @name end |
#start_time ⇒ String
Output only. The time the conversation started.
Corresponds to the JSON property startTime
1998 1999 2000 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1998 def start_time @start_time end |
#state ⇒ String
The state of the Conversation.
Corresponds to the JSON property state
2003 2004 2005 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2003 def state @state end |
#user_pseudo_id ⇒ String
A unique identifier for tracking users.
Corresponds to the JSON property userPseudoId
2008 2009 2010 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2008 def user_pseudo_id @user_pseudo_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2015 2016 2017 2018 2019 2020 2021 2022 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 2015 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 |