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
def description() -> ::String
- (::String) — Optional. The description of the principal access boundary policy rule. Must be less than or equal to 256 characters.
#description=
def description=(value) -> ::String
- value (::String) — Optional. The description of the principal access boundary policy rule. Must be less than or equal to 256 characters.
- (::String) — Optional. The description of the principal access boundary policy rule. Must be less than or equal to 256 characters.
#effect
def effect() -> ::Google::Iam::V3beta::PrincipalAccessBoundaryPolicyRule::Effect
- (::Google::Iam::V3beta::PrincipalAccessBoundaryPolicyRule::Effect) — Required. The access relationship of principals to the resources in this rule.
#effect=
def effect=(value) -> ::Google::Iam::V3beta::PrincipalAccessBoundaryPolicyRule::Effect
- value (::Google::Iam::V3beta::PrincipalAccessBoundaryPolicyRule::Effect) — Required. The access relationship of principals to the resources in this rule.
- (::Google::Iam::V3beta::PrincipalAccessBoundaryPolicyRule::Effect) — Required. The access relationship of principals to the resources in this rule.
#resources
def resources() -> ::Array<::String>
-
(::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
.
- Organizations, such as
#resources=
def resources=(value) -> ::Array<::String>
-
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
.
- Organizations, such as
-
(::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
.
- Organizations, such as