# Identity-Aware Proxy V1 API - Class Google::Cloud::Iap::V1::AllowedDomainsSettings (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::AllowedDomainsSettings.

Configuration for IAP allowed domains. Lets you to restrict access to an app
and allow access to only the domains that you list.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #domains

    def domains() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- Optional. List of trusted domains.

### #domains=

    def domains=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- Optional. List of trusted domains.
**Returns**

- (::Array\<::String\>) --- Optional. List of trusted domains.

### #enable

    def enable() -> ::Boolean

**Returns**

- (::Boolean) --- Optional. Configuration for customers to opt in for the feature.

### #enable=

    def enable=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Optional. Configuration for customers to opt in for the feature.
**Returns**

- (::Boolean) --- Optional. Configuration for customers to opt in for the feature.