Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Note

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 conversation assessment note resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1Note

Returns a new instance of GoogleCloudContactcenterinsightsV1Note.



8156
8157
8158
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 8156

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

Instance Attribute Details

#assessment_noteGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1NoteAssessmentNote

A note about the entire parent assessment. Corresponds to the JSON property assessmentNote



8117
8118
8119
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 8117

def assessment_note
  @assessment_note
end

#contentString

The note content. Corresponds to the JSON property content

Returns:

  • (String)


8122
8123
8124
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 8122

def content
  @content
end

#conversation_turn_noteGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1NoteConversationTurnNote

A note about a conversation turn. Corresponds to the JSON property conversationTurnNote



8127
8128
8129
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 8127

def conversation_turn_note
  @conversation_turn_note
end

#create_timeString

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

Returns:

  • (String)


8132
8133
8134
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 8132

def create_time
  @create_time
end

#nameString

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

Returns:

  • (String)


8139
8140
8141
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 8139

def name
  @name
end

#note_creatorGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1UserInfo

Information about a user. Corresponds to the JSON property noteCreator



8144
8145
8146
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 8144

def note_creator
  @note_creator
end

#qa_question_noteGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1NoteQaQuestionNote

A note about a QA question. Corresponds to the JSON property qaQuestionNote



8149
8150
8151
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 8149

def qa_question_note
  @qa_question_note
end

#update_timeString

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

Returns:

  • (String)


8154
8155
8156
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 8154

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 8161

def update!(**args)
  @assessment_note = args[:assessment_note] if args.key?(:assessment_note)
  @content = args[:content] if args.key?(:content)
  @conversation_turn_note = args[:conversation_turn_note] if args.key?(:conversation_turn_note)
  @create_time = args[:create_time] if args.key?(:create_time)
  @name = args[:name] if args.key?(:name)
  @note_creator = args[:note_creator] if args.key?(:note_creator)
  @qa_question_note = args[:qa_question_note] if args.key?(:qa_question_note)
  @update_time = args[:update_time] if args.key?(:update_time)
end