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.
544 545 546 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 544 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
537 538 539 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 537 def citation_ids @citation_ids end |
#company ⇒ String
Required. The name of the company.
Corresponds to the JSON property company
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 |