Reference documentation and code samples for the IAM Policy Troubleshooter V1 API class Google::Cloud::PolicyTroubleshooter::V1::TroubleshootIamPolicyResponse.
Response for TroubleshootIamPolicy.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#access
def access() -> ::Google::Cloud::PolicyTroubleshooter::V1::AccessState
- (::Google::Cloud::PolicyTroubleshooter::V1::AccessState) — Indicates whether the principal has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.
#access=
def access=(value) -> ::Google::Cloud::PolicyTroubleshooter::V1::AccessState
- value (::Google::Cloud::PolicyTroubleshooter::V1::AccessState) — Indicates whether the principal has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.
- (::Google::Cloud::PolicyTroubleshooter::V1::AccessState) — Indicates whether the principal has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.
#errors
def errors() -> ::Array<::Google::Rpc::Status>
- (::Array<::Google::Rpc::Status>) — The general errors contained in the troubleshooting response.
#errors=
def errors=(value) -> ::Array<::Google::Rpc::Status>
- value (::Array<::Google::Rpc::Status>) — The general errors contained in the troubleshooting response.
- (::Array<::Google::Rpc::Status>) — The general errors contained in the troubleshooting response.
#explained_policies
def explained_policies() -> ::Array<::Google::Cloud::PolicyTroubleshooter::V1::ExplainedPolicy>
-
(::Array<::Google::Cloud::PolicyTroubleshooter::V1::ExplainedPolicy>) — List of IAM policies that were evaluated to check the principal's
permissions, with annotations to indicate how each policy contributed to
the final result.
The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project.
To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
#explained_policies=
def explained_policies=(value) -> ::Array<::Google::Cloud::PolicyTroubleshooter::V1::ExplainedPolicy>
-
value (::Array<::Google::Cloud::PolicyTroubleshooter::V1::ExplainedPolicy>) — List of IAM policies that were evaluated to check the principal's
permissions, with annotations to indicate how each policy contributed to
the final result.
The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project.
To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.
-
(::Array<::Google::Cloud::PolicyTroubleshooter::V1::ExplainedPolicy>) — List of IAM policies that were evaluated to check the principal's
permissions, with annotations to indicate how each policy contributed to
the final result.
The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project.
To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.