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.



955
956
957
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 955

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



932
933
934
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 932

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)


937
938
939
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 937

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)


943
944
945
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 943

def name
  @name
end

#stateString

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

Returns:

  • (String)


948
949
950
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 948

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)


953
954
955
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 953

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



960
961
962
963
964
965
966
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 960

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