Reference documentation and code samples for the Google Cloud Iam V3 Client class PrincipalAccessBoundaryPolicyRule.
Principal access boundary policy rule that defines the resource boundary.
Generated from protobuf message google.iam.v3.PrincipalAccessBoundaryPolicyRule
Namespace
Google \ Cloud \ Iam \ V3Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ description
string
Optional. The description of the principal access boundary policy rule. Must be less than or equal to 256 characters.
↳ resources
array
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
.
↳ effect
int
Required. The access relationship of principals to the resources in this rule.
getDescription
Optional. The description of the principal access boundary policy rule.
Must be less than or equal to 256 characters.
string
setDescription
Optional. The description of the principal access boundary policy rule.
Must be less than or equal to 256 characters.
var
string
$this
getResources
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/123or//cloudresourcemanager.googleapis.com/projects/my-project-id.
setResources
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/123or//cloudresourcemanager.googleapis.com/projects/my-project-id.
var
string[]
$this
getEffect
Required. The access relationship of principals to the resources in this rule.
setEffect
Required. The access relationship of principals to the resources in this rule.
$this

