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.



326
327
328
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 326

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

#mfaGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig

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



281
282
283
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 281

def mfa
  @mfa
end

#monitoringGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2MonitoringConfig

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



286
287
288
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 286

def monitoring
  @monitoring
end

#multi_tenantGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2MultiTenantConfig

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



291
292
293
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 291

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)


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

def name
  @name
end

#notificationGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2NotificationConfig

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



302
303
304
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 302

def notification
  @notification
end

#quotaGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2QuotaConfig

Configuration related to quotas. Corresponds to the JSON property quota



307
308
309
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 307

def quota
  @quota
end

#sign_inGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2SignInConfig

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



312
313
314
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 312

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



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

def sms_region_config
  @sms_region_config
end

#subtypeString

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

Returns:

  • (String)


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

def subtype
  @subtype
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 331

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)
  @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)
  @quota = args[:quota] if args.key?(:quota)
  @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