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.



909
910
911
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 909

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



852
853
854
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 852

def area_served
  @area_served
end

#brandsGoogle::Apis::ThreatintelligenceV1beta::CustomerProfileCitedString

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



857
858
859
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 857

def brands
  @brands
end

#entity_typeGoogle::Apis::ThreatintelligenceV1beta::CustomerProfileCitedString

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



862
863
864
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 862

def entity_type
  @entity_type
end

#foundedGoogle::Apis::ThreatintelligenceV1beta::CustomerProfileCitedString

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



867
868
869
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 867

def founded
  @founded
end

#headquartersGoogle::Apis::ThreatintelligenceV1beta::CustomerProfileCitedString

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



872
873
874
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 872

def headquarters
  @headquarters
end

#industryGoogle::Apis::ThreatintelligenceV1beta::CustomerProfileCitedString

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



877
878
879
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 877

def industry
  @industry
end

#key_people_summaryGoogle::Apis::ThreatintelligenceV1beta::CustomerProfileCitedString

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



882
883
884
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 882

def key_people_summary
  @key_people_summary
end

#parent_companyGoogle::Apis::ThreatintelligenceV1beta::CustomerProfileCitedString

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



887
888
889
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 887

def parent_company
  @parent_company
end

#primary_websiteGoogle::Apis::ThreatintelligenceV1beta::CustomerProfileCitedString

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



892
893
894
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 892

def primary_website
  @primary_website
end

#products_summaryGoogle::Apis::ThreatintelligenceV1beta::CustomerProfileCitedString

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



897
898
899
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 897

def products_summary
  @products_summary
end

#services_summaryGoogle::Apis::ThreatintelligenceV1beta::CustomerProfileCitedString

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



902
903
904
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 902

def services_summary
  @services_summary
end

#titleGoogle::Apis::ThreatintelligenceV1beta::CustomerProfileCitedString

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



907
908
909
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 907

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



914
915
916
917
918
919
920
921
922
923
924
925
926
927
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 914

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