Class: Google::Apis::ThreatintelligenceV1beta::CustomerProfilePerson

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

Person information for the customer profile.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CustomerProfilePerson

Returns a new instance of CustomerProfilePerson.



777
778
779
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 777

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#citation_idsArray<String>

Optional. The citation ids for the person. Corresponds to the JSON property citationIds

Returns:

  • (Array<String>)


765
766
767
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 765

def citation_ids
  @citation_ids
end

#nameString

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

Returns:

  • (String)


770
771
772
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 770

def name
  @name
end

#titleString

Optional. The title of the person. Corresponds to the JSON property title

Returns:

  • (String)


775
776
777
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 775

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



782
783
784
785
786
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 782

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