NAME

Google::Iam::V3beta::PrincipalAccessBoundaryPolicyResources - Compiled Protocol Buffers messages for google/iam/v3beta/principal_access_boundary_policy_resources.proto

SYNOPSIS

use Google::Iam::V3beta::PrincipalAccessBoundaryPolicyResources;

my $msg = Google::Iam::V3beta::PrincipalAccessBoundaryPolicyResources::PrincipalAccessBoundaryPolicy->new({
    name => $name,
    uid => $uid,
    etag => $etag,
    display_name => $display_name,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Iam::V3beta::PrincipalAccessBoundaryPolicyResources::PrincipalAccessBoundaryPolicy->parse($bytes);

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

DESCRIPTION

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

MESSAGES

Google::Iam::V3beta::PrincipalAccessBoundaryPolicyResources::PrincipalAccessBoundaryPolicy

An IAM principal access boundary policy resource.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Identifier. The resource name of the principal access boundary policy.

    The following format is supported: `organizations/{organization_id}/locations/{location}/principalAccessBoundaryPolicies/{policy_id}`

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

    Type: String

    Output only. The globally unique ID of the principal access boundary policy.

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

    Type: String

    Optional. The etag for the principal access boundary. If this is provided on update, it must match the server's etag.

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

    Type: String

    Optional. The description of the principal access boundary policy. Must be less than or equal to 63 characters.

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

    Type: Message (Google::Iam::V3beta::PrincipalAccessBoundaryPolicyResources::PrincipalAccessBoundaryPolicy::AnnotationsEntry)

    Optional. User defined annotations. See https://google.aip.dev/148#annotations for more details such as format and size limitations

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

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

    Output only. The time when the principal access boundary policy was created.

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

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

    Output only. The time when the principal access boundary policy was most recently updated.

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

    Type: Message (Google::Iam::V3beta::PrincipalAccessBoundaryPolicyResources::PrincipalAccessBoundaryPolicyDetails)

    Optional. The details for the principal access boundary policy.

Google::Iam::V3beta::PrincipalAccessBoundaryPolicyResources::PrincipalAccessBoundaryPolicyDetails

Principal access boundary policy details

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Iam::V3beta::PrincipalAccessBoundaryPolicyResources::PrincipalAccessBoundaryPolicyRule)

    Required. A list of principal access boundary policy rules. The number of rules in a policy is limited to 500.

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

    Type: String

    Optional. The version number (for example, `1` or `latest`) that indicates which permissions are able to be blocked by the policy. If empty, the PAB policy version will be set to the most recent version number at the time of the policy's creation.

Google::Iam::V3beta::PrincipalAccessBoundaryPolicyResources::PrincipalAccessBoundaryPolicyRule

Principal access boundary policy rule that defines the resource boundary.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Optional. The description of the principal access boundary policy rule. Must be less than or equal to 256 characters.

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

    Type: String

    Required. A list of Resource Manager resources. If a resource is listed in the rule, then the rule applies for that resource and its descendants. The number of resources in a policy is limited to 500 across all rules in the policy.

    The following resource types are supported:

    * Organizations, such as `//cloudresourcemanager.googleapis.com/organizations/123`. * Folders, such as `//cloudresourcemanager.googleapis.com/folders/123`. * Projects, such as `//cloudresourcemanager.googleapis.com/projects/123` or `//cloudresourcemanager.googleapis.com/projects/my-project-id`.

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

    Type: Enum (Google::Iam::V3beta::PrincipalAccessBoundaryPolicyRule::Effect)

    Required. The access relationship of principals to the resources in this rule.

Enum: PrincipalAccessBoundaryPolicyRule::Effect

  • EFFECT_UNSPECIFIED => 0

  • ALLOW => 1

SEE ALSO

Protobuf, Protobuf::Message, Google::Iam::V3beta::PrincipalAccessBoundaryPolicyResources::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.