Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1QaQuestionTag
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1QaQuestionTag
- 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
A tag is a resource which aims to categorize a set of questions across multiple scorecards, e.g., "Customer Satisfaction","Billing", etc.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#display_name ⇒ String
Required.
-
#name ⇒ String
Identifier.
-
#qa_question_ids ⇒ Array<String>
Optional.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1QaQuestionTag
constructor
A new instance of GoogleCloudContactcenterinsightsV1alpha1QaQuestionTag.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1QaQuestionTag
Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1QaQuestionTag.
11267 11268 11269 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 11267 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The time at which the question tag was created.
Corresponds to the JSON property createTime
11239 11240 11241 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 11239 def create_time @create_time end |
#display_name ⇒ String
Required. A user-specified display name for the tag.
Corresponds to the JSON property displayName
11244 11245 11246 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 11244 def display_name @display_name end |
#name ⇒ String
Identifier. Resource name for the QaQuestionTag Format projects/project/
locations/location/qaQuestionTags/qa_question_tag In the above format, the
last segment, i.e., qa_question_tag, is a server-generated ID corresponding to
the tag resource.
Corresponds to the JSON property name
11252 11253 11254 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 11252 def name @name end |
#qa_question_ids ⇒ Array<String>
Optional. The list of Scorecard Question IDs that the tag applies to. Each
QaQuestionId is represented as a full resource name containing the Question ID.
Lastly, Since a tag may not necessarily be referenced by any Scorecard
Questions, we treat this field as optional.
Corresponds to the JSON property qaQuestionIds
11260 11261 11262 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 11260 def qa_question_ids @qa_question_ids end |
#update_time ⇒ String
Output only. The most recent time at which the question tag was updated.
Corresponds to the JSON property updateTime
11265 11266 11267 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 11265 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11272 11273 11274 11275 11276 11277 11278 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 11272 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) @qa_question_ids = args[:qa_question_ids] if args.key?(:qa_question_ids) @update_time = args[:update_time] if args.key?(:update_time) end |