Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2ProviderConfig
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2ProviderConfig
- 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
ProviderConfig describes the supported MFA providers along with their configurations.
Instance Attribute Summary collapse
-
#state ⇒ String
Describes the state of the MultiFactor Authentication type.
-
#totp_provider_config ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfig
TotpMFAProviderConfig represents the TOTP based MFA provider.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2ProviderConfig
constructor
A new instance of GoogleCloudIdentitytoolkitAdminV2ProviderConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2ProviderConfig
Returns a new instance of GoogleCloudIdentitytoolkitAdminV2ProviderConfig.
1403 1404 1405 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1403 def initialize(**args) update!(**args) end |
Instance Attribute Details
#state ⇒ String
Describes the state of the MultiFactor Authentication type.
Corresponds to the JSON property state
1396 1397 1398 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1396 def state @state end |
#totp_provider_config ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfig
TotpMFAProviderConfig represents the TOTP based MFA provider.
Corresponds to the JSON property totpProviderConfig
1401 1402 1403 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1401 def totp_provider_config @totp_provider_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1408 1409 1410 1411 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1408 def update!(**args) @state = args[:state] if args.key?(:state) @totp_provider_config = args[:totp_provider_config] if args.key?(:totp_provider_config) end |