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.



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

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>)


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

def citation_ids
  @citation_ids
end

#companyString

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

Returns:

  • (String)


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

def company
  @company
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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