Class: Google::Apis::CloudsupportV2beta::Product
- Inherits:
-
Object
- Object
- Google::Apis::CloudsupportV2beta::Product
- 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
The product a case may be associated with.
Instance Attribute Summary collapse
-
#product_line ⇒ String
The product line of the Product.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Product
constructor
A new instance of Product.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Product
Returns a new instance of Product.
1212 1213 1214 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1212 def initialize(**args) update!(**args) end |
Instance Attribute Details
#product_line ⇒ String
The product line of the Product.
Corresponds to the JSON property productLine
1210 1211 1212 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1210 def product_line @product_line end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1217 1218 1219 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1217 def update!(**args) @product_line = args[:product_line] if args.key?(:product_line) end |