# Identity-Aware Proxy V1 API - Class Google::Cloud::Iap::V1::AccessSettings (v1.8.0)

1.8.0 (latest) 1.7.1 1.6.0 1.5.1 1.4.1 1.3.1 1.2.0 1.1.0 1.0.1 0.12.0 0.11.2 0.10.1 0.9.0 0.8.1 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.3 Reference documentation and code samples for the Identity-Aware Proxy V1 API class Google::Cloud::Iap::V1::AccessSettings.

Access related settings for IAP protected apps.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #allowed_domains_settings

    def allowed_domains_settings() -> ::Google::Cloud::Iap::V1::AllowedDomainsSettings

**Returns**

- ([::Google::Cloud::Iap::V1::AllowedDomainsSettings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-AllowedDomainsSettings)) --- Optional. Settings to configure and enable allowed domains.

### #allowed_domains_settings=

    def allowed_domains_settings=(value) -> ::Google::Cloud::Iap::V1::AllowedDomainsSettings

**Parameter**

- **value** ([::Google::Cloud::Iap::V1::AllowedDomainsSettings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-AllowedDomainsSettings)) --- Optional. Settings to configure and enable allowed domains.
**Returns**

- ([::Google::Cloud::Iap::V1::AllowedDomainsSettings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-AllowedDomainsSettings)) --- Optional. Settings to configure and enable allowed domains.

### #cors_settings

    def cors_settings() -> ::Google::Cloud::Iap::V1::CorsSettings

**Returns**

- ([::Google::Cloud::Iap::V1::CorsSettings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-CorsSettings)) --- Optional. Configuration to allow cross-origin requests via IAP.

### #cors_settings=

    def cors_settings=(value) -> ::Google::Cloud::Iap::V1::CorsSettings

**Parameter**

- **value** ([::Google::Cloud::Iap::V1::CorsSettings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-CorsSettings)) --- Optional. Configuration to allow cross-origin requests via IAP.
**Returns**

- ([::Google::Cloud::Iap::V1::CorsSettings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-CorsSettings)) --- Optional. Configuration to allow cross-origin requests via IAP.

### #gcip_settings

    def gcip_settings() -> ::Google::Cloud::Iap::V1::GcipSettings

**Returns**

- ([::Google::Cloud::Iap::V1::GcipSettings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-GcipSettings)) --- Optional. GCIP claims and endpoint configurations for 3p identity providers.

### #gcip_settings=

    def gcip_settings=(value) -> ::Google::Cloud::Iap::V1::GcipSettings

**Parameter**

- **value** ([::Google::Cloud::Iap::V1::GcipSettings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-GcipSettings)) --- Optional. GCIP claims and endpoint configurations for 3p identity providers.
**Returns**

- ([::Google::Cloud::Iap::V1::GcipSettings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-GcipSettings)) --- Optional. GCIP claims and endpoint configurations for 3p identity providers.

### #identity_sources

    def identity_sources() -> ::Array<::Google::Cloud::Iap::V1::AccessSettings::IdentitySource>

**Returns**

- (::Array\<[::Google::Cloud::Iap::V1::AccessSettings::IdentitySource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-AccessSettings-IdentitySource)\>) --- Optional. Identity sources that IAP can use to authenticate the end user. Only one identity source can be configured.

### #identity_sources=

    def identity_sources=(value) -> ::Array<::Google::Cloud::Iap::V1::AccessSettings::IdentitySource>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Iap::V1::AccessSettings::IdentitySource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-AccessSettings-IdentitySource)\>) --- Optional. Identity sources that IAP can use to authenticate the end user. Only one identity source can be configured.
**Returns**

- (::Array\<[::Google::Cloud::Iap::V1::AccessSettings::IdentitySource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-AccessSettings-IdentitySource)\>) --- Optional. Identity sources that IAP can use to authenticate the end user. Only one identity source can be configured.

### #oauth_settings

    def oauth_settings() -> ::Google::Cloud::Iap::V1::OAuthSettings

**Returns**

- ([::Google::Cloud::Iap::V1::OAuthSettings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-OAuthSettings)) --- Optional. Settings to configure IAP's OAuth behavior.

### #oauth_settings=

    def oauth_settings=(value) -> ::Google::Cloud::Iap::V1::OAuthSettings

**Parameter**

- **value** ([::Google::Cloud::Iap::V1::OAuthSettings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-OAuthSettings)) --- Optional. Settings to configure IAP's OAuth behavior.
**Returns**

- ([::Google::Cloud::Iap::V1::OAuthSettings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-OAuthSettings)) --- Optional. Settings to configure IAP's OAuth behavior.

### #reauth_settings

    def reauth_settings() -> ::Google::Cloud::Iap::V1::ReauthSettings

**Returns**

- ([::Google::Cloud::Iap::V1::ReauthSettings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-ReauthSettings)) --- Optional. Settings to configure reauthentication policies in IAP.

### #reauth_settings=

    def reauth_settings=(value) -> ::Google::Cloud::Iap::V1::ReauthSettings

**Parameter**

- **value** ([::Google::Cloud::Iap::V1::ReauthSettings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-ReauthSettings)) --- Optional. Settings to configure reauthentication policies in IAP.
**Returns**

- ([::Google::Cloud::Iap::V1::ReauthSettings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-ReauthSettings)) --- Optional. Settings to configure reauthentication policies in IAP.

### #workforce_identity_settings

    def workforce_identity_settings() -> ::Google::Cloud::Iap::V1::WorkforceIdentitySettings

**Returns**

- ([::Google::Cloud::Iap::V1::WorkforceIdentitySettings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-WorkforceIdentitySettings)) --- Optional. Settings to configure the workforce identity federation, including workforce pools and OAuth 2.0 settings.

### #workforce_identity_settings=

    def workforce_identity_settings=(value) -> ::Google::Cloud::Iap::V1::WorkforceIdentitySettings

**Parameter**

- **value** ([::Google::Cloud::Iap::V1::WorkforceIdentitySettings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-WorkforceIdentitySettings)) --- Optional. Settings to configure the workforce identity federation, including workforce pools and OAuth 2.0 settings.
**Returns**

- ([::Google::Cloud::Iap::V1::WorkforceIdentitySettings](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-WorkforceIdentitySettings)) --- Optional. Settings to configure the workforce identity federation, including workforce pools and OAuth 2.0 settings.