Class: Google::Apis::ThreatintelligenceV1beta::CustomerProfileCitedString

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 string with citation ids.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CustomerProfileCitedString

Returns a new instance of CustomerProfileCitedString.



519
520
521
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 519

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

Instance Attribute Details

#citation_idsArray<String>

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

Returns:

  • (Array<String>)


512
513
514
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 512

def citation_ids
  @citation_ids
end

#valueString

Required. The value of the string. Corresponds to the JSON property value

Returns:

  • (String)


517
518
519
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 517

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



524
525
526
527
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 524

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