class Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationParticipant

The call participant speaking for a given utterance.

Attributes

dialogflow_participant[RW]

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` @return [String]

dialogflow_participant_name[RW]

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

role[RW]

The role of the participant. Corresponds to the JSON property `role` @return [String]

user_id[RW]

A user-specified ID representing the participant. Corresponds to the JSON property `userId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/contactcenterinsights_v1/classes.rb, line 692
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/contactcenterinsights_v1/classes.rb, line 697
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)
  @role = args[:role] if args.key?(:role)
  @user_id = args[:user_id] if args.key?(:user_id)
end