Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo

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

Information about an agent involved in the conversation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo

Returns a new instance of GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo.



1174
1175
1176
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1174

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

Instance Attribute Details

#agent_idString

A user-specified string representing the agent. Corresponds to the JSON property agentId

Returns:

  • (String)


1156
1157
1158
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1156

def agent_id
  @agent_id
end

#display_nameString

The agent's name. Corresponds to the JSON property displayName

Returns:

  • (String)


1161
1162
1163
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1161

def display_name
  @display_name
end

#disposition_codeString

A user-provided string indicating the outcome of the agent's segment of the call. Corresponds to the JSON property dispositionCode

Returns:

  • (String)


1167
1168
1169
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1167

def disposition_code
  @disposition_code
end

#teamString

A user-specified string representing the agent's team. Corresponds to the JSON property team

Returns:

  • (String)


1172
1173
1174
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1172

def team
  @team
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1179
1180
1181
1182
1183
1184
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1179

def update!(**args)
  @agent_id = args[:agent_id] if args.key?(:agent_id)
  @display_name = args[:display_name] if args.key?(:display_name)
  @disposition_code = args[:disposition_code] if args.key?(:disposition_code)
  @team = args[:team] if args.key?(:team)
end