Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class CloudLoggingEntry.
Metadata taken from a Cloud Logging LogEntry
Generated from protobuf message google.cloud.securitycenter.v2.CloudLoggingEntry
Namespace
Google \ Cloud \ SecurityCenter \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ insert_id
string
A unique identifier for the log entry.
↳ log_id
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 in LogEntry
.
↳ resource_container
string
The organization, folder, or project of the monitored resource that produced this log entry.
↳ timestamp
getInsertId
A unique identifier for the log entry.
string
setInsertId
A unique identifier for the log entry.
var
string
$this
getLogId
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 in LogEntry
.
string
setLogId
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 in LogEntry
.
var
string
$this
getResourceContainer
The organization, folder, or project of the monitored resource that produced this log entry.
string
setResourceContainer
The organization, folder, or project of the monitored resource that produced this log entry.
var
string
$this
getTimestamp
The time the event described by the log entry occurred.
hasTimestamp
clearTimestamp
setTimestamp
The time the event described by the log entry occurred.
$this