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.



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

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>)


215
216
217
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 215

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)


220
221
222
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 220

def autodelete_anonymous_users
  @autodelete_anonymous_users
end

#blocking_functionsGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2BlockingFunctionsConfig

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



226
227
228
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 226

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



232
233
234
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 232

def client
  @client
end

#mfaGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig

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



237
238
239
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 237

def mfa
  @mfa
end

#monitoringGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2MonitoringConfig

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



242
243
244
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 242

def monitoring
  @monitoring
end

#multi_tenantGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2MultiTenantConfig

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



247
248
249
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 247

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)


253
254
255
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 253

def name
  @name
end

#notificationGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2NotificationConfig

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



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

def notification
  @notification
end

#quotaGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2QuotaConfig

Configuration related to quotas. Corresponds to the JSON property quota



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

def quota
  @quota
end

#sign_inGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2SignInConfig

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



268
269
270
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 268

def 
  @sign_in
end

#subtypeString

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

Returns:

  • (String)


273
274
275
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 273

def subtype
  @subtype
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



280
281
282
283
284
285
286
287
288
289
290
291
292
293
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 280

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