Class: Google::Apis::ThreatintelligenceV1beta::CustomerProfileCompany

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

Company information for the customer profile.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CustomerProfileCompany

Returns a new instance of CustomerProfileCompany.



544
545
546
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 544

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#citation_idsArray<String>

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

Returns:

  • (Array<String>)


537
538
539
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 537

def citation_ids
  @citation_ids
end

#companyString

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

Returns:

  • (String)


542
543
544
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 542

def company
  @company
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



549
550
551
552
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 549

def update!(**args)
  @citation_ids = args[:citation_ids] if args.key?(:citation_ids)
  @company = args[:company] if args.key?(:company)
end