Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1ConversationParticipant

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) ⇒ GoogleCloudContactcenterinsightsV1alpha1ConversationParticipant

Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1ConversationParticipant.



4002
4003
4004
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4002

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)


3979
3980
3981
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3979

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)


3985
3986
3987
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3985

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)


3990
3991
3992
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3990

def obfuscated_external_user_id
  @obfuscated_external_user_id
end

#roleString

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

Returns:

  • (String)


3995
3996
3997
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3995

def role
  @role
end

#user_idString

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

Returns:

  • (String)


4000
4001
4002
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4000

def user_id
  @user_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4007
4008
4009
4010
4011
4012
4013
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4007

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