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.



4891
4892
4893
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4891

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)


4873
4874
4875
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4873

def agent_id
  @agent_id
end

#display_nameString

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

Returns:

  • (String)


4878
4879
4880
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4878

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)


4884
4885
4886
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4884

def disposition_code
  @disposition_code
end

#teamString

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

Returns:

  • (String)


4889
4890
4891
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4889

def team
  @team
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4896
4897
4898
4899
4900
4901
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4896

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