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.



8691
8692
8693
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 8691

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)


8637
8638
8639
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 8637

def agent_id
  @agent_id
end

#agent_typeString

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

Returns:

  • (String)


8642
8643
8644
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 8642

def agent_type
  @agent_type
end

#deployment_display_nameString

The agent's deployment display name. Only applicable to automated agents. Corresponds to the JSON property deploymentDisplayName

Returns:

  • (String)


8647
8648
8649
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 8647

def deployment_display_name
  @deployment_display_name
end

#deployment_idString

The agent's deployment ID. Only applicable to automated agents. Corresponds to the JSON property deploymentId

Returns:

  • (String)


8652
8653
8654
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 8652

def deployment_id
  @deployment_id
end

#display_nameString

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

Returns:

  • (String)


8657
8658
8659
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 8657

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)


8663
8664
8665
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 8663

def disposition_code
  @disposition_code
end

#locationString

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

Returns:

  • (String)


8668
8669
8670
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 8668

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)


8674
8675
8676
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 8674

def team
  @team
end

#teamsArray<String>

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

Returns:

  • (Array<String>)


8679
8680
8681
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 8679

def teams
  @teams
end

#version_display_nameString

The agent's version display name. Only applicable to automated agents. Corresponds to the JSON property versionDisplayName

Returns:

  • (String)


8684
8685
8686
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 8684

def version_display_name
  @version_display_name
end

#version_idString

The agent's version ID. Only applicable to automated agents. Corresponds to the JSON property versionId

Returns:

  • (String)


8689
8690
8691
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 8689

def version_id
  @version_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 8696

def update!(**args)
  @agent_id = args[:agent_id] if args.key?(:agent_id)
  @agent_type = args[:agent_type] if args.key?(:agent_type)
  @deployment_display_name = args[:deployment_display_name] if args.key?(:deployment_display_name)
  @deployment_id = args[:deployment_id] if args.key?(:deployment_id)
  @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)
  @version_display_name = args[:version_display_name] if args.key?(:version_display_name)
  @version_id = args[:version_id] if args.key?(:version_id)
end