Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo

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) ⇒ 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_idString

A user-specified string representing the agent. Corresponds to the JSON property agentId

Returns:

  • (String)


6772
6773
6774
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6772

def agent_id
  @agent_id
end

#agent_typeString

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

Returns:

  • (String)


6777
6778
6779
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6777

def agent_type
  @agent_type
end

#display_nameString

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

Returns:

  • (String)


6782
6783
6784
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6782

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)


6788
6789
6790
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6788

def disposition_code
  @disposition_code
end

#locationString

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

Returns:

  • (String)


6793
6794
6795
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6793

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)


6799
6800
6801
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6799

def team
  @team
end

#teamsArray<String>

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

Returns:

  • (Array<String>)


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