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

def description() -> ::String
Returns
  • (::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
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.

#effect

def effect() -> ::Google::Iam::V3beta::PrincipalAccessBoundaryPolicyRule::Effect
Returns

#effect=

def effect=(value) -> ::Google::Iam::V3beta::PrincipalAccessBoundaryPolicyRule::Effect
Parameter
Returns

#resources

def resources() -> ::Array<::String>
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.

#resources=

def resources=(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.