Class: Google::Apis::CloudsupportV2beta::CaseClassification

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CaseClassification

Returns a new instance of CaseClassification.



280
281
282
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 280

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

Instance Attribute Details

#display_nameString

The display name of the classification. Corresponds to the JSON property displayName

Returns:

  • (String)


273
274
275
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 273

def display_name
  @display_name
end

#idString

The unique ID for a classification. Must be specified for case creation. Corresponds to the JSON property id

Returns:

  • (String)


278
279
280
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 278

def id
  @id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



285
286
287
288
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 285

def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @id = args[:id] if args.key?(:id)
end