Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel

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

Represents a conversation, resource, and label provided by the user.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel

Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel.



7966
7967
7968
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7966

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

Instance Attribute Details

#create_timeString

Output only. Create time of the label. Corresponds to the JSON property createTime

Returns:

  • (String)


7936
7937
7938
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7936

def create_time
  @create_time
end

#labelString

String label. Corresponds to the JSON property label

Returns:

  • (String)


7941
7942
7943
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7941

def label
  @label
end

#labeled_resourceString

Resource name of the resource to be labeled. Corresponds to the JSON property labeledResource

Returns:

  • (String)


7946
7947
7948
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7946

def labeled_resource
  @labeled_resource
end

#nameString

Immutable. Resource name of the FeedbackLabel. Format: projects/project/ locations/location/conversations/conversation/feedbackLabels/ feedback_label Corresponds to the JSON property name

Returns:

  • (String)


7953
7954
7955
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7953

def name
  @name
end

#qa_answer_labelGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerValue

Message for holding the value of a QaAnswer. QaQuestion.AnswerChoice defines the possible answer values for a question. Corresponds to the JSON property qaAnswerLabel



7959
7960
7961
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7959

def qa_answer_label
  @qa_answer_label
end

#update_timeString

Output only. Update time of the label. Corresponds to the JSON property updateTime

Returns:

  • (String)


7964
7965
7966
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7964

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7971
7972
7973
7974
7975
7976
7977
7978
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7971

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