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 full product a case may be associated with, including Product Line and Product Subline.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_lineString

The Product Line of the Product. Corresponds to the JSON property productLine

Returns:

  • (String)


1103
1104
1105
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1103

def product_line
  @product_line
end

#product_sublineString

The Product Subline of the Product, such as "Maps Billing". Corresponds to the JSON property productSubline

Returns:

  • (String)


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