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

Configuration for IAP reauthentication policies.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #max_age

    def max_age() -> ::Google::Protobuf::Duration

**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Protobuf-Duration)) --- Optional. Reauth session lifetime, how long before a user has to reauthenticate again.

### #max_age=

    def max_age=(value) -> ::Google::Protobuf::Duration

**Parameter**

- **value** ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Protobuf-Duration)) --- Optional. Reauth session lifetime, how long before a user has to reauthenticate again.
**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Protobuf-Duration)) --- Optional. Reauth session lifetime, how long before a user has to reauthenticate again.

### #method

    def method() -> ::Google::Cloud::Iap::V1::ReauthSettings::Method

**Returns**

- ([::Google::Cloud::Iap::V1::ReauthSettings::Method](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-ReauthSettings-Method)) --- Optional. Reauth method requested.

### #method=

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

**Parameter**

- **value** ([::Google::Cloud::Iap::V1::ReauthSettings::Method](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-ReauthSettings-Method)) --- Optional. Reauth method requested.
**Returns**

- ([::Google::Cloud::Iap::V1::ReauthSettings::Method](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-ReauthSettings-Method)) --- Optional. Reauth method requested.

### #policy_type

    def policy_type() -> ::Google::Cloud::Iap::V1::ReauthSettings::PolicyType

**Returns**

- ([::Google::Cloud::Iap::V1::ReauthSettings::PolicyType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-ReauthSettings-PolicyType)) --- Optional. How IAP determines the effective policy in cases of hierarchical policies. Policies are merged from higher in the hierarchy to lower in the hierarchy.

### #policy_type=

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

**Parameter**

- **value** ([::Google::Cloud::Iap::V1::ReauthSettings::PolicyType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-ReauthSettings-PolicyType)) --- Optional. How IAP determines the effective policy in cases of hierarchical policies. Policies are merged from higher in the hierarchy to lower in the hierarchy.
**Returns**

- ([::Google::Cloud::Iap::V1::ReauthSettings::PolicyType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-ReauthSettings-PolicyType)) --- Optional. How IAP determines the effective policy in cases of hierarchical policies. Policies are merged from higher in the hierarchy to lower in the hierarchy.