Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel
- 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
Represents a conversation, resource, and label provided by the user.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#label ⇒ String
String label.
-
#labeled_resource ⇒ String
Resource name of the resource to be labeled.
-
#name ⇒ String
Immutable.
-
#qa_answer_label ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue
Message for holding the value of a QaAnswer.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1FeedbackLabel
constructor
A new instance of GoogleCloudContactcenterinsightsV1FeedbackLabel.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1FeedbackLabel
Returns a new instance of GoogleCloudContactcenterinsightsV1FeedbackLabel.
2788 2789 2790 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2788 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Create time of the label.
Corresponds to the JSON property createTime
2758 2759 2760 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2758 def create_time @create_time end |
#label ⇒ String
String label.
Corresponds to the JSON property label
2763 2764 2765 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2763 def label @label end |
#labeled_resource ⇒ String
Resource name of the resource to be labeled.
Corresponds to the JSON property labeledResource
2768 2769 2770 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2768 def labeled_resource @labeled_resource end |
#name ⇒ String
Immutable. Resource name of the FeedbackLabel. Format: projects/project
/
locations/location
/conversations/conversation
/feedbackLabels/
feedback_label
Corresponds to the JSON property name
2775 2776 2777 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2775 def name @name end |
#qa_answer_label ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaAnswerAnswerValue
Message for holding the value of a QaAnswer. QaQuestion.AnswerChoice defines
the possible answer values for a question.
Corresponds to the JSON property qaAnswerLabel
2781 2782 2783 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2781 def qa_answer_label @qa_answer_label end |
#update_time ⇒ String
Output only. Update time of the label.
Corresponds to the JSON property updateTime
2786 2787 2788 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2786 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2793 2794 2795 2796 2797 2798 2799 2800 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2793 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @label = args[:label] if args.key?(:label) @labeled_resource = args[:labeled_resource] if args.key?(:labeled_resource) @name = args[:name] if args.key?(:name) @qa_answer_label = args[:qa_answer_label] if args.key?(:qa_answer_label) @update_time = args[:update_time] if args.key?(:update_time) end |