Class: Google::Apis::CloudsupportV2beta::CaseClassification
- Inherits:
-
Object
- Object
- Google::Apis::CloudsupportV2beta::CaseClassification
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsupport_v2beta/classes.rb,
lib/google/apis/cloudsupport_v2beta/representations.rb,
lib/google/apis/cloudsupport_v2beta/representations.rb
Overview
A Case Classification represents the topic that a case is about. It's very important to use accurate classifications, because they're used to route your cases to specialists who can help you. A classification always has an ID that is its unique identifier. A valid ID is required when creating a case.
Instance Attribute Summary collapse
-
#display_name ⇒ String
A display name for the classification.
-
#id ⇒ String
The unique ID for a classification.
-
#product ⇒ Google::Apis::CloudsupportV2beta::Product
The full product a case may be associated with, including Product Line and Product Subline.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CaseClassification
constructor
A new instance of CaseClassification.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CaseClassification
Returns a new instance of CaseClassification.
340 341 342 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 340 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
A display name for the classification. The display name is not static and can
change. To uniquely and consistently identify classifications, use the
CaseClassification.id field.
Corresponds to the JSON property displayName
322 323 324 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 322 def display_name @display_name end |
#id ⇒ String
The unique ID for a classification. Must be specified for case creation. To
retrieve valid classification IDs for case creation, use caseClassifications.
search. Classification IDs returned by caseClassifications.search are
guaranteed to be valid for at least 6 months. If a given classification is
deactiveated, it will immediately stop being returned. After 6 months, case.
create requests using the classification ID will fail.
Corresponds to the JSON property id
332 333 334 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 332 def id @id end |
#product ⇒ Google::Apis::CloudsupportV2beta::Product
The full product a case may be associated with, including Product Line and
Product Subline.
Corresponds to the JSON property product
338 339 340 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 338 def product @product end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
345 346 347 348 349 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 345 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @id = args[:id] if args.key?(:id) @product = args[:product] if args.key?(:product) end |