Class: Google::Iam::V3beta::PrincipalAccessBoundaryPolicyRule

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/iam/v3beta/principal_access_boundary_policy_resources.rb

Overview

Principal access boundary policy rule that defines the resource boundary.

Defined Under Namespace

Modules: Effect

Instance Attribute Summary collapse

Instance Attribute Details

#description::String

Returns 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.



112
113
114
115
116
117
118
119
120
121
122
123
124
# File 'proto_docs/google/iam/v3beta/principal_access_boundary_policy_resources.rb', line 112

class PrincipalAccessBoundaryPolicyRule
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # An effect to describe the access relationship.
  module Effect
    # Effect unspecified.
    EFFECT_UNSPECIFIED = 0

    # Allows access to the resources in this rule.
    ALLOW = 1
  end
end

#effect::Google::Iam::V3beta::PrincipalAccessBoundaryPolicyRule::Effect

Returns Required. The access relationship of principals to the resources in this rule.

Returns:



112
113
114
115
116
117
118
119
120
121
122
123
124
# File 'proto_docs/google/iam/v3beta/principal_access_boundary_policy_resources.rb', line 112

class PrincipalAccessBoundaryPolicyRule
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # An effect to describe the access relationship.
  module Effect
    # Effect unspecified.
    EFFECT_UNSPECIFIED = 0

    # Allows access to the resources in this rule.
    ALLOW = 1
  end
end

#resources::Array<::String>

Returns 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.


112
113
114
115
116
117
118
119
120
121
122
123
124
# File 'proto_docs/google/iam/v3beta/principal_access_boundary_policy_resources.rb', line 112

class PrincipalAccessBoundaryPolicyRule
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # An effect to describe the access relationship.
  module Effect
    # Effect unspecified.
    EFFECT_UNSPECIFIED = 0

    # Allows access to the resources in this rule.
    ALLOW = 1
  end
end