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.



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

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)


1164
1165
1166
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1164

def agent_id
  @agent_id
end

#display_nameString

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

Returns:

  • (String)


1169
1170
1171
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1169

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)


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

def disposition_code
  @disposition_code
end

#teamString

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

Returns:

  • (String)


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

def team
  @team
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1187
1188
1189
1190
1191
1192
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1187

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