Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2LogEntry

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

Overview

An individual entry in a log.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2LogEntry

Returns a new instance of GoogleCloudSecuritycenterV2LogEntry.



4551
4552
4553
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4551

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

Instance Attribute Details

#cloud_logging_entryGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2CloudLoggingEntry

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



4549
4550
4551
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4549

def cloud_logging_entry
  @cloud_logging_entry
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4556
4557
4558
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4556

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