Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2Config

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

Represents an Identity Toolkit project.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2Config

Returns a new instance of GoogleCloudIdentitytoolkitAdminV2Config.



343
344
345
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 343

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

Instance Attribute Details

#authorized_domainsArray<String>

List of domains authorized for OAuth redirects Corresponds to the JSON property authorizedDomains

Returns:

  • (Array<String>)


259
260
261
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 259

def authorized_domains
  @authorized_domains
end

#autodelete_anonymous_usersBoolean Also known as: autodelete_anonymous_users?

Whether anonymous users will be auto-deleted after a period of 30 days. Corresponds to the JSON property autodeleteAnonymousUsers

Returns:

  • (Boolean)


264
265
266
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 264

def autodelete_anonymous_users
  @autodelete_anonymous_users
end

#blocking_functionsGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2BlockingFunctionsConfig

Configuration related to Blocking Functions. Corresponds to the JSON property blockingFunctions



270
271
272
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 270

def blocking_functions
  @blocking_functions
end

#clientGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2ClientConfig

Options related to how clients making requests on behalf of a project should be configured. Corresponds to the JSON property client



276
277
278
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 276

def client
  @client
end

#email_privacy_configGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig

Configuration for settings related to email privacy and public visibility. Settings in this config protect against email enumeration, but may make some trade-offs in user-friendliness. Corresponds to the JSON property emailPrivacyConfig



283
284
285
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 283

def email_privacy_config
  @email_privacy_config
end

#mfaGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig

Options related to MultiFactor Authentication for the project. Corresponds to the JSON property mfa



288
289
290
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 288

def mfa
  @mfa
end

#monitoringGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2MonitoringConfig

Configuration related to monitoring project activity. Corresponds to the JSON property monitoring



293
294
295
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 293

def monitoring
  @monitoring
end

#multi_tenantGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2MultiTenantConfig

Configuration related to multi-tenant functionality. Corresponds to the JSON property multiTenant



298
299
300
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 298

def multi_tenant
  @multi_tenant
end

#nameString

Output only. The name of the Config resource. Example: "projects/my-awesome- project/config" Corresponds to the JSON property name

Returns:

  • (String)


304
305
306
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 304

def name
  @name
end

#notificationGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2NotificationConfig

Configuration related to sending notifications to users. Corresponds to the JSON property notification



309
310
311
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 309

def notification
  @notification
end

#password_policy_configGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig

The configuration for the password policy on the project. Corresponds to the JSON property passwordPolicyConfig



314
315
316
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 314

def password_policy_config
  @password_policy_config
end

#quotaGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2QuotaConfig

Configuration related to quotas. Corresponds to the JSON property quota



319
320
321
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 319

def quota
  @quota
end

#recaptcha_configGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig

The reCAPTCHA Enterprise integration config. Corresponds to the JSON property recaptchaConfig



324
325
326
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 324

def recaptcha_config
  @recaptcha_config
end

#sign_inGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2SignInConfig

Configuration related to local sign in methods. Corresponds to the JSON property signIn



329
330
331
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 329

def 
  @sign_in
end

#sms_region_configGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig

Configures the regions where users are allowed to send verification SMS for the project or tenant. This is based on the calling code of the destination phone number. Corresponds to the JSON property smsRegionConfig



336
337
338
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 336

def sms_region_config
  @sms_region_config
end

#subtypeString

Output only. The subtype of this config. Corresponds to the JSON property subtype

Returns:

  • (String)


341
342
343
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 341

def subtype
  @subtype
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 348

def update!(**args)
  @authorized_domains = args[:authorized_domains] if args.key?(:authorized_domains)
  @autodelete_anonymous_users = args[:autodelete_anonymous_users] if args.key?(:autodelete_anonymous_users)
  @blocking_functions = args[:blocking_functions] if args.key?(:blocking_functions)
  @client = args[:client] if args.key?(:client)
  @email_privacy_config = args[:email_privacy_config] if args.key?(:email_privacy_config)
  @mfa = args[:mfa] if args.key?(:mfa)
  @monitoring = args[:monitoring] if args.key?(:monitoring)
  @multi_tenant = args[:multi_tenant] if args.key?(:multi_tenant)
  @name = args[:name] if args.key?(:name)
  @notification = args[:notification] if args.key?(:notification)
  @password_policy_config = args[:password_policy_config] if args.key?(:password_policy_config)
  @quota = args[:quota] if args.key?(:quota)
  @recaptcha_config = args[:recaptcha_config] if args.key?(:recaptcha_config)
  @sign_in = args[:sign_in] if args.key?(:sign_in)
  @sms_region_config = args[:sms_region_config] if args.key?(:sms_region_config)
  @subtype = args[:subtype] if args.key?(:subtype)
end