Class: Google::Apis::ThreatintelligenceV1beta::CustomerProfileWebPresence

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

Web presence information for the customer profile.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CustomerProfileWebPresence

Returns a new instance of CustomerProfileWebPresence.



1030
1031
1032
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1030

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

Instance Attribute Details

#citation_idsArray<String>

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

Returns:

  • (Array<String>)


1023
1024
1025
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1023

def citation_ids
  @citation_ids
end

#domainString

Required. The domain name of the web presence. Corresponds to the JSON property domain

Returns:

  • (String)


1028
1029
1030
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1028

def domain
  @domain
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1035
1036
1037
1038
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 1035

def update!(**args)
  @citation_ids = args[:citation_ids] if args.key?(:citation_ids)
  @domain = args[:domain] if args.key?(:domain)
end