Class: Google::Apis::CloudsupportV2beta::Product

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

The product a case may be associated with.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_lineString

The product line of the Product. Corresponds to the JSON property productLine

Returns:

  • (String)


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