Reference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class AgentInfo.
Information about an agent involved in the conversation.
Generated from protobuf message google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata.AgentInfo
Namespace
Google \ Cloud \ ContactCenterInsights \ V1 \ Conversation \ QualityMetadataMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ agent_id |
string
A user-specified string representing the agent. |
↳ display_name |
string
The agent's name. |
↳ team |
string
A user-specified string representing the agent's team. Deprecated in favor of the |
↳ teams |
string[]
User-specified strings representing the agent's teams. |
↳ disposition_code |
string
A user-provided string indicating the outcome of the agent's segment of the call. |
↳ agent_type |
int
The agent type, e.g. HUMAN_AGENT. |
↳ location |
string
The agent's location. |
↳ deployment_id |
string
The agent's deployment ID. Only applicable to automated agents. |
↳ deployment_display_name |
string
The agent's deployment display name. Only applicable to automated agents. |
↳ version_id |
string
The agent's version ID. Only applicable to automated agents. |
↳ version_display_name |
string
The agent's version display name. Only applicable to automated agents. |
↳ entry_subagent_display_name |
string
The entry subagent's display name. |
↳ entry_subagent_id |
string
The entry subagent's ID. |
getAgentId
A user-specified string representing the agent.
| Returns | |
|---|---|
| Type | Description |
string |
|
setAgentId
A user-specified string representing the agent.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDisplayName
The agent's name.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDisplayName
The agent's name.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTeam
A user-specified string representing the agent's team. Deprecated in
favor of the teams field.
| Returns | |
|---|---|
| Type | Description |
string |
|
setTeam
A user-specified string representing the agent's team. Deprecated in
favor of the teams field.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTeams
User-specified strings representing the agent's teams.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<string> |
|
setTeams
User-specified strings representing the agent's teams.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDispositionCode
A user-provided string indicating the outcome of the agent's segment of the call.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDispositionCode
A user-provided string indicating the outcome of the agent's segment of the call.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAgentType
The agent type, e.g. HUMAN_AGENT.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Role. |
setAgentType
The agent type, e.g. HUMAN_AGENT.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Role. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLocation
The agent's location.
| Returns | |
|---|---|
| Type | Description |
string |
|
setLocation
The agent's location.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDeploymentId
The agent's deployment ID. Only applicable to automated agents.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDeploymentId
The agent's deployment ID. Only applicable to automated agents.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDeploymentDisplayName
The agent's deployment display name. Only applicable to automated agents.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDeploymentDisplayName
The agent's deployment display name. Only applicable to automated agents.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getVersionId
The agent's version ID. Only applicable to automated agents.
| Returns | |
|---|---|
| Type | Description |
string |
|
setVersionId
The agent's version ID. Only applicable to automated agents.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getVersionDisplayName
The agent's version display name. Only applicable to automated agents.
| Returns | |
|---|---|
| Type | Description |
string |
|
setVersionDisplayName
The agent's version display name. Only applicable to automated agents.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEntrySubagentDisplayName
The entry subagent's display name.
| Returns | |
|---|---|
| Type | Description |
string |
|
setEntrySubagentDisplayName
The entry subagent's display name.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEntrySubagentId
The entry subagent's ID.
| Returns | |
|---|---|
| Type | Description |
string |
|
setEntrySubagentId
The entry subagent's ID.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|