Generated from protobuf messagegoogle.cloud.securitycenter.v2.CloudLoggingEntry
Namespace
Google \ Cloud \ SecurityCenter \ V2
Methods
__construct
Constructor.
Parameters
Name
Description
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 oflog_name.log_nameis the resource name of the log to which this log entry belongs). For example:cloudresourcemanager.googleapis.com/activityNote that this field is not URL-encoded, unlike inLogEntry.
↳ resource_container
string
The organization, folder, or project of the monitored resource that produced this log entry.
The time the event described by the log entry occurred.
getInsertId
A unique identifier for the log entry.
Returns
Type
Description
string
setInsertId
A unique identifier for the log entry.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getLogId
The type of the log (part oflog_name.log_nameis the resource name of
the log to which this log entry belongs). For example:cloudresourcemanager.googleapis.com/activityNote that this field is not
URL-encoded, unlike inLogEntry.
Returns
Type
Description
string
setLogId
The type of the log (part oflog_name.log_nameis the resource name of
the log to which this log entry belongs). For example:cloudresourcemanager.googleapis.com/activityNote that this field is not
URL-encoded, unlike inLogEntry.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getResourceContainer
The organization, folder, or project of the monitored resource that
produced this log entry.
Returns
Type
Description
string
setResourceContainer
The organization, folder, or project of the monitored resource that
produced this log entry.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getTimestamp
The time the event described by the log entry occurred.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Security Command Center V2 Client - Class CloudLoggingEntry (2.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.1 (latest)](/php/docs/reference/cloud-security-center/latest/V2.CloudLoggingEntry)\n- [2.2.0](/php/docs/reference/cloud-security-center/2.2.0/V2.CloudLoggingEntry)\n- [2.1.1](/php/docs/reference/cloud-security-center/2.1.1/V2.CloudLoggingEntry)\n- [2.0.4](/php/docs/reference/cloud-security-center/2.0.4/V2.CloudLoggingEntry)\n- [1.32.0](/php/docs/reference/cloud-security-center/1.32.0/V2.CloudLoggingEntry)\n- [1.31.0](/php/docs/reference/cloud-security-center/1.31.0/V2.CloudLoggingEntry)\n- [1.30.0](/php/docs/reference/cloud-security-center/1.30.0/V2.CloudLoggingEntry)\n- [1.29.0](/php/docs/reference/cloud-security-center/1.29.0/V2.CloudLoggingEntry)\n- [1.28.2](/php/docs/reference/cloud-security-center/1.28.2/V2.CloudLoggingEntry)\n- [1.21.0](/php/docs/reference/cloud-security-center/1.21.0/V2.CloudLoggingEntry)\n- [1.20.2](/php/docs/reference/cloud-security-center/1.20.2/V2.CloudLoggingEntry)\n- [1.19.1](/php/docs/reference/cloud-security-center/1.19.1/V2.CloudLoggingEntry)\n- [1.18.0](/php/docs/reference/cloud-security-center/1.18.0/V2.CloudLoggingEntry)\n- [1.17.0](/php/docs/reference/cloud-security-center/1.17.0/V2.CloudLoggingEntry)\n- [1.16.0](/php/docs/reference/cloud-security-center/1.16.0/V2.CloudLoggingEntry)\n- [1.15.1](/php/docs/reference/cloud-security-center/1.15.1/V2.CloudLoggingEntry)\n- [1.14.2](/php/docs/reference/cloud-security-center/1.14.2/V2.CloudLoggingEntry)\n- [1.13.1](/php/docs/reference/cloud-security-center/1.13.1/V2.CloudLoggingEntry) \nReference documentation and code samples for the Google Cloud Security Command Center V2 Client class CloudLoggingEntry.\n\nMetadata taken from a [Cloud Logging\nLogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry)\n\nGenerated from protobuf message `google.cloud.securitycenter.v2.CloudLoggingEntry`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ SecurityCenter \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getInsertId\n\nA unique identifier for the log entry.\n\n### setInsertId\n\nA unique identifier for the log entry.\n\n### getLogId\n\nThe type of the log (part of `log_name`. `log_name` is the resource name of\nthe log to which this log entry belongs). For example:\n`cloudresourcemanager.googleapis.com/activity` Note that this field is not\nURL-encoded, unlike in `LogEntry`.\n\n### setLogId\n\nThe type of the log (part of `log_name`. `log_name` is the resource name of\nthe log to which this log entry belongs). For example:\n`cloudresourcemanager.googleapis.com/activity` Note that this field is not\nURL-encoded, unlike in `LogEntry`.\n\n### getResourceContainer\n\nThe organization, folder, or project of the monitored resource that\nproduced this log entry.\n\n### setResourceContainer\n\nThe organization, folder, or project of the monitored resource that\nproduced this log entry.\n\n### getTimestamp\n\nThe time the event described by the log entry occurred.\n\n### hasTimestamp\n\n### clearTimestamp\n\n### setTimestamp\n\nThe time the event described by the log entry occurred."]]