public sealed class PolicyInfo : IMessage<BatchGetEffectiveIamPoliciesResponse.Types.EffectiveIamPolicy.Types.PolicyInfo>, IEquatable<BatchGetEffectiveIamPoliciesResponse.Types.EffectiveIamPolicy.Types.PolicyInfo>, IDeepCloneable<BatchGetEffectiveIamPoliciesResponse.Types.EffectiveIamPolicy.Types.PolicyInfo>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Asset Inventory v1 API class BatchGetEffectiveIamPoliciesResponse.Types.EffectiveIamPolicy.Types.PolicyInfo.
The full resource name the
[policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy]
is directly attached to.
The IAM policy that's directly attached to the
[attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003ePolicyInfo\u003c/code\u003e class within the Google Cloud Asset Inventory v1 API, specifically for the \u003ccode\u003eBatchGetEffectiveIamPoliciesResponse.Types.EffectiveIamPolicy.Types\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePolicyInfo\u003c/code\u003e class represents an IAM policy and the resource it's attached to, implementing interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version is \u003ccode\u003e3.12.0\u003c/code\u003e, with older versions listed down to \u003ccode\u003e2.7.0\u003c/code\u003e for the Google Cloud Asset Inventory v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePolicyInfo\u003c/code\u003e class has two key properties: \u003ccode\u003eAttachedResource\u003c/code\u003e, which is a string that holds the name of the resource the policy is attached to, and \u003ccode\u003ePolicy\u003c/code\u003e, which is of type \u003ccode\u003ePolicy\u003c/code\u003e and represents the IAM policy.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePolicyInfo\u003c/code\u003e has two constructors, a parameterless constructor, and one that receives another \u003ccode\u003ePolicyInfo\u003c/code\u003e as a parameter.\u003c/p\u003e\n"]]],[],null,[]]