Class: Google::Apis::ThreatintelligenceV1beta::CustomerProfileIndustry
- Inherits:
-
Object
- Object
- Google::Apis::ThreatintelligenceV1beta::CustomerProfileIndustry
- 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
Industry information for the customer profile.
Instance Attribute Summary collapse
-
#citation_ids ⇒ Array<String>
Optional.
-
#industry ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomerProfileIndustry
constructor
A new instance of CustomerProfileIndustry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CustomerProfileIndustry
Returns a new instance of CustomerProfileIndustry.
709 710 711 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 709 def initialize(**args) update!(**args) end |
Instance Attribute Details
#citation_ids ⇒ Array<String>
Optional. The citation ids for the industry.
Corresponds to the JSON property citationIds
702 703 704 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 702 def citation_ids @citation_ids end |
#industry ⇒ String
Required. The name of the industry.
Corresponds to the JSON property industry
707 708 709 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 707 def industry @industry end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
714 715 716 717 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 714 def update!(**args) @citation_ids = args[:citation_ids] if args.key?(:citation_ids) @industry = args[:industry] if args.key?(:industry) end |