1.0.0-beta25 (latest) 1.0.0-beta24

    public sealed class IdentityMappingEntry : IMessage<IdentityMappingEntry>, IEquatable<IdentityMappingEntry>, IDeepCloneable<IdentityMappingEntry>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1beta API class IdentityMappingEntry.

Identity Mapping Entry that maps an external identity to an internal
identity.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> IdentityMappingEntry

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[IdentityMappingEntry](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingEntry), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[IdentityMappingEntry](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingEntry), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[IdentityMappingEntry](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.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)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.DiscoveryEngine.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)

## Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

## Constructors

### IdentityMappingEntry()

    public IdentityMappingEntry()

### IdentityMappingEntry(IdentityMappingEntry)

    public IdentityMappingEntry(IdentityMappingEntry other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingEntry` |

## Properties

### ExternalIdentity

    public string ExternalIdentity { get; set; }

Required. Identity outside the customer identity provider.
The length limit of external identity will be of 100 characters.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ExternalIdentityName

    public string ExternalIdentityName { get; set; }

Optional. The name of the external identity.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### GroupId

    public string GroupId { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### HasGroupId

    public bool HasGroupId { get; }

Gets whether the "group_id" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasUserId

    public bool HasUserId { get; }

Gets whether the "user_id" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### IdentityProviderIdCase

    public IdentityMappingEntry.IdentityProviderIdOneofCase IdentityProviderIdCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingEntryhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.IdentityMappingEntry.IdentityProviderIdOneofCase` |   |

### UserId

    public string UserId { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |