Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationParticipant
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationParticipant
- 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
The call participant speaking for a given utterance.
Instance Attribute Summary collapse
-
#dialogflow_participant ⇒ String
Deprecated.
-
#dialogflow_participant_name ⇒ String
The name of the participant provided by Dialogflow.
-
#obfuscated_external_user_id ⇒ String
Obfuscated user ID from Dialogflow.
-
#role ⇒ String
The role of the participant.
-
#user_id ⇒ String
A user-specified ID representing the participant.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1ConversationParticipant
constructor
A new instance of GoogleCloudContactcenterinsightsV1ConversationParticipant.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1ConversationParticipant
Returns a new instance of GoogleCloudContactcenterinsightsV1ConversationParticipant.
2853 2854 2855 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2853 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dialogflow_participant ⇒ String
Deprecated. Use dialogflow_participant_name instead. The name of the
Dialogflow participant. Format: projects/project/locations/location/
conversations/conversation/participants/participant
Corresponds to the JSON property dialogflowParticipant
2830 2831 2832 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2830 def dialogflow_participant @dialogflow_participant end |
#dialogflow_participant_name ⇒ String
The name of the participant provided by Dialogflow. Format: projects/project/
locations/location/conversations/conversation/participants/participant
Corresponds to the JSON property dialogflowParticipantName
2836 2837 2838 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2836 def dialogflow_participant_name @dialogflow_participant_name end |
#obfuscated_external_user_id ⇒ String
Obfuscated user ID from Dialogflow.
Corresponds to the JSON property obfuscatedExternalUserId
2841 2842 2843 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2841 def @obfuscated_external_user_id end |
#role ⇒ String
The role of the participant.
Corresponds to the JSON property role
2846 2847 2848 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2846 def role @role end |
#user_id ⇒ String
A user-specified ID representing the participant.
Corresponds to the JSON property userId
2851 2852 2853 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2851 def user_id @user_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2858 2859 2860 2861 2862 2863 2864 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2858 def update!(**args) @dialogflow_participant = args[:dialogflow_participant] if args.key?(:dialogflow_participant) @dialogflow_participant_name = args[:dialogflow_participant_name] if args.key?(:dialogflow_participant_name) @obfuscated_external_user_id = args[:obfuscated_external_user_id] if args.key?(:obfuscated_external_user_id) @role = args[:role] if args.key?(:role) @user_id = args[:user_id] if args.key?(:user_id) end |