Class: Google::Apis::SecuritycenterV1::LogEntry

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/securitycenter_v1/classes.rb,
lib/google/apis/securitycenter_v1/representations.rb,
lib/google/apis/securitycenter_v1/representations.rb

Overview

An individual entry in a log.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LogEntry

Returns a new instance of LogEntry.



9223
9224
9225
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9223

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

Instance Attribute Details

#cloud_logging_entryGoogle::Apis::SecuritycenterV1::CloudLoggingEntry

Metadata taken from a Cloud Logging LogEntry Corresponds to the JSON property cloudLoggingEntry



9221
9222
9223
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9221

def cloud_logging_entry
  @cloud_logging_entry
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9228
9229
9230
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 9228

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