NAME

Google::Cloud::Securitycenter::V2::DataAccessEvent - Compiled Protocol Buffers messages for google/cloud/securitycenter/v2/data_access_event.proto

SYNOPSIS

use Google::Cloud::Securitycenter::V2::DataAccessEvent;

my $msg = Google::Cloud::Securitycenter::V2::DataAccessEvent::DataAccessEvent->new({
    event_id => $event_id,
    principal_email => $principal_email,
    operation => $operation,
    event_time => $event_time,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/securitycenter/v2/data_access_event.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::V2::DataAccessEvent::DataAccessEvent

Details about a data access attempt made by a principal not authorized under applicable data security policy.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Unique identifier for data access event.

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

    Type: String

    The email address of the principal that accessed the data. The principal could be a user account, service account, Google group, or other.

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

    Type: Enum (Google::Cloud::Securitycenter::V2::DataAccessEvent::Operation)

    The operation performed by the principal to access the data.

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

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

    Timestamp of data access event.

Enum: DataAccessEvent::Operation

  • OPERATION_UNSPECIFIED => 0

  • READ => 1

  • MOVE => 2

  • COPY => 3

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Securitycenter::V2::DataAccessEvent::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.