Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1DimensionAgentDimensionMetadata

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

Metadata about the agent dimension.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1DimensionAgentDimensionMetadata

Returns a new instance of GoogleCloudContactcenterinsightsV1DimensionAgentDimensionMetadata.



2230
2231
2232
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2230

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#agent_display_nameString

Optional. The agent's name Corresponds to the JSON property agentDisplayName

Returns:

  • (String)


2218
2219
2220
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2218

def agent_display_name
  @agent_display_name
end

#agent_idString

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

Returns:

  • (String)


2223
2224
2225
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2223

def agent_id
  @agent_id
end

#agent_teamString

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

Returns:

  • (String)


2228
2229
2230
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2228

def agent_team
  @agent_team
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2235
2236
2237
2238
2239
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2235

def update!(**args)
  @agent_display_name = args[:agent_display_name] if args.key?(:agent_display_name)
  @agent_id = args[:agent_id] if args.key?(:agent_id)
  @agent_team = args[:agent_team] if args.key?(:agent_team)
end