Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo
- 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) ⇒ GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo
constructor
A new instance of GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo
Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo.
6806 6807 6808 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6806 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
6772 6773 6774 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6772 def agent_id @agent_id end |
#agent_type ⇒ String
The agent type, e.g. HUMAN_AGENT.
Corresponds to the JSON property agentType
6777 6778 6779 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6777 def agent_type @agent_type end |
#display_name ⇒ String
The agent's name.
Corresponds to the JSON property displayName
6782 6783 6784 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6782 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
6788 6789 6790 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6788 def disposition_code @disposition_code end |
#location ⇒ String
The agent's location.
Corresponds to the JSON property location
6793 6794 6795 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6793 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
6799 6800 6801 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6799 def team @team end |
#teams ⇒ Array<String>
User-specified strings representing the agent's teams.
Corresponds to the JSON property teams
6804 6805 6806 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6804 def teams @teams end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6811 6812 6813 6814 6815 6816 6817 6818 6819 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6811 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 |