Class: Google::Apis::ThreatintelligenceV1beta::AlertDocument
- Inherits:
-
Object
- Object
- Google::Apis::ThreatintelligenceV1beta::AlertDocument
- 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 document that is associated with an alert.
Instance Attribute Summary collapse
-
#ai_summary ⇒ String
Output only.
-
#author ⇒ String
Output only.
-
#collection_time ⇒ String
Output only.
-
#content ⇒ String
Output only.
-
#create_time ⇒ String
Output only.
-
#ingest_time ⇒ String
Output only.
-
#language_code ⇒ String
Output only.
-
#name ⇒ String
Identifier.
-
#source ⇒ String
Output only.
-
#source_update_time ⇒ String
Output only.
-
#source_uri ⇒ String
Output only.
-
#title ⇒ String
Output only.
-
#translation ⇒ Google::Apis::ThreatintelligenceV1beta::AlertDocumentTranslation
The translation of an alert document.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AlertDocument
constructor
A new instance of AlertDocument.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AlertDocument
Returns a new instance of AlertDocument.
251 252 253 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 251 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ai_summary ⇒ String
Output only. AI summary of the finding.
Corresponds to the JSON property aiSummary
188 189 190 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 188 def ai_summary @ai_summary end |
#author ⇒ String
Output only. The author of the document.
Corresponds to the JSON property author
193 194 195 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 193 def @author end |
#collection_time ⇒ String
Output only. Time when the origin source collected the intel.
Corresponds to the JSON property collectionTime
198 199 200 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 198 def collection_time @collection_time end |
#content ⇒ String
Output only. The content of the document.
Corresponds to the JSON property content
203 204 205 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 203 def content @content end |
#create_time ⇒ String
Output only. The time the document was created.
Corresponds to the JSON property createTime
208 209 210 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 208 def create_time @create_time end |
#ingest_time ⇒ String
Output only. Time when GTI received the intel.
Corresponds to the JSON property ingestTime
213 214 215 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 213 def ingest_time @ingest_time end |
#language_code ⇒ String
Output only. The language code of the document.
Corresponds to the JSON property languageCode
218 219 220 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 218 def language_code @language_code end |
#name ⇒ String
Identifier. Server generated name for the alert document. format is projects/
project/alerts/alert/documents/document
Corresponds to the JSON property name
224 225 226 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 224 def name @name end |
#source ⇒ String
Output only. Source of the intel item, e.g. DarkMarket.
Corresponds to the JSON property source
229 230 231 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 229 def source @source end |
#source_update_time ⇒ String
Output only. Time when the intel was last updated by the source.
Corresponds to the JSON property sourceUpdateTime
234 235 236 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 234 def source_update_time @source_update_time end |
#source_uri ⇒ String
Output only. URI of the intel item from the source.
Corresponds to the JSON property sourceUri
239 240 241 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 239 def source_uri @source_uri end |
#title ⇒ String
Output only. The title of the document, if available.
Corresponds to the JSON property title
244 245 246 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 244 def title @title end |
#translation ⇒ Google::Apis::ThreatintelligenceV1beta::AlertDocumentTranslation
The translation of an alert document.
Corresponds to the JSON property translation
249 250 251 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 249 def translation @translation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 |
# File 'lib/google/apis/threatintelligence_v1beta/classes.rb', line 256 def update!(**args) @ai_summary = args[:ai_summary] if args.key?(:ai_summary) @author = args[:author] if args.key?(:author) @collection_time = args[:collection_time] if args.key?(:collection_time) @content = args[:content] if args.key?(:content) @create_time = args[:create_time] if args.key?(:create_time) @ingest_time = args[:ingest_time] if args.key?(:ingest_time) @language_code = args[:language_code] if args.key?(:language_code) @name = args[:name] if args.key?(:name) @source = args[:source] if args.key?(:source) @source_update_time = args[:source_update_time] if args.key?(:source_update_time) @source_uri = args[:source_uri] if args.key?(:source_uri) @title = args[:title] if args.key?(:title) @translation = args[:translation] if args.key?(:translation) end |