Identity and Access Management (IAM) v3beta API - Class PrincipalAccessBoundaryPolicyRule (1.0.0-beta01)
public sealed class PrincipalAccessBoundaryPolicyRule : IMessage<PrincipalAccessBoundaryPolicyRule>, IEquatable<PrincipalAccessBoundaryPolicyRule>, IDeepCloneable<PrincipalAccessBoundaryPolicyRule>, IBufferMessage, IMessage
Reference documentation and code samples for the Identity and Access Management (IAM) v3beta API class PrincipalAccessBoundaryPolicyRule.
Principal access boundary policy rule that defines the resource boundary.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Identity and Access Management (IAM) v3beta API - Class PrincipalAccessBoundaryPolicyRule (1.0.0-beta01)\n\n public sealed class PrincipalAccessBoundaryPolicyRule : IMessage\u003cPrincipalAccessBoundaryPolicyRule\u003e, IEquatable\u003cPrincipalAccessBoundaryPolicyRule\u003e, IDeepCloneable\u003cPrincipalAccessBoundaryPolicyRule\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Identity and Access Management (IAM) v3beta API class PrincipalAccessBoundaryPolicyRule.\n\nPrincipal access boundary policy rule that defines the resource boundary. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e PrincipalAccessBoundaryPolicyRule \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[PrincipalAccessBoundaryPolicyRule](/dotnet/docs/reference/Google.Cloud.Iam.V3Beta/latest/Google.Cloud.Iam.V3Beta.PrincipalAccessBoundaryPolicyRule), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PrincipalAccessBoundaryPolicyRule](/dotnet/docs/reference/Google.Cloud.Iam.V3Beta/latest/Google.Cloud.Iam.V3Beta.PrincipalAccessBoundaryPolicyRule), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[PrincipalAccessBoundaryPolicyRule](/dotnet/docs/reference/Google.Cloud.Iam.V3Beta/latest/Google.Cloud.Iam.V3Beta.PrincipalAccessBoundaryPolicyRule), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Iam.V3Beta](/dotnet/docs/reference/Google.Cloud.Iam.V3Beta/latest/Google.Cloud.Iam.V3Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.Iam.V3Beta.dll\n\nConstructors\n------------\n\n### PrincipalAccessBoundaryPolicyRule()\n\n public PrincipalAccessBoundaryPolicyRule()\n\n### PrincipalAccessBoundaryPolicyRule(PrincipalAccessBoundaryPolicyRule)\n\n public PrincipalAccessBoundaryPolicyRule(PrincipalAccessBoundaryPolicyRule other)\n\nProperties\n----------\n\n### Description\n\n public string Description { get; set; }\n\nOptional. The description of the principal access boundary policy rule.\nMust be less than or equal to 256 characters.\n\n### Effect\n\n public PrincipalAccessBoundaryPolicyRule.Types.Effect Effect { get; set; }\n\nRequired. The access relationship of principals to the resources in this\nrule.\n\n### Resources\n\n public RepeatedField\u003cstring\u003e Resources { get; }\n\nRequired. A list of Resource Manager resources. If a resource is listed in\nthe rule, then the rule applies for that resource and its descendants. The\nnumber of resources in a policy is limited to 500 across all rules in the\npolicy.\n\nThe following resource types are supported:\n\n- Organizations, such as `//cloudresourcemanager.googleapis.com/organizations/123`.\n- Folders, such as `//cloudresourcemanager.googleapis.com/folders/123`.\n- Projects, such as `//cloudresourcemanager.googleapis.com/projects/123` or `//cloudresourcemanager.googleapis.com/projects/my-project-id`."]]