Class: Google::Apis::ThreatintelligenceV1beta::CustomerProfileProduct
- Inherits:
-
Object
- Object
- Google::Apis::ThreatintelligenceV1beta::CustomerProfileProduct
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/threatintelligence_v1beta/classes.rb,
lib/google/apis/threatintelligence_v1beta/representations.rb,
lib/google/apis/threatintelligence_v1beta/representations.rb
Overview
Product information for the customer profile.
Instance Attribute Summary collapse
-
#brand ⇒ String
Required.
-
#citation_ids ⇒ Array<String>
Optional.
-
#product ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomerProfileProduct
constructor
A new instance of CustomerProfileProduct.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CustomerProfileProduct
Returns a new instance of CustomerProfileProduct.
808 809 810 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 808 def initialize(**args) update!(**args) end |
Instance Attribute Details
#brand ⇒ String
Required. The brand of the product.
Corresponds to the JSON property brand
796 797 798 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 796 def brand @brand end |
#citation_ids ⇒ Array<String>
Optional. The citation ids for the product.
Corresponds to the JSON property citationIds
801 802 803 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 801 def citation_ids @citation_ids end |
#product ⇒ String
Required. The name of the product.
Corresponds to the JSON property product
806 807 808 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 806 def product @product end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
813 814 815 816 817 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 813 def update!(**args) @brand = args[:brand] if args.key?(:brand) @citation_ids = args[:citation_ids] if args.key?(:citation_ids) @product = args[:product] if args.key?(:product) end |