Class: Google::Cloud::PolicyTroubleshooter::Iam::V3::ExplainedDenyPolicy

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/policytroubleshooter/iam/v3/troubleshooter.rb

Overview

Details about how a specific IAM deny policy Policy contributed to the access check.

Instance Attribute Summary collapse

Instance Attribute Details

#deny_access_state::Google::Cloud::PolicyTroubleshooter::Iam::V3::DenyAccessState

Returns Required. Indicates whether this policy denies the specified permission to the specified principal for the specified resource.

This field does not indicate whether the principal actually has the permission for the resource. There might be another policy that overrides this policy. To determine whether the principal actually has the permission, use the overall_access_state field in the TroubleshootIamPolicyResponse.

Returns:

  • (::Google::Cloud::PolicyTroubleshooter::Iam::V3::DenyAccessState)

    Required. Indicates whether this policy denies the specified permission to the specified principal for the specified resource.

    This field does not indicate whether the principal actually has the permission for the resource. There might be another policy that overrides this policy. To determine whether the principal actually has the permission, use the overall_access_state field in the TroubleshootIamPolicyResponse.



519
520
521
522
# File 'proto_docs/google/cloud/policytroubleshooter/iam/v3/troubleshooter.rb', line 519

class ExplainedDenyPolicy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#policy::Google::Iam::V2::Policy

Returns The IAM deny policy attached to the resource.

If the sender of the request does not have access to the policy, this field is omitted.

Returns:

  • (::Google::Iam::V2::Policy)

    The IAM deny policy attached to the resource.

    If the sender of the request does not have access to the policy, this field is omitted.



519
520
521
522
# File 'proto_docs/google/cloud/policytroubleshooter/iam/v3/troubleshooter.rb', line 519

class ExplainedDenyPolicy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#relevance::Google::Cloud::PolicyTroubleshooter::Iam::V3::HeuristicRelevance

Returns The relevance of this policy to the overall access state in the TroubleshootIamPolicyResponse.

If the sender of the request does not have access to the policy, this field is omitted.

Returns:



519
520
521
522
# File 'proto_docs/google/cloud/policytroubleshooter/iam/v3/troubleshooter.rb', line 519

class ExplainedDenyPolicy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#rule_explanations::Array<::Google::Cloud::PolicyTroubleshooter::Iam::V3::DenyRuleExplanation>

Returns Details about how each rule in the policy affects the principal's inability to use the permission for the resource. The order of the deny rule matches the order of the rules in the deny policy.

If the sender of the request does not have access to the policy, this field is omitted.

Returns:

  • (::Array<::Google::Cloud::PolicyTroubleshooter::Iam::V3::DenyRuleExplanation>)

    Details about how each rule in the policy affects the principal's inability to use the permission for the resource. The order of the deny rule matches the order of the rules in the deny policy.

    If the sender of the request does not have access to the policy, this field is omitted.



519
520
521
522
# File 'proto_docs/google/cloud/policytroubleshooter/iam/v3/troubleshooter.rb', line 519

class ExplainedDenyPolicy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end