public sealed class IdentityMappingEntry : IMessage<IdentityMappingEntry>, IEquatable<IdentityMappingEntry>, IDeepCloneable<IdentityMappingEntry>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class IdentityMappingEntry.
Identity Mapping Entry that maps an external identity to an internal
identity.
Group identifier.
For Google Workspace user account, group_id should be the google
workspace group email.
For non-google identity provider, group_id is the mapped group identifier
configured during the workforcepool config.
User identifier.
For Google Workspace user account, user_id should be the google workspace
user email.
For non-google identity provider, user_id is the mapped user identifier
configured during the workforcepool config.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Discovery Engine v1 API - Class IdentityMappingEntry (1.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.IdentityMappingEntry)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.8.0/Google.Cloud.DiscoveryEngine.V1.IdentityMappingEntry)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.7.0/Google.Cloud.DiscoveryEngine.V1.IdentityMappingEntry)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.6.0/Google.Cloud.DiscoveryEngine.V1.IdentityMappingEntry)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.5.0/Google.Cloud.DiscoveryEngine.V1.IdentityMappingEntry)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.4.0/Google.Cloud.DiscoveryEngine.V1.IdentityMappingEntry)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.3.0/Google.Cloud.DiscoveryEngine.V1.IdentityMappingEntry)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.2.0/Google.Cloud.DiscoveryEngine.V1.IdentityMappingEntry)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.1.0/Google.Cloud.DiscoveryEngine.V1.IdentityMappingEntry)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.0.0-beta06/Google.Cloud.DiscoveryEngine.V1.IdentityMappingEntry) \n\n public sealed class IdentityMappingEntry : IMessage\u003cIdentityMappingEntry\u003e, IEquatable\u003cIdentityMappingEntry\u003e, IDeepCloneable\u003cIdentityMappingEntry\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1 API class IdentityMappingEntry.\n\nIdentity Mapping Entry that maps an external identity to an internal\nidentity. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e IdentityMappingEntry \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[IdentityMappingEntry](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.IdentityMappingEntry), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[IdentityMappingEntry](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.IdentityMappingEntry), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[IdentityMappingEntry](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.IdentityMappingEntry), [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.DiscoveryEngine.V1](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1.dll\n\nConstructors\n------------\n\n### IdentityMappingEntry()\n\n public IdentityMappingEntry()\n\n### IdentityMappingEntry(IdentityMappingEntry)\n\n public IdentityMappingEntry(IdentityMappingEntry other)\n\nProperties\n----------\n\n### ExternalIdentity\n\n public string ExternalIdentity { get; set; }\n\nRequired. Identity outside the customer identity provider.\nThe length limit of external identity will be of 100 characters.\n\n### GroupId\n\n public string GroupId { get; set; }\n\nGroup identifier.\nFor Google Workspace user account, group_id should be the google\nworkspace group email.\nFor non-google identity provider, group_id is the mapped group identifier\nconfigured during the workforcepool config.\n\n### HasGroupId\n\n public bool HasGroupId { get; }\n\nGets whether the \"group_id\" field is set\n\n### HasUserId\n\n public bool HasUserId { get; }\n\nGets whether the \"user_id\" field is set\n\n### IdentityProviderIdCase\n\n public IdentityMappingEntry.IdentityProviderIdOneofCase IdentityProviderIdCase { get; }\n\n### UserId\n\n public string UserId { get; set; }\n\nUser identifier.\nFor Google Workspace user account, user_id should be the google workspace\nuser email.\nFor non-google identity provider, user_id is the mapped user identifier\nconfigured during the workforcepool config."]]