Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationParticipant

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1ConversationParticipant

Returns a new instance of GoogleCloudContactcenterinsightsV1ConversationParticipant.



1098
1099
1100
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1098

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dialogflow_participantString

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

Returns:

  • (String)


1075
1076
1077
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1075

def dialogflow_participant
  @dialogflow_participant
end

#dialogflow_participant_nameString

The name of the participant provided by Dialogflow. Format: projects/project/ locations/location/conversations/conversation/participants/participant Corresponds to the JSON property dialogflowParticipantName

Returns:

  • (String)


1081
1082
1083
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1081

def dialogflow_participant_name
  @dialogflow_participant_name
end

#obfuscated_external_user_idString

Obfuscated user ID from Dialogflow. Corresponds to the JSON property obfuscatedExternalUserId

Returns:

  • (String)


1086
1087
1088
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1086

def obfuscated_external_user_id
  @obfuscated_external_user_id
end

#roleString

The role of the participant. Corresponds to the JSON property role

Returns:

  • (String)


1091
1092
1093
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1091

def role
  @role
end

#user_idString

A user-specified ID representing the participant. Corresponds to the JSON property userId

Returns:

  • (String)


1096
1097
1098
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1096

def user_id
  @user_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1103
1104
1105
1106
1107
1108
1109
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1103

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