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 classification object with a product type and value.
Instance Attribute Summary collapse
-
#display_name ⇒ String
The display name of the classification.
-
#id ⇒ String
The unique ID for a classification.
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.
277 278 279 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 277 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
The display name of the classification.
Corresponds to the JSON property displayName
270 271 272 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 270 def display_name @display_name end |
#id ⇒ String
The unique ID for a classification. Must be specified for case creation.
Corresponds to the JSON property id
275 276 277 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 275 def id @id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
282 283 284 285 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 282 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @id = args[:id] if args.key?(:id) end |