Class: Google::Apis::IapV1::ReauthSettings

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReauthSettings

Returns a new instance of ReauthSettings.



1017
1018
1019
# File 'lib/google/apis/iap_v1/classes.rb', line 1017

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#max_ageString

Optional. Reauth session lifetime, how long before a user has to reauthenticate again. Corresponds to the JSON property maxAge

Returns:

  • (String)


1003
1004
1005
# File 'lib/google/apis/iap_v1/classes.rb', line 1003

def max_age
  @max_age
end

#method_propString

Optional. Reauth method requested. Corresponds to the JSON property method

Returns:

  • (String)


1008
1009
1010
# File 'lib/google/apis/iap_v1/classes.rb', line 1008

def method_prop
  @method_prop
end

#policy_typeString

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. Corresponds to the JSON property policyType

Returns:

  • (String)


1015
1016
1017
# File 'lib/google/apis/iap_v1/classes.rb', line 1015

def policy_type
  @policy_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1022
1023
1024
1025
1026
# File 'lib/google/apis/iap_v1/classes.rb', line 1022

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