Class: Google::Apis::ThreatintelligenceV1beta::CustomerProfileCitedString
- Inherits:
-
Object
- Object
- Google::Apis::ThreatintelligenceV1beta::CustomerProfileCitedString
- 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
-
#citation_ids ⇒ Array<String>
Optional.
-
#value ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomerProfileCitedString
constructor
A new instance of CustomerProfileCitedString.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CustomerProfileCitedString
Returns a new instance of CustomerProfileCitedString.
528 529 530 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 528 def initialize(**args) update!(**args) end |
Instance Attribute Details
#citation_ids ⇒ Array<String>
Optional. The citation ids for the string.
Corresponds to the JSON property citationIds
521 522 523 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 521 def citation_ids @citation_ids end |
#value ⇒ String
Required. The value of the string.
Corresponds to the JSON property value
526 527 528 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 526 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
533 534 535 536 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 533 def update!(**args) @citation_ids = args[:citation_ids] if args.key?(:citation_ids) @value = args[:value] if args.key?(:value) end |