Class: Google::Apis::ThreatintelligenceV1beta::CustomerProfileIndustry

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_idsArray<String>

Optional. The citation ids for the industry. Corresponds to the JSON property citationIds

Returns:

  • (Array<String>)


702
703
704
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 702

def citation_ids
  @citation_ids
end

#industryString

Required. The name of the industry. Corresponds to the JSON property industry

Returns:

  • (String)


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