Reference documentation and code samples for the Security Command Center V2 API class Google::Cloud::SecurityCenter::V2::CloudLoggingEntry.
Metadata taken from a Cloud Logging LogEntry
Inherits
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#insert_id
def insert_id() -> ::String
Returns
- (::String) — A unique identifier for the log entry.
#insert_id=
def insert_id=(value) -> ::String
Parameter
- value (::String) — A unique identifier for the log entry.
Returns
- (::String) — A unique identifier for the log entry.
#log_id
def log_id() -> ::String
Returns
-
(::String) — The type of the log (part of
log_name
.log_name
is the resource name of the log to which this log entry belongs). For example:cloudresourcemanager.googleapis.com/activity
Note that this field is not URL-encoded, unlike inLogEntry
.
#log_id=
def log_id=(value) -> ::String
Parameter
-
value (::String) — The type of the log (part of
log_name
.log_name
is the resource name of the log to which this log entry belongs). For example:cloudresourcemanager.googleapis.com/activity
Note that this field is not URL-encoded, unlike inLogEntry
.
Returns
-
(::String) — The type of the log (part of
log_name
.log_name
is the resource name of the log to which this log entry belongs). For example:cloudresourcemanager.googleapis.com/activity
Note that this field is not URL-encoded, unlike inLogEntry
.
#resource_container
def resource_container() -> ::String
Returns
- (::String) — The organization, folder, or project of the monitored resource that produced this log entry.
#resource_container=
def resource_container=(value) -> ::String
Parameter
- value (::String) — The organization, folder, or project of the monitored resource that produced this log entry.
Returns
- (::String) — The organization, folder, or project of the monitored resource that produced this log entry.
#timestamp
def timestamp() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The time the event described by the log entry occurred.
#timestamp=
def timestamp=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The time the event described by the log entry occurred.
Returns
- (::Google::Protobuf::Timestamp) — The time the event described by the log entry occurred.