# Google Cloud Iap V1 Client - Class AccessSettings (2.3.0)

2.3.0 (latest) 2.2.2 2.1.2 2.0.3 1.4.5 1.3.4 1.2.3 1.1.1 1.0.1 Reference documentation and code samples for the Google Cloud Iap V1 Client class AccessSettings.

Access related settings for IAP protected apps.

Generated from protobuf message `google.cloud.iap.v1.AccessSettings`

## Namespace

Google \\ Cloud \\ Iap \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ gcip_settings` | `https://docs.cloud.google.com/php/docs/reference/cloud-iap/latest/V1.GcipSettings` Optional. GCIP claims and endpoint configurations for 3p identity providers. |
| `↳ cors_settings` | `https://docs.cloud.google.com/php/docs/reference/cloud-iap/latest/V1.CorsSettings` Optional. Configuration to allow cross-origin requests via IAP. |
| `↳ oauth_settings` | `https://docs.cloud.google.com/php/docs/reference/cloud-iap/latest/V1.OAuthSettings` Optional. Settings to configure IAP's OAuth behavior. |
| `↳ reauth_settings` | `https://docs.cloud.google.com/php/docs/reference/cloud-iap/latest/V1.ReauthSettings` Optional. Settings to configure reauthentication policies in IAP. |
| `↳ allowed_domains_settings` | `https://docs.cloud.google.com/php/docs/reference/cloud-iap/latest/V1.AllowedDomainsSettings` Optional. Settings to configure and enable allowed domains. |
| `↳ workforce_identity_settings` | `https://docs.cloud.google.com/php/docs/reference/cloud-iap/latest/V1.WorkforceIdentitySettings` Optional. Settings to configure the workforce identity federation, including workforce pools and OAuth 2.0 settings. |
| `↳ identity_sources` | `int[]` Optional. Identity sources that IAP can use to authenticate the end user. Only one identity source can be configured. |

### getGcipSettings

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-iap/latest/V1.GcipSettings|null` |   |

### hasGcipSettings

### clearGcipSettings

### setGcipSettings

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-iap/latest/V1.GcipSettings` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCorsSettings

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-iap/latest/V1.CorsSettings|null` |   |

### hasCorsSettings

### clearCorsSettings

### setCorsSettings

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-iap/latest/V1.CorsSettings` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getOauthSettings

Optional. Settings to configure IAP's OAuth behavior.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-iap/latest/V1.OAuthSettings|null` |   |

### hasOauthSettings

### clearOauthSettings

### setOauthSettings

Optional. Settings to configure IAP's OAuth behavior.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-iap/latest/V1.OAuthSettings` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getReauthSettings

Optional. Settings to configure reauthentication policies in IAP.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-iap/latest/V1.ReauthSettings|null` |   |

### hasReauthSettings

### clearReauthSettings

### setReauthSettings

Optional. Settings to configure reauthentication policies in IAP.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-iap/latest/V1.ReauthSettings` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAllowedDomainsSettings

Optional. Settings to configure and enable allowed domains.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-iap/latest/V1.AllowedDomainsSettings|null` |   |

### hasAllowedDomainsSettings

### clearAllowedDomainsSettings

### setAllowedDomainsSettings

Optional. Settings to configure and enable allowed domains.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-iap/latest/V1.AllowedDomainsSettings` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getWorkforceIdentitySettings

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-iap/latest/V1.WorkforceIdentitySettings|null` |   |

### hasWorkforceIdentitySettings

### clearWorkforceIdentitySettings

### setWorkforceIdentitySettings

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-iap/latest/V1.WorkforceIdentitySettings` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getIdentitySources

Optional. Identity sources that IAP can use to authenticate the end user.

Only one identity source can be configured.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<int>` |   |

### setIdentitySources

Optional. Identity sources that IAP can use to authenticate the end user.

Only one identity source can be configured.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |