public sealed class BatchGetEffectiveIamPoliciesResponse : IMessage<BatchGetEffectiveIamPoliciesResponse>, IEquatable<BatchGetEffectiveIamPoliciesResponse>, IDeepCloneable<BatchGetEffectiveIamPoliciesResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Asset Inventory v1 API class BatchGetEffectiveIamPoliciesResponse.
A response message for
[AssetService.BatchGetEffectiveIamPolicies][google.cloud.asset.v1.AssetService.BatchGetEffectiveIamPolicies].
public RepeatedField<BatchGetEffectiveIamPoliciesResponse.Types.EffectiveIamPolicy> PolicyResults { get; }
The effective policies for a batch of resources. Note that the results
order is the same as the order of
[BatchGetEffectiveIamPoliciesRequest.names][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.names].
When a resource does not have any effective IAM policies, its corresponding
policy_result will contain empty
[EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
[[["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 webpage provides reference documentation for the \u003ccode\u003eBatchGetEffectiveIamPoliciesResponse\u003c/code\u003e class in the Google Cloud Asset Inventory v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the documentation is for version 3.12.0, with historical versions ranging down to 2.7.0 accessible on the page.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBatchGetEffectiveIamPoliciesResponse\u003c/code\u003e is a message class that is part of the response for the \u003ccode\u003eAssetService.BatchGetEffectiveIamPolicies\u003c/code\u003e API call.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBatchGetEffectiveIamPoliciesResponse\u003c/code\u003e class includes a \u003ccode\u003ePolicyResults\u003c/code\u003e property, which is a \u003ccode\u003eRepeatedField\u003c/code\u003e that contains effective IAM policies for a batch of resources.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBatchGetEffectiveIamPoliciesResponse\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple interfaces, including \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"]]],[],null,["# Google Cloud Asset Inventory v1 API - Class BatchGetEffectiveIamPoliciesResponse (3.13.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.13.0 (latest)](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.BatchGetEffectiveIamPoliciesResponse)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.12.0/Google.Cloud.Asset.V1.BatchGetEffectiveIamPoliciesResponse)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.11.0/Google.Cloud.Asset.V1.BatchGetEffectiveIamPoliciesResponse)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.10.0/Google.Cloud.Asset.V1.BatchGetEffectiveIamPoliciesResponse)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.9.0/Google.Cloud.Asset.V1.BatchGetEffectiveIamPoliciesResponse)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.8.0/Google.Cloud.Asset.V1.BatchGetEffectiveIamPoliciesResponse)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.7.0/Google.Cloud.Asset.V1.BatchGetEffectiveIamPoliciesResponse)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.6.0/Google.Cloud.Asset.V1.BatchGetEffectiveIamPoliciesResponse)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.5.0/Google.Cloud.Asset.V1.BatchGetEffectiveIamPoliciesResponse)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.4.0/Google.Cloud.Asset.V1.BatchGetEffectiveIamPoliciesResponse)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.3.0/Google.Cloud.Asset.V1.BatchGetEffectiveIamPoliciesResponse)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.2.0/Google.Cloud.Asset.V1.BatchGetEffectiveIamPoliciesResponse)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.1.0/Google.Cloud.Asset.V1.BatchGetEffectiveIamPoliciesResponse)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/3.0.0/Google.Cloud.Asset.V1.BatchGetEffectiveIamPoliciesResponse)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/2.11.0/Google.Cloud.Asset.V1.BatchGetEffectiveIamPoliciesResponse)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/2.10.0/Google.Cloud.Asset.V1.BatchGetEffectiveIamPoliciesResponse)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/2.9.0/Google.Cloud.Asset.V1.BatchGetEffectiveIamPoliciesResponse)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/2.8.0/Google.Cloud.Asset.V1.BatchGetEffectiveIamPoliciesResponse)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Asset.V1/2.7.0/Google.Cloud.Asset.V1.BatchGetEffectiveIamPoliciesResponse) \n\n public sealed class BatchGetEffectiveIamPoliciesResponse : IMessage\u003cBatchGetEffectiveIamPoliciesResponse\u003e, IEquatable\u003cBatchGetEffectiveIamPoliciesResponse\u003e, IDeepCloneable\u003cBatchGetEffectiveIamPoliciesResponse\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Asset Inventory v1 API class BatchGetEffectiveIamPoliciesResponse.\n\nA response message for\n\\[AssetService.BatchGetEffectiveIamPolicies\\]\\[google.cloud.asset.v1.AssetService.BatchGetEffectiveIamPolicies\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e BatchGetEffectiveIamPoliciesResponse \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[BatchGetEffectiveIamPoliciesResponse](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.BatchGetEffectiveIamPoliciesResponse), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[BatchGetEffectiveIamPoliciesResponse](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.BatchGetEffectiveIamPoliciesResponse), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[BatchGetEffectiveIamPoliciesResponse](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1.BatchGetEffectiveIamPoliciesResponse), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Asset.V1](/dotnet/docs/reference/Google.Cloud.Asset.V1/latest/Google.Cloud.Asset.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Asset.V1.dll\n\nConstructors\n------------\n\n### BatchGetEffectiveIamPoliciesResponse()\n\n public BatchGetEffectiveIamPoliciesResponse()\n\n### BatchGetEffectiveIamPoliciesResponse(BatchGetEffectiveIamPoliciesResponse)\n\n public BatchGetEffectiveIamPoliciesResponse(BatchGetEffectiveIamPoliciesResponse other)\n\nProperties\n----------\n\n### PolicyResults\n\n public RepeatedField\u003cBatchGetEffectiveIamPoliciesResponse.Types.EffectiveIamPolicy\u003e PolicyResults { get; }\n\nThe effective policies for a batch of resources. Note that the results\norder is the same as the order of\n\\[BatchGetEffectiveIamPoliciesRequest.names\\]\\[google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.names\\].\nWhen a resource does not have any effective IAM policies, its corresponding\npolicy_result will contain empty\n\\[EffectiveIamPolicy.policies\\]\\[google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies\\]."]]