public sealed class CloudLoggingEntry : IMessage<CloudLoggingEntry>, IEquatable<CloudLoggingEntry>, IDeepCloneable<CloudLoggingEntry>, IBufferMessage, IMessage
Reference documentation and code samples for the Security Command Center v2 API class CloudLoggingEntry.
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.
[[["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-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eCloudLoggingEntry\u003c/code\u003e class is part of the Security Command Center v2 API, providing a representation of metadata from a Cloud Logging \u003ccode\u003eLogEntry\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, for diverse functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCloudLoggingEntry\u003c/code\u003e class has a couple of constructors: one default, and one that take another \u003ccode\u003eCloudLoggingEntry\u003c/code\u003e to create an instance.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eCloudLoggingEntry\u003c/code\u003e include \u003ccode\u003eInsertId\u003c/code\u003e for a unique identifier, \u003ccode\u003eLogId\u003c/code\u003e for the log type, \u003ccode\u003eResourceContainer\u003c/code\u003e for the resource's location, and \u003ccode\u003eTimestamp\u003c/code\u003e for the event's time.\u003c/p\u003e\n"]]],[],null,["# Security Command Center v2 API - Class CloudLoggingEntry (1.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.CloudLoggingEntry)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.1.0/Google.Cloud.SecurityCenter.V2.CloudLoggingEntry)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/1.0.0/Google.Cloud.SecurityCenter.V2.CloudLoggingEntry) \n\n public sealed class CloudLoggingEntry : IMessage\u003cCloudLoggingEntry\u003e, IEquatable\u003cCloudLoggingEntry\u003e, IDeepCloneable\u003cCloudLoggingEntry\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Security Command Center v2 API class CloudLoggingEntry.\n\nMetadata taken from a [Cloud Logging\nLogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CloudLoggingEntry \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CloudLoggingEntry](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.CloudLoggingEntry), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CloudLoggingEntry](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.CloudLoggingEntry), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CloudLoggingEntry](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2.CloudLoggingEntry), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.SecurityCenter.V2](/dotnet/docs/reference/Google.Cloud.SecurityCenter.V2/latest/Google.Cloud.SecurityCenter.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.SecurityCenter.V2.dll\n\nConstructors\n------------\n\n### CloudLoggingEntry()\n\n public CloudLoggingEntry()\n\n### CloudLoggingEntry(CloudLoggingEntry)\n\n public CloudLoggingEntry(CloudLoggingEntry other)\n\nProperties\n----------\n\n### InsertId\n\n public string InsertId { get; set; }\n\nA unique identifier for the log entry.\n\n### LogId\n\n public string LogId { get; set; }\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### ResourceContainer\n\n public string ResourceContainer { get; set; }\n\nThe organization, folder, or project of the monitored resource that\nproduced this log entry.\n\n### Timestamp\n\n public Timestamp Timestamp { get; set; }\n\nThe time the event described by the log entry occurred."]]