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.



953
954
955
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 953

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>)


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

def citation_ids
  @citation_ids
end

#domainString

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

Returns:

  • (String)


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

def domain
  @domain
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



958
959
960
961
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 958

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