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.



590
591
592
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 590

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


583
584
585
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 583

def citation_ids
  @citation_ids
end

#companyString

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

Returns:

  • (String)


588
589
590
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 588

def company
  @company
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



595
596
597
598
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 595

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