Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/identitytoolkit_v2/classes.rb,
lib/google/apis/identitytoolkit_v2/representations.rb,
lib/google/apis/identitytoolkit_v2/representations.rb
Overview
Options related to MultiFactor Authentication for the project.
Instance Attribute Summary collapse
-
#enabled_providers ⇒ Array<String>
A list of usable second factors for this project.
-
#state ⇒ String
Whether MultiFactor Authentication has been enabled for this project.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig
constructor
A new instance of GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig
Returns a new instance of GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig.
993 994 995 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 993 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enabled_providers ⇒ Array<String>
A list of usable second factors for this project.
Corresponds to the JSON property enabledProviders
986 987 988 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 986 def enabled_providers @enabled_providers end |
#state ⇒ String
Whether MultiFactor Authentication has been enabled for this project.
Corresponds to the JSON property state
991 992 993 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 991 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
998 999 1000 1001 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 998 def update!(**args) @enabled_providers = args[:enabled_providers] if args.key?(:enabled_providers) @state = args[:state] if args.key?(:state) end |