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 full product a case may be associated with, including Product Line and Product Subline.
Instance Attribute Summary collapse
-
#product_line ⇒ String
The Product Line of the Product.
-
#product_subline ⇒ String
The Product Subline of the Product, such as "Maps Billing".
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.
1110 1111 1112 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1110 def initialize(**args) update!(**args) end |
Instance Attribute Details
#product_line ⇒ String
The Product Line of the Product.
Corresponds to the JSON property productLine
1103 1104 1105 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1103 def product_line @product_line end |
#product_subline ⇒ String
The Product Subline of the Product, such as "Maps Billing".
Corresponds to the JSON property productSubline
1108 1109 1110 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1108 def product_subline @product_subline end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1115 1116 1117 1118 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1115 def update!(**args) @product_line = args[:product_line] if args.key?(:product_line) @product_subline = args[:product_subline] if args.key?(:product_subline) end |