Identity and Access Management (IAM) V3BETA API - Class Google::Iam::V3beta::PrincipalAccessBoundaryPolicyRule (v0.1.0)
Reference documentation and code samples for the Identity and Access Management (IAM) V3BETA API class Google::Iam::V3beta::PrincipalAccessBoundaryPolicyRule.
Principal access boundary policy rule that defines the resource boundary.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#description
defdescription()->::String
Returns
(::String) — Optional. The description of the principal access boundary policy rule.
Must be less than or equal to 256 characters.
#description=
defdescription=(value)->::String
Parameter
value (::String) — Optional. The description of the principal access boundary policy rule.
Must be less than or equal to 256 characters.
Returns
(::String) — Optional. The description of the principal access boundary policy rule.
Must be less than or equal to 256 characters.
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.
#resources=
defresources=(value)->::Array<::String>
Parameter
value (::Array<::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.
Returns
(::Array<::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.
[[["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-28 UTC."],[],[],null,["# Identity and Access Management (IAM) V3BETA API - Class Google::Iam::V3beta::PrincipalAccessBoundaryPolicyRule (v0.1.0)\n\nReference documentation and code samples for the Identity and Access Management (IAM) V3BETA API class Google::Iam::V3beta::PrincipalAccessBoundaryPolicyRule.\n\nPrincipal access boundary policy rule that defines the resource boundary. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #description\n\n def description() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Optional. The description of the principal access boundary policy rule. Must be less than or equal to 256 characters.\n\n### #description=\n\n def description=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Optional. The description of the principal access boundary policy rule. Must be less than or equal to 256 characters. \n**Returns**\n\n- (::String) --- Optional. The description of the principal access boundary policy rule. Must be less than or equal to 256 characters.\n\n### #effect\n\n def effect() -\u003e ::Google::Iam::V3beta::PrincipalAccessBoundaryPolicyRule::Effect\n\n**Returns**\n\n- ([::Google::Iam::V3beta::PrincipalAccessBoundaryPolicyRule::Effect](./Google-Iam-V3beta-PrincipalAccessBoundaryPolicyRule-Effect)) --- Required. The access relationship of principals to the resources in this rule.\n\n### #effect=\n\n def effect=(value) -\u003e ::Google::Iam::V3beta::PrincipalAccessBoundaryPolicyRule::Effect\n\n**Parameter**\n\n- **value** ([::Google::Iam::V3beta::PrincipalAccessBoundaryPolicyRule::Effect](./Google-Iam-V3beta-PrincipalAccessBoundaryPolicyRule-Effect)) --- Required. The access relationship of principals to the resources in this rule. \n**Returns**\n\n- ([::Google::Iam::V3beta::PrincipalAccessBoundaryPolicyRule::Effect](./Google-Iam-V3beta-PrincipalAccessBoundaryPolicyRule-Effect)) --- Required. The access relationship of principals to the resources in this rule.\n\n### #resources\n\n def resources() -\u003e ::Array\u003c::String\u003e\n\n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- Required. A list of Resource Manager resources. If a resource is listed in\n the rule, then the rule applies for that resource and its descendants. The\n number of resources in a policy is limited to 500 across all rules in the\n policy.\n\n The following resource types are supported:\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`.\n\n### #resources=\n\n def resources=(value) -\u003e ::Array\u003c::String\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c::String\\\u003e) ---\n\n Required. A list of Resource Manager resources. If a resource is listed in\n the rule, then the rule applies for that resource and its descendants. The\n number of resources in a policy is limited to 500 across all rules in the\n policy.\n\n The following resource types are supported:\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`. \n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- Required. A list of Resource Manager resources. If a resource is listed in\n the rule, then the rule applies for that resource and its descendants. The\n number of resources in a policy is limited to 500 across all rules in the\n policy.\n\n The following resource types are supported:\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`."]]