Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment

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

The assessment resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1Assessment

Returns a new instance of GoogleCloudContactcenterinsightsV1Assessment.



567
568
569
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 567

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

Instance Attribute Details

#agent_infoGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo

Information about an agent involved in the conversation. Corresponds to the JSON property agentInfo



544
545
546
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 544

def agent_info
  @agent_info
end

#create_timeString

Output only. The time at which the assessment was created. Corresponds to the JSON property createTime

Returns:

  • (String)


549
550
551
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 549

def create_time
  @create_time
end

#nameString

Identifier. The resource name of the assessment. Format: projects/project/ locations/location/conversations/conversation/assessments/assessment Corresponds to the JSON property name

Returns:

  • (String)


555
556
557
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 555

def name
  @name
end

#stateString

Output only. The state of the assessment. Corresponds to the JSON property state

Returns:

  • (String)


560
561
562
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 560

def state
  @state
end

#update_timeString

Output only. The time at which the assessment was last updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


565
566
567
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 565

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



572
573
574
575
576
577
578
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 572

def update!(**args)
  @agent_info = args[:agent_info] if args.key?(:agent_info)
  @create_time = args[:create_time] if args.key?(:create_time)
  @name = args[:name] if args.key?(:name)
  @state = args[:state] if args.key?(:state)
  @update_time = args[:update_time] if args.key?(:update_time)
end