Class: Google::Apis::ThreatintelligenceV1beta::CustomerProfileSummary

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

A summarized version of the customer profile. Generated by the backend.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CustomerProfileSummary

Returns a new instance of CustomerProfileSummary.



983
984
985
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 983

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

Instance Attribute Details

#area_servedGoogle::Apis::ThreatintelligenceV1beta::CustomerProfileCitedString

A string with citation ids. Corresponds to the JSON property areaServed



926
927
928
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 926

def area_served
  @area_served
end

#brandsGoogle::Apis::ThreatintelligenceV1beta::CustomerProfileCitedString

A string with citation ids. Corresponds to the JSON property brands



931
932
933
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 931

def brands
  @brands
end

#entity_typeGoogle::Apis::ThreatintelligenceV1beta::CustomerProfileCitedString

A string with citation ids. Corresponds to the JSON property entityType



936
937
938
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 936

def entity_type
  @entity_type
end

#foundedGoogle::Apis::ThreatintelligenceV1beta::CustomerProfileCitedString

A string with citation ids. Corresponds to the JSON property founded



941
942
943
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 941

def founded
  @founded
end

#headquartersGoogle::Apis::ThreatintelligenceV1beta::CustomerProfileCitedString

A string with citation ids. Corresponds to the JSON property headquarters



946
947
948
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 946

def headquarters
  @headquarters
end

#industryGoogle::Apis::ThreatintelligenceV1beta::CustomerProfileCitedString

A string with citation ids. Corresponds to the JSON property industry



951
952
953
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 951

def industry
  @industry
end

#key_people_summaryGoogle::Apis::ThreatintelligenceV1beta::CustomerProfileCitedString

A string with citation ids. Corresponds to the JSON property keyPeopleSummary



956
957
958
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 956

def key_people_summary
  @key_people_summary
end

#parent_companyGoogle::Apis::ThreatintelligenceV1beta::CustomerProfileCitedString

A string with citation ids. Corresponds to the JSON property parentCompany



961
962
963
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 961

def parent_company
  @parent_company
end

#primary_websiteGoogle::Apis::ThreatintelligenceV1beta::CustomerProfileCitedString

A string with citation ids. Corresponds to the JSON property primaryWebsite



966
967
968
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 966

def primary_website
  @primary_website
end

#products_summaryGoogle::Apis::ThreatintelligenceV1beta::CustomerProfileCitedString

A string with citation ids. Corresponds to the JSON property productsSummary



971
972
973
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 971

def products_summary
  @products_summary
end

#services_summaryGoogle::Apis::ThreatintelligenceV1beta::CustomerProfileCitedString

A string with citation ids. Corresponds to the JSON property servicesSummary



976
977
978
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 976

def services_summary
  @services_summary
end

#titleGoogle::Apis::ThreatintelligenceV1beta::CustomerProfileCitedString

A string with citation ids. Corresponds to the JSON property title



981
982
983
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 981

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 988

def update!(**args)
  @area_served = args[:area_served] if args.key?(:area_served)
  @brands = args[:brands] if args.key?(:brands)
  @entity_type = args[:entity_type] if args.key?(:entity_type)
  @founded = args[:founded] if args.key?(:founded)
  @headquarters = args[:headquarters] if args.key?(:headquarters)
  @industry = args[:industry] if args.key?(:industry)
  @key_people_summary = args[:key_people_summary] if args.key?(:key_people_summary)
  @parent_company = args[:parent_company] if args.key?(:parent_company)
  @primary_website = args[:primary_website] if args.key?(:primary_website)
  @products_summary = args[:products_summary] if args.key?(:products_summary)
  @services_summary = args[:services_summary] if args.key?(:services_summary)
  @title = args[:title] if args.key?(:title)
end