Class: Google::Apis::IapV1::ReauthSettings
- Inherits:
-
Object
- Object
- Google::Apis::IapV1::ReauthSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/iap_v1/classes.rb,
lib/google/apis/iap_v1/representations.rb,
lib/google/apis/iap_v1/representations.rb
Overview
Configuration for IAP reauthentication policies.
Instance Attribute Summary collapse
-
#max_age ⇒ String
Reauth session lifetime, how long before a user has to reauthenticate again.
-
#method_prop ⇒ String
Reauth method requested.
-
#policy_type ⇒ String
How IAP determines the effective policy in cases of hierarchical policies.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReauthSettings
constructor
A new instance of ReauthSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReauthSettings
Returns a new instance of ReauthSettings.
928 929 930 |
# File 'lib/google/apis/iap_v1/classes.rb', line 928 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_age ⇒ String
Reauth session lifetime, how long before a user has to reauthenticate again.
Corresponds to the JSON property maxAge
915 916 917 |
# File 'lib/google/apis/iap_v1/classes.rb', line 915 def max_age @max_age end |
#method_prop ⇒ String
Reauth method requested.
Corresponds to the JSON property method
920 921 922 |
# File 'lib/google/apis/iap_v1/classes.rb', line 920 def method_prop @method_prop end |
#policy_type ⇒ String
How IAP determines the effective policy in cases of hierarchical policies.
Policies are merged from higher in the hierarchy to lower in the hierarchy.
Corresponds to the JSON property policyType
926 927 928 |
# File 'lib/google/apis/iap_v1/classes.rb', line 926 def policy_type @policy_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
933 934 935 936 937 |
# File 'lib/google/apis/iap_v1/classes.rb', line 933 def update!(**args) @max_age = args[:max_age] if args.key?(:max_age) @method_prop = args[:method_prop] if args.key?(:method_prop) @policy_type = args[:policy_type] if args.key?(:policy_type) end |