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.



944
945
946
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 944

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


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

def citation_ids
  @citation_ids
end

#domainString

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

Returns:

  • (String)


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

def domain
  @domain
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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