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.



4776
4777
4778
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4776

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)


4758
4759
4760
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4758

def agent_id
  @agent_id
end

#display_nameString

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

Returns:

  • (String)


4763
4764
4765
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4763

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)


4769
4770
4771
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4769

def disposition_code
  @disposition_code
end

#teamString

A user-specified string representing the agent's team. Corresponds to the JSON property team

Returns:

  • (String)


4774
4775
4776
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4774

def team
  @team
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4781
4782
4783
4784
4785
4786
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4781

def update!(**args)
  @agent_id = args[:agent_id] if args.key?(:agent_id)
  @display_name = args[:display_name] if args.key?(:display_name)
  @disposition_code = args[:disposition_code] if args.key?(:disposition_code)
  @team = args[:team] if args.key?(:team)
end