Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AssistantSession
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AssistantSession
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/contactcenterinsights_v1/classes.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb
Overview
Represents a conversation session with the Assistant Agent.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#display_name ⇒ String
Optional.
-
#messages ⇒ Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AssistantMessage>
Optional.
-
#name ⇒ String
Identifier.
-
#requester ⇒ String
Output only.
-
#state ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1AssistantSession
constructor
A new instance of GoogleCloudContactcenterinsightsV1AssistantSession.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1AssistantSession
Returns a new instance of GoogleCloudContactcenterinsightsV1AssistantSession.
1119 1120 1121 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1119 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The time the session was created.
Corresponds to the JSON property createTime
1086 1087 1088 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1086 def create_time @create_time end |
#display_name ⇒ String
Optional. The display name of the session.
Corresponds to the JSON property displayName
1091 1092 1093 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1091 def display_name @display_name end |
#messages ⇒ Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AssistantMessage>
Optional. History of messages in the session.
Corresponds to the JSON property messages
1096 1097 1098 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1096 def @messages end |
#name ⇒ String
Identifier. Resource name of the session. Format: projects/project/locations/
location/assistantSessions/assistant_session
Corresponds to the JSON property name
1102 1103 1104 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1102 def name @name end |
#requester ⇒ String
Output only. The user who initiated the session.
Corresponds to the JSON property requester
1107 1108 1109 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1107 def requester @requester end |
#state ⇒ String
Output only. The status of the session.
Corresponds to the JSON property state
1112 1113 1114 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1112 def state @state end |
#update_time ⇒ String
Output only. The time the session was last updated.
Corresponds to the JSON property updateTime
1117 1118 1119 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1117 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1124 1125 1126 1127 1128 1129 1130 1131 1132 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1124 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @display_name = args[:display_name] if args.key?(:display_name) @messages = args[:messages] if args.key?(:messages) @name = args[:name] if args.key?(:name) @requester = args[:requester] if args.key?(:requester) @state = args[:state] if args.key?(:state) @update_time = args[:update_time] if args.key?(:update_time) end |