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.



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

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)


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

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)


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

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)


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

def agent_team
  @agent_team
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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