public sealed class RemoveIamPolicyRequest : IMessage<RemoveIamPolicyRequest>, IEquatable<RemoveIamPolicyRequest>, IDeepCloneable<RemoveIamPolicyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Dataproc Metastore v1beta API class RemoveIamPolicyRequest.
Request message for
[DataprocMetastore.RemoveIamPolicy][google.cloud.metastore.v1beta.DataprocMetastore.RemoveIamPolicy].
Required. The relative resource name of the dataplane resource to remove
IAM policy, in the following form:
projects/{project_id}/locations/{location_id}/services/{service_id}/databases/{database_id}
or
projects/{project_id}/locations/{location_id}/services/{service_id}/databases/{database_id}/tables/{table_id}.
[[["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\u003eThe \u003ccode\u003eRemoveIamPolicyRequest\u003c/code\u003e class is used to request the removal of an IAM policy within the Dataproc Metastore v1beta API.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, offering methods for message handling, comparison, cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eThe request can be executed synchronously or asynchronously, determined by the \u003ccode\u003eAsynchronous\u003c/code\u003e property, with \u003ccode\u003efalse\u003c/code\u003e being the default behavior.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eResource\u003c/code\u003e property specifies the target resource, either a database or a table, from which the IAM policy should be removed.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available to initiate the class, either with an empty instantiation or with the use of another already existing \u003ccode\u003eRemoveIamPolicyRequest\u003c/code\u003e object as a parameter to create a duplicate.\u003c/p\u003e\n"]]],[],null,["# Dataproc Metastore v1beta API - Class RemoveIamPolicyRequest (2.0.0-beta11)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta11 (latest)](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.RemoveIamPolicyRequest)\n- [2.0.0-beta10](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/2.0.0-beta10/Google.Cloud.Metastore.V1Beta.RemoveIamPolicyRequest)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/1.0.0-beta02/Google.Cloud.Metastore.V1Beta.RemoveIamPolicyRequest) \n\n public sealed class RemoveIamPolicyRequest : IMessage\u003cRemoveIamPolicyRequest\u003e, IEquatable\u003cRemoveIamPolicyRequest\u003e, IDeepCloneable\u003cRemoveIamPolicyRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Dataproc Metastore v1beta API class RemoveIamPolicyRequest.\n\nRequest message for\n\\[DataprocMetastore.RemoveIamPolicy\\]\\[google.cloud.metastore.v1beta.DataprocMetastore.RemoveIamPolicy\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e RemoveIamPolicyRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[RemoveIamPolicyRequest](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.RemoveIamPolicyRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RemoveIamPolicyRequest](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.RemoveIamPolicyRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[RemoveIamPolicyRequest](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.RemoveIamPolicyRequest), [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.Metastore.V1Beta](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.Metastore.V1Beta.dll\n\nConstructors\n------------\n\n### RemoveIamPolicyRequest()\n\n public RemoveIamPolicyRequest()\n\n### RemoveIamPolicyRequest(RemoveIamPolicyRequest)\n\n public RemoveIamPolicyRequest(RemoveIamPolicyRequest other)\n\nProperties\n----------\n\n### Asynchronous\n\n public bool Asynchronous { get; set; }\n\nOptional. Removes IAM policy attached to database or table asynchronously\nwhen it is set. The default is false.\n\n### Resource\n\n public string Resource { get; set; }\n\nRequired. The relative resource name of the dataplane resource to remove\nIAM policy, in the following form:\n\n`projects/{project_id}/locations/{location_id}/services/{service_id}/databases/{database_id}`\nor\n`projects/{project_id}/locations/{location_id}/services/{service_id}/databases/{database_id}/tables/{table_id}`.\n\n### ResourceAsResourceName\n\n public IResourceName ResourceAsResourceName { get; set; }\n\n[IResourceName](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax/IResourceName.cs)-typed view over the [Resource](/dotnet/docs/reference/Google.Cloud.Metastore.V1Beta/latest/Google.Cloud.Metastore.V1Beta.RemoveIamPolicyRequest#Google_Cloud_Metastore_V1Beta_RemoveIamPolicyRequest_Resource) resource name property."]]