# Interface AccessSettingsOrBuilder (0.49.0)

0.49.0 (latest) 0.47.0 0.44.0 0.43.0 0.41.0 0.39.0 0.38.0 0.37.0 0.36.0 0.34.0 0.32.0 0.31.0 0.30.0 0.29.0 0.28.0 0.26.0 0.24.0 0.23.0 0.20.0 0.19.0 0.18.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

    public interface AccessSettingsOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getAllowedDomainsSettings()

    public abstract AllowedDomainsSettings getAllowedDomainsSettings()

Optional. Settings to configure and enable allowed domains.

`
.google.cloud.iap.v1.AllowedDomainsSettings allowed_domains_settings = 7 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-iap/latest/com.google.cloud.iap.v1.AllowedDomainsSettings` | The allowedDomainsSettings. |

### getAllowedDomainsSettingsOrBuilder()

    public abstract AllowedDomainsSettingsOrBuilder getAllowedDomainsSettingsOrBuilder()

Optional. Settings to configure and enable allowed domains.

`
.google.cloud.iap.v1.AllowedDomainsSettings allowed_domains_settings = 7 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-iap/latest/com.google.cloud.iap.v1.AllowedDomainsSettingsOrBuilder` |   |

### getCorsSettings()

    public abstract CorsSettings getCorsSettings()

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

`
.google.cloud.iap.v1.CorsSettings cors_settings = 2 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-iap/latest/com.google.cloud.iap.v1.CorsSettings` | The corsSettings. |

### getCorsSettingsOrBuilder()

    public abstract CorsSettingsOrBuilder getCorsSettingsOrBuilder()

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

`
.google.cloud.iap.v1.CorsSettings cors_settings = 2 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-iap/latest/com.google.cloud.iap.v1.CorsSettingsOrBuilder` |   |

### getGcipSettings()

    public abstract GcipSettings getGcipSettings()

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

`
.google.cloud.iap.v1.GcipSettings gcip_settings = 1 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-iap/latest/com.google.cloud.iap.v1.GcipSettings` | The gcipSettings. |

### getGcipSettingsOrBuilder()

    public abstract GcipSettingsOrBuilder getGcipSettingsOrBuilder()

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

`
.google.cloud.iap.v1.GcipSettings gcip_settings = 1 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-iap/latest/com.google.cloud.iap.v1.GcipSettingsOrBuilder` |   |

### getIdentitySources(int index)

    public abstract AccessSettings.IdentitySource getIdentitySources(int index)

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

`
repeated .google.cloud.iap.v1.AccessSettings.IdentitySource identity_sources = 10 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-iap/latest/com.google.cloud.iap.v1.AccessSettings.IdentitySource` | The identitySources at the given index. |

### getIdentitySourcesCount()

    public abstract int getIdentitySourcesCount()

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

`
repeated .google.cloud.iap.v1.AccessSettings.IdentitySource identity_sources = 10 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The count of identitySources. |

### getIdentitySourcesList()

    public abstract List<AccessSettings.IdentitySource> getIdentitySourcesList()

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

`
repeated .google.cloud.iap.v1.AccessSettings.IdentitySource identity_sources = 10 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/google-cloud-iap/latest/com.google.cloud.iap.v1.AccessSettings.IdentitySource>` | A list containing the identitySources. |

### getIdentitySourcesValue(int index)

    public abstract int getIdentitySourcesValue(int index)

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

`
repeated .google.cloud.iap.v1.AccessSettings.IdentitySource identity_sources = 10 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire of identitySources at the given index. |

### getIdentitySourcesValueList()

    public abstract List<Integer> getIdentitySourcesValueList()

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

`
repeated .google.cloud.iap.v1.AccessSettings.IdentitySource identity_sources = 10 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html>` | A list containing the enum numeric values on the wire for identitySources. |

### getOauthSettings()

    public abstract OAuthSettings getOauthSettings()

Optional. Settings to configure IAP's OAuth behavior.

`
.google.cloud.iap.v1.OAuthSettings oauth_settings = 3 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-iap/latest/com.google.cloud.iap.v1.OAuthSettings` | The oauthSettings. |

### getOauthSettingsOrBuilder()

    public abstract OAuthSettingsOrBuilder getOauthSettingsOrBuilder()

Optional. Settings to configure IAP's OAuth behavior.

`
.google.cloud.iap.v1.OAuthSettings oauth_settings = 3 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-iap/latest/com.google.cloud.iap.v1.OAuthSettingsOrBuilder` |   |

### getReauthSettings()

    public abstract ReauthSettings getReauthSettings()

Optional. Settings to configure reauthentication policies in IAP.

`
.google.cloud.iap.v1.ReauthSettings reauth_settings = 6 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-iap/latest/com.google.cloud.iap.v1.ReauthSettings` | The reauthSettings. |

### getReauthSettingsOrBuilder()

    public abstract ReauthSettingsOrBuilder getReauthSettingsOrBuilder()

Optional. Settings to configure reauthentication policies in IAP.

`
.google.cloud.iap.v1.ReauthSettings reauth_settings = 6 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-iap/latest/com.google.cloud.iap.v1.ReauthSettingsOrBuilder` |   |

### getWorkforceIdentitySettings()

    public abstract WorkforceIdentitySettings getWorkforceIdentitySettings()

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

`
.google.cloud.iap.v1.WorkforceIdentitySettings workforce_identity_settings = 9 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-iap/latest/com.google.cloud.iap.v1.WorkforceIdentitySettings` | The workforceIdentitySettings. |

### getWorkforceIdentitySettingsOrBuilder()

    public abstract WorkforceIdentitySettingsOrBuilder getWorkforceIdentitySettingsOrBuilder()

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

`
.google.cloud.iap.v1.WorkforceIdentitySettings workforce_identity_settings = 9 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-iap/latest/com.google.cloud.iap.v1.WorkforceIdentitySettingsOrBuilder` |   |

### hasAllowedDomainsSettings()

    public abstract boolean hasAllowedDomainsSettings()

Optional. Settings to configure and enable allowed domains.

`
.google.cloud.iap.v1.AllowedDomainsSettings allowed_domains_settings = 7 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the allowedDomainsSettings field is set. |

### hasCorsSettings()

    public abstract boolean hasCorsSettings()

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

`
.google.cloud.iap.v1.CorsSettings cors_settings = 2 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the corsSettings field is set. |

### hasGcipSettings()

    public abstract boolean hasGcipSettings()

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

`
.google.cloud.iap.v1.GcipSettings gcip_settings = 1 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the gcipSettings field is set. |

### hasOauthSettings()

    public abstract boolean hasOauthSettings()

Optional. Settings to configure IAP's OAuth behavior.

`
.google.cloud.iap.v1.OAuthSettings oauth_settings = 3 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the oauthSettings field is set. |

### hasReauthSettings()

    public abstract boolean hasReauthSettings()

Optional. Settings to configure reauthentication policies in IAP.

`
.google.cloud.iap.v1.ReauthSettings reauth_settings = 6 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the reauthSettings field is set. |

### hasWorkforceIdentitySettings()

    public abstract boolean hasWorkforceIdentitySettings()

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

`
.google.cloud.iap.v1.WorkforceIdentitySettings workforce_identity_settings = 9 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the workforceIdentitySettings field is set. |