NAME
Google::Cloud::Securitycenter::V1::Access - Compiled Protocol Buffers messages for google/cloud/securitycenter/v1/access.proto
SYNOPSIS
use Google::Cloud::Securitycenter::V1::Access;
my $msg = Google::Cloud::Securitycenter::V1::Access::Access->new({
principal_email => $principal_email,
caller_ip => $caller_ip,
caller_ip_geo => $caller_ip_geo,
user_agent_family => $user_agent_family,
});
# Read or update a field
my $val = $msg->principal_email();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Securitycenter::V1::Access::Access->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/securitycenter/v1/access.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::Access::Access
Represents an access event.
Inherits from Protobuf::Message.
Accessors
$msg->principal_email()/$msg->principal_email($value)Type:
StringAssociated email, such as "foo@google.com".
The email address of the authenticated user or a service account acting on behalf of a third party principal making the request. For third party identity callers, the `principal_subject` field is populated instead of this field. For privacy reasons, the principal email address is sometimes redacted. For more information, see [Caller identities in audit logs](https://cloud.google.com/logging/docs/audit#user-id).
$msg->caller_ip()/$msg->caller_ip($value)Type:
StringCaller's IP address, such as "1.1.1.1".
$msg->caller_ip_geo()/$msg->caller_ip_geo($value)Type:
Message(Google::Cloud::Securitycenter::V1::Access::Geolocation)The caller IP's geolocation, which identifies where the call came from.
$msg->user_agent_family()/$msg->user_agent_family($value)Type:
StringType of user agent associated with the finding. For example, an operating system shell or an embedded or standalone application.
$msg->user_agent()/$msg->user_agent($value)Type:
StringThe caller's user agent string associated with the finding.
$msg->service_name()/$msg->service_name($value)Type:
StringThis is the API service that the service account made a call to, e.g. "iam.googleapis.com"
$msg->method_name()/$msg->method_name($value)Type:
StringThe method that the service account called, e.g. "SetIamPolicy".
$msg->principal_subject()/$msg->principal_subject($value)Type:
StringA string that represents the principal_subject that is associated with the identity. Unlike `principal_email`, `principal_subject` supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format is `principal://iam.googleapis.com/{identity pool name}/subject/{subject}`. Some GKE identities, such as GKE_WORKLOAD, FREEFORM, and GKE_HUB_WORKLOAD, still use the legacy format `serviceAccount:{identity pool name}[{subject}]`.
$msg->service_account_key_name()/$msg->service_account_key_name($value)Type:
StringThe name of the service account key that was used to create or exchange credentials when authenticating the service account that made the request. This is a scheme-less URI full resource name. For example:
"//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}".
$msg->service_account_delegation_info()/$msg->service_account_delegation_info($value)Type:
Message(Google::Cloud::Securitycenter::V1::Access::ServiceAccountDelegationInfo)The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud resources by delegating on a service account. When multiple authorities are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
$msg->user_name()/$msg->user_name($value)Type:
StringA string that represents a username. The username provided depends on the type of the finding and is likely not an IAM principal. For example, this can be a system username if the finding is related to a virtual machine, or it can be an application login username.
Google::Cloud::Securitycenter::V1::Access::ServiceAccountDelegationInfo
Identity delegation history of an authenticated service account.
Inherits from Protobuf::Message.
Accessors
$msg->principal_email()/$msg->principal_email($value)Type:
StringThe email address of a Google account.
$msg->principal_subject()/$msg->principal_subject($value)Type:
StringA string representing the principal_subject associated with the identity. As compared to `principal_email`, supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format will be `principal://iam.googleapis.com/{identity pool name}/subjects/{subject}` except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy format `serviceAccount:{identity pool name}[{subject}]`
Google::Cloud::Securitycenter::V1::Access::Geolocation
Represents a geographical location for a given access.
Inherits from Protobuf::Message.
Accessors
$msg->region_code()/$msg->region_code($value)Type:
StringA CLDR.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Securitycenter::V1::Access::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.