Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2ProviderConfig

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2ProviderConfig

Returns a new instance of GoogleCloudIdentitytoolkitAdminV2ProviderConfig.



1247
1248
1249
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1247

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

Instance Attribute Details

#stateString

Describes the state of the MultiFactor Authentication type. Corresponds to the JSON property state

Returns:

  • (String)


1240
1241
1242
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1240

def state
  @state
end

#totp_provider_configGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfig

TotpMFAProviderConfig represents the TOTP based MFA provider. Corresponds to the JSON property totpProviderConfig



1245
1246
1247
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1245

def totp_provider_config
  @totp_provider_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1252
1253
1254
1255
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1252

def update!(**args)
  @state = args[:state] if args.key?(:state)
  @totp_provider_config = args[:totp_provider_config] if args.key?(:totp_provider_config)
end