Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo
- 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
-
#agent_id ⇒ String
A user-specified string representing the agent.
-
#agent_type ⇒ String
The agent type, e.g.
-
#display_name ⇒ String
The agent's name.
-
#disposition_code ⇒ String
A user-provided string indicating the outcome of the agent's segment of the call.
-
#location ⇒ String
The agent's location.
-
#team ⇒ String
A user-specified string representing the agent's team.
-
#teams ⇒ Array<String>
User-specified strings representing the agent's teams.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo
constructor
A new instance of GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo
Returns a new instance of GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo.
1595 1596 1597 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1595 def initialize(**args) update!(**args) end |
Instance Attribute Details
#agent_id ⇒ String
A user-specified string representing the agent.
Corresponds to the JSON property agentId
1561 1562 1563 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1561 def agent_id @agent_id end |
#agent_type ⇒ String
The agent type, e.g. HUMAN_AGENT.
Corresponds to the JSON property agentType
1566 1567 1568 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1566 def agent_type @agent_type end |
#display_name ⇒ String
The agent's name.
Corresponds to the JSON property displayName
1571 1572 1573 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1571 def display_name @display_name end |
#disposition_code ⇒ String
A user-provided string indicating the outcome of the agent's segment of the
call.
Corresponds to the JSON property dispositionCode
1577 1578 1579 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1577 def disposition_code @disposition_code end |
#location ⇒ String
The agent's location.
Corresponds to the JSON property location
1582 1583 1584 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1582 def location @location end |
#team ⇒ String
A user-specified string representing the agent's team. Deprecated in favor of
the teams
field.
Corresponds to the JSON property team
1588 1589 1590 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1588 def team @team end |
#teams ⇒ Array<String>
User-specified strings representing the agent's teams.
Corresponds to the JSON property teams
1593 1594 1595 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1593 def teams @teams end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1600 1601 1602 1603 1604 1605 1606 1607 1608 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1600 def update!(**args) @agent_id = args[:agent_id] if args.key?(:agent_id) @agent_type = args[:agent_type] if args.key?(:agent_type) @display_name = args[:display_name] if args.key?(:display_name) @disposition_code = args[:disposition_code] if args.key?(:disposition_code) @location = args[:location] if args.key?(:location) @team = args[:team] if args.key?(:team) @teams = args[:teams] if args.key?(:teams) end |