# Identity and Access Management (IAM) V3BETA API - Class Google::Iam::V3beta::PrincipalAccessBoundaryPolicyDetails (v0.7.0)

0.7.0 (latest) 0.6.0 0.4.1 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Identity and Access Management (IAM) V3BETA API class Google::Iam::V3beta::PrincipalAccessBoundaryPolicyDetails.

Principal access boundary policy details

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #enforcement_version

    def enforcement_version() -> ::String

**Returns**

- (::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.

### #enforcement_version=

    def enforcement_version=(value) -> ::String

**Parameter**

- **value** (::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.
**Returns**

- (::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.

### #rules

    def rules() -> ::Array<::Google::Iam::V3beta::PrincipalAccessBoundaryPolicyRule>

**Returns**

- (::Array\<[::Google::Iam::V3beta::PrincipalAccessBoundaryPolicyRule](https://docs.cloud.google.com/ruby/docs/reference/google-iam-v3beta/latest/Google-Iam-V3beta-PrincipalAccessBoundaryPolicyRule)\>) --- Required. A list of principal access boundary policy rules. The number of rules in a policy is limited to 500.

### #rules=

    def rules=(value) -> ::Array<::Google::Iam::V3beta::PrincipalAccessBoundaryPolicyRule>

**Parameter**

- **value** (::Array\<[::Google::Iam::V3beta::PrincipalAccessBoundaryPolicyRule](https://docs.cloud.google.com/ruby/docs/reference/google-iam-v3beta/latest/Google-Iam-V3beta-PrincipalAccessBoundaryPolicyRule)\>) --- Required. A list of principal access boundary policy rules. The number of rules in a policy is limited to 500.
**Returns**

- (::Array\<[::Google::Iam::V3beta::PrincipalAccessBoundaryPolicyRule](https://docs.cloud.google.com/ruby/docs/reference/google-iam-v3beta/latest/Google-Iam-V3beta-PrincipalAccessBoundaryPolicyRule)\>) --- Required. A list of principal access boundary policy rules. The number of rules in a policy is limited to 500.