Class: Google::Apis::SecuritycenterV1::LogEntry
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::LogEntry
- 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
-
#cloud_logging_entry ⇒ Google::Apis::SecuritycenterV1::CloudLoggingEntry
Metadata taken from a Cloud Logging LogEntry Corresponds to the JSON property
cloudLoggingEntry
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LogEntry
constructor
A new instance of LogEntry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LogEntry
Returns a new instance of LogEntry.
8786 8787 8788 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8786 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_logging_entry ⇒ Google::Apis::SecuritycenterV1::CloudLoggingEntry
Metadata taken from a Cloud Logging LogEntry
Corresponds to the JSON property cloudLoggingEntry
8784 8785 8786 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8784 def cloud_logging_entry @cloud_logging_entry end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8791 8792 8793 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8791 def update!(**args) @cloud_logging_entry = args[:cloud_logging_entry] if args.key?(:cloud_logging_entry) end |