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

Allows customers to configure HTTP request paths that'll allow HTTP
`OPTIONS` call to bypass authentication and authorization.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #allow_http_options

    def allow_http_options() -> ::Google::Protobuf::BoolValue

**Returns**

- ([::Google::Protobuf::BoolValue](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Protobuf-BoolValue)) --- Configuration to allow HTTP `OPTIONS` calls to skip authentication and authorization. If undefined, IAP will not apply any special logic to `OPTIONS` requests.

### #allow_http_options=

    def allow_http_options=(value) -> ::Google::Protobuf::BoolValue

**Parameter**

- **value** ([::Google::Protobuf::BoolValue](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Protobuf-BoolValue)) --- Configuration to allow HTTP `OPTIONS` calls to skip authentication and authorization. If undefined, IAP will not apply any special logic to `OPTIONS` requests.
**Returns**

- ([::Google::Protobuf::BoolValue](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Protobuf-BoolValue)) --- Configuration to allow HTTP `OPTIONS` calls to skip authentication and authorization. If undefined, IAP will not apply any special logic to `OPTIONS` requests.