Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1mainConversationQualityMetadataAgentInfo

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

Returns a new instance of GoogleCloudContactcenterinsightsV1mainConversationQualityMetadataAgentInfo.



20316
20317
20318
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 20316

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)


20252
20253
20254
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 20252

def agent_id
  @agent_id
end

#agent_typeString

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

Returns:

  • (String)


20257
20258
20259
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 20257

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)


20262
20263
20264
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 20262

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)


20267
20268
20269
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 20267

def deployment_id
  @deployment_id
end

#display_nameString

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

Returns:

  • (String)


20272
20273
20274
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 20272

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)


20278
20279
20280
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 20278

def disposition_code
  @disposition_code
end

#entry_subagent_display_nameString

The entry subagent's display name. Corresponds to the JSON property entrySubagentDisplayName

Returns:

  • (String)


20283
20284
20285
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 20283

def entry_subagent_display_name
  @entry_subagent_display_name
end

#entry_subagent_idString

The entry subagent's ID. Corresponds to the JSON property entrySubagentId

Returns:

  • (String)


20288
20289
20290
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 20288

def entry_subagent_id
  @entry_subagent_id
end

#locationString

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

Returns:

  • (String)


20293
20294
20295
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 20293

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)


20299
20300
20301
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 20299

def team
  @team
end

#teamsArray<String>

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

Returns:

  • (Array<String>)


20304
20305
20306
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 20304

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)


20309
20310
20311
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 20309

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)


20314
20315
20316
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 20314

def version_id
  @version_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20321
20322
20323
20324
20325
20326
20327
20328
20329
20330
20331
20332
20333
20334
20335
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 20321

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)
  @entry_subagent_display_name = args[:entry_subagent_display_name] if args.key?(:entry_subagent_display_name)
  @entry_subagent_id = args[:entry_subagent_id] if args.key?(:entry_subagent_id)
  @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