Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AssistantMessage
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AssistantMessage
- 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
A message in an assistant session.
Instance Attribute Summary collapse
-
#chunks ⇒ Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AssistantChunk>
Required.
-
#event_time ⇒ String
Required.
-
#role ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1AssistantMessage
constructor
A new instance of GoogleCloudContactcenterinsightsV1AssistantMessage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1AssistantMessage
Returns a new instance of GoogleCloudContactcenterinsightsV1AssistantMessage.
1067 1068 1069 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1067 def initialize(**args) update!(**args) end |
Instance Attribute Details
#chunks ⇒ Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AssistantChunk>
Required. Content of the message.
Corresponds to the JSON property chunks
1055 1056 1057 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1055 def chunks @chunks end |
#event_time ⇒ String
Required. Timestamp when the message was sent or received.
Corresponds to the JSON property eventTime
1060 1061 1062 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1060 def event_time @event_time end |
#role ⇒ String
Required. Role within the conversation.
Corresponds to the JSON property role
1065 1066 1067 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1065 def role @role end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1072 1073 1074 1075 1076 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1072 def update!(**args) @chunks = args[:chunks] if args.key?(:chunks) @event_time = args[:event_time] if args.key?(:event_time) @role = args[:role] if args.key?(:role) end |