Class: Google::Apis::ThreatintelligenceV1beta::CustomerProfileCompany
- Inherits:
-
Object
- Object
- Google::Apis::ThreatintelligenceV1beta::CustomerProfileCompany
- 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
-
#citation_ids ⇒ Array<String>
Optional.
-
#company ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomerProfileCompany
constructor
A new instance of CustomerProfileCompany.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_ids ⇒ Array<String>
Optional. The citation ids for the company.
Corresponds to the JSON property citationIds
538 539 540 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 538 def citation_ids @citation_ids end |
#company ⇒ String
Required. The name of the company.
Corresponds to the JSON property company
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 |