Reference documentation and code samples for the Google Cloud Iam V3 Client class PrincipalAccessBoundaryPolicyDetails.
Principal access boundary policy details
Generated from protobuf message google.iam.v3.PrincipalAccessBoundaryPolicyDetails
Namespace
Google \ Cloud \ Iam \ V3Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ rules |
array<PrincipalAccessBoundaryPolicyRule>
Required. A list of principal access boundary policy rules. The number of rules in a policy is limited to 500. |
↳ enforcement_version |
string
Optional. The version number (for example, |
getRules
Required. A list of principal access boundary policy rules. The number of rules in a policy is limited to 500.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setRules
Required. A list of principal access boundary policy rules. The number of rules in a policy is limited to 500.
Parameter | |
---|---|
Name | Description |
var |
array<PrincipalAccessBoundaryPolicyRule>
|
Returns | |
---|---|
Type | Description |
$this |
getEnforcementVersion
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 | |
---|---|
Type | Description |
string |
setEnforcementVersion
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.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |