Class: Google::Apis::ThreatintelligenceV1beta::CustomerProfilePerson
- Inherits:
-
Object
- Object
- Google::Apis::ThreatintelligenceV1beta::CustomerProfilePerson
- 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
Person information for the customer profile.
Instance Attribute Summary collapse
-
#citation_ids ⇒ Array<String>
Optional.
-
#name ⇒ String
Required.
-
#title ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomerProfilePerson
constructor
A new instance of CustomerProfilePerson.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CustomerProfilePerson
Returns a new instance of CustomerProfilePerson.
850 851 852 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 850 def initialize(**args) update!(**args) end |
Instance Attribute Details
#citation_ids ⇒ Array<String>
Optional. The citation ids for the person.
Corresponds to the JSON property citationIds
838 839 840 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 838 def citation_ids @citation_ids end |
#name ⇒ String
Required. The name of the person.
Corresponds to the JSON property name
843 844 845 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 843 def name @name end |
#title ⇒ String
Optional. The title of the person.
Corresponds to the JSON property title
848 849 850 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 848 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
855 856 857 858 859 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 855 def update!(**args) @citation_ids = args[:citation_ids] if args.key?(:citation_ids) @name = args[:name] if args.key?(:name) @title = args[:title] if args.key?(:title) end |