# Cloud Identity-Aware Proxy v1 API - Class AccessSettings (2.10.0)

2.10.0 (latest) 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.2.0 1.1.0 1.0.0

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

Reference documentation and code samples for the Cloud Identity-Aware Proxy v1 API class AccessSettings.

Access related settings for IAP protected apps.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.Iap.V1.dll

## Constructors

### AccessSettings()

    public AccessSettings()

### AccessSettings(AccessSettings)

    public AccessSettings(AccessSettings other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iap.V1/latest/Google.Cloud.Iap.V1.AccessSettings` |

## Properties

### AllowedDomainsSettings

    public AllowedDomainsSettings AllowedDomainsSettings { get; set; }

Optional. Settings to configure and enable allowed domains.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iap.V1/latest/Google.Cloud.Iap.V1.AllowedDomainsSettings` |   |

### CorsSettings

    public CorsSettings CorsSettings { get; set; }

Optional. Configuration to allow cross-origin requests via IAP.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iap.V1/latest/Google.Cloud.Iap.V1.CorsSettings` |   |

### GcipSettings

    public GcipSettings GcipSettings { get; set; }

Optional. GCIP claims and endpoint configurations for 3p identity
providers.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iap.V1/latest/Google.Cloud.Iap.V1.GcipSettings` |   |

### IdentitySources

    public RepeatedField<AccessSettings.Types.IdentitySource> IdentitySources { get; }

Optional. Identity sources that IAP can use to authenticate the end user.
Only one identity source can be configured.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iap.V1/latest/Google.Cloud.Iap.V1.AccessSettingshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iap.V1/latest/Google.Cloud.Iap.V1.AccessSettings.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iap.V1/latest/Google.Cloud.Iap.V1.AccessSettings.Types.IdentitySource` |   |

### OauthSettings

    public OAuthSettings OauthSettings { get; set; }

Optional. Settings to configure IAP's OAuth behavior.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iap.V1/latest/Google.Cloud.Iap.V1.OAuthSettings` |   |

### ReauthSettings

    public ReauthSettings ReauthSettings { get; set; }

Optional. Settings to configure reauthentication policies in IAP.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iap.V1/latest/Google.Cloud.Iap.V1.ReauthSettings` |   |

### WorkforceIdentitySettings

    public WorkforceIdentitySettings WorkforceIdentitySettings { get; set; }

Optional. Settings to configure the workforce identity federation,
including workforce pools and OAuth 2.0 settings.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Iap.V1/latest/Google.Cloud.Iap.V1.WorkforceIdentitySettings` |   |