Class: Google::Apis::IdentitytoolkitV3::GetProjectConfigResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/identitytoolkit_v3/classes.rb,
generated/google/apis/identitytoolkit_v3/representations.rb,
generated/google/apis/identitytoolkit_v3/representations.rb

Overview

Response of getting the project configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GetProjectConfigResponse

Returns a new instance of GetProjectConfigResponse.


547
548
549
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 547

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

Instance Attribute Details

#allow_password_userBoolean Also known as: allow_password_user?

Whether to allow password user sign in or sign up. Corresponds to the JSON property allowPasswordUser

Returns:

  • (Boolean)

492
493
494
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 492

def allow_password_user
  @allow_password_user
end

#api_keyString

Browser API key, needed when making http request to Apiary. Corresponds to the JSON property apiKey

Returns:

  • (String)

498
499
500
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 498

def api_key
  @api_key
end

#authorized_domainsArray<String>

Authorized domains. Corresponds to the JSON property authorizedDomains

Returns:

  • (Array<String>)

503
504
505
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 503

def authorized_domains
  @authorized_domains
end

#change_email_templateGoogle::Apis::IdentitytoolkitV3::EmailTemplate

Template for an email template. Corresponds to the JSON property changeEmailTemplate


508
509
510
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 508

def change_email_template
  @change_email_template
end

#enable_anonymous_userBoolean Also known as: enable_anonymous_user?

Whether anonymous user is enabled. Corresponds to the JSON property enableAnonymousUser

Returns:

  • (Boolean)

513
514
515
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 513

def enable_anonymous_user
  @enable_anonymous_user
end

#idp_configArray<Google::Apis::IdentitytoolkitV3::IdpConfig>

OAuth2 provider configuration. Corresponds to the JSON property idpConfig


519
520
521
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 519

def idp_config
  @idp_config
end

#legacy_reset_password_templateGoogle::Apis::IdentitytoolkitV3::EmailTemplate

Template for an email template. Corresponds to the JSON property legacyResetPasswordTemplate


524
525
526
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 524

def legacy_reset_password_template
  @legacy_reset_password_template
end

#project_idString

Project ID of the relying party. Corresponds to the JSON property projectId

Returns:

  • (String)

529
530
531
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 529

def project_id
  @project_id
end

#reset_password_templateGoogle::Apis::IdentitytoolkitV3::EmailTemplate

Template for an email template. Corresponds to the JSON property resetPasswordTemplate


534
535
536
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 534

def reset_password_template
  @reset_password_template
end

#use_email_sendingBoolean Also known as: use_email_sending?

Whether to use email sending provided by Firebear. Corresponds to the JSON property useEmailSending

Returns:

  • (Boolean)

539
540
541
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 539

def use_email_sending
  @use_email_sending
end

#verify_email_templateGoogle::Apis::IdentitytoolkitV3::EmailTemplate

Template for an email template. Corresponds to the JSON property verifyEmailTemplate


545
546
547
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 545

def verify_email_template
  @verify_email_template
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


552
553
554
555
556
557
558
559
560
561
562
563
564
# File 'generated/google/apis/identitytoolkit_v3/classes.rb', line 552

def update!(**args)
  @allow_password_user = args[:allow_password_user] if args.key?(:allow_password_user)
  @api_key = args[:api_key] if args.key?(:api_key)
  @authorized_domains = args[:authorized_domains] if args.key?(:authorized_domains)
  @change_email_template = args[:change_email_template] if args.key?(:change_email_template)
  @enable_anonymous_user = args[:enable_anonymous_user] if args.key?(:enable_anonymous_user)
  @idp_config = args[:idp_config] if args.key?(:idp_config)
  @legacy_reset_password_template = args[:legacy_reset_password_template] if args.key?(:legacy_reset_password_template)
  @project_id = args[:project_id] if args.key?(:project_id)
  @reset_password_template = args[:reset_password_template] if args.key?(:reset_password_template)
  @use_email_sending = args[:use_email_sending] if args.key?(:use_email_sending)
  @verify_email_template = args[:verify_email_template] if args.key?(:verify_email_template)
end