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.



1595
1596
1597
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1595

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)


1561
1562
1563
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1561

def agent_id
  @agent_id
end

#agent_typeString

The agent type, e.g. HUMAN_AGENT. Corresponds to the JSON property agentType

Returns:

  • (String)


1566
1567
1568
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1566

def agent_type
  @agent_type
end

#display_nameString

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

Returns:

  • (String)


1571
1572
1573
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1571

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)


1577
1578
1579
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1577

def disposition_code
  @disposition_code
end

#locationString

The agent's location. Corresponds to the JSON property location

Returns:

  • (String)


1582
1583
1584
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1582

def location
  @location
end

#teamString

A user-specified string representing the agent's team. Deprecated in favor of the teams field. Corresponds to the JSON property team

Returns:

  • (String)


1588
1589
1590
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1588

def team
  @team
end

#teamsArray<String>

User-specified strings representing the agent's teams. Corresponds to the JSON property teams

Returns:

  • (Array<String>)


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