NAME

Google::Cloud::Securitycenter::V1::LogEntry - Compiled Protocol Buffers messages for google/cloud/securitycenter/v1/log_entry.proto

SYNOPSIS

use Google::Cloud::Securitycenter::V1::LogEntry;

my $msg = Google::Cloud::Securitycenter::V1::LogEntry::LogEntry->new({
    cloud_logging_entry => $cloud_logging_entry,
});

# Read or update a field
my $val = $msg->cloud_logging_entry();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Securitycenter::V1::LogEntry::LogEntry->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/securitycenter/v1/log_entry.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Securitycenter::V1::LogEntry::LogEntry

An individual entry in a log.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Securitycenter::V1::LogEntry::CloudLoggingEntry

Metadata taken from a [Cloud Logging LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry)

Inherits from Protobuf::Message.

Accessors

  • $msg->insert_id() / $msg->insert_id($value)

    Type: String

    A unique identifier for the log entry.

  • $msg->log_id() / $msg->log_id($value)

    Type: 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 the `LOG_ID` field in `LogEntry`.

  • $msg->resource_container() / $msg->resource_container($value)

    Type: String

    The organization, folder, or project of the monitored resource that produced this log entry.

  • $msg->timestamp() / $msg->timestamp($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    The time the event described by the log entry occurred.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Securitycenter::V1::LogEntry::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.