Class: Google::Apis::IdentitytoolkitV3::SetProjectConfigRequest
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV3::SetProjectConfigRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/identitytoolkit_v3/classes.rb,
lib/google/apis/identitytoolkit_v3/representations.rb,
lib/google/apis/identitytoolkit_v3/representations.rb
Overview
Request to set the project configuration.
Instance Attribute Summary collapse
-
#allow_password_user ⇒ Boolean
(also: #allow_password_user?)
Whether to allow password user sign in or sign up.
-
#api_key ⇒ String
Browser API key, needed when making http request to Apiary.
-
#authorized_domains ⇒ Array<String>
Authorized domains for widget redirect.
-
#change_email_template ⇒ Google::Apis::IdentitytoolkitV3::EmailTemplate
Template for an email template.
-
#delegated_project_number ⇒ Fixnum
GCP project number of the requesting delegated app.
-
#enable_anonymous_user ⇒ Boolean
(also: #enable_anonymous_user?)
Whether to enable anonymous user.
-
#idp_config ⇒ Array<Google::Apis::IdentitytoolkitV3::IdpConfig>
Oauth2 provider configuration.
-
#legacy_reset_password_template ⇒ Google::Apis::IdentitytoolkitV3::EmailTemplate
Template for an email template.
-
#reset_password_template ⇒ Google::Apis::IdentitytoolkitV3::EmailTemplate
Template for an email template.
-
#use_email_sending ⇒ Boolean
(also: #use_email_sending?)
Whether to use email sending provided by Firebear.
-
#verify_email_template ⇒ Google::Apis::IdentitytoolkitV3::EmailTemplate
Template for an email template.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SetProjectConfigRequest
constructor
A new instance of SetProjectConfigRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SetProjectConfigRequest
Returns a new instance of SetProjectConfigRequest.
1005 1006 1007 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 1005 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allow_password_user ⇒ Boolean Also known as: allow_password_user?
Whether to allow password user sign in or sign up.
Corresponds to the JSON property allowPasswordUser
949 950 951 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 949 def allow_password_user @allow_password_user end |
#api_key ⇒ String
Browser API key, needed when making http request to Apiary.
Corresponds to the JSON property apiKey
955 956 957 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 955 def api_key @api_key end |
#authorized_domains ⇒ Array<String>
Authorized domains for widget redirect.
Corresponds to the JSON property authorizedDomains
960 961 962 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 960 def @authorized_domains end |
#change_email_template ⇒ Google::Apis::IdentitytoolkitV3::EmailTemplate
Template for an email template.
Corresponds to the JSON property changeEmailTemplate
965 966 967 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 965 def change_email_template @change_email_template end |
#delegated_project_number ⇒ Fixnum
GCP project number of the requesting delegated app. Currently only intended
for Firebase V1 migration.
Corresponds to the JSON property delegatedProjectNumber
971 972 973 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 971 def delegated_project_number @delegated_project_number end |
#enable_anonymous_user ⇒ Boolean Also known as: enable_anonymous_user?
Whether to enable anonymous user.
Corresponds to the JSON property enableAnonymousUser
976 977 978 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 976 def enable_anonymous_user @enable_anonymous_user end |
#idp_config ⇒ Array<Google::Apis::IdentitytoolkitV3::IdpConfig>
Oauth2 provider configuration.
Corresponds to the JSON property idpConfig
982 983 984 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 982 def idp_config @idp_config end |
#legacy_reset_password_template ⇒ Google::Apis::IdentitytoolkitV3::EmailTemplate
Template for an email template.
Corresponds to the JSON property legacyResetPasswordTemplate
987 988 989 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 987 def legacy_reset_password_template @legacy_reset_password_template end |
#reset_password_template ⇒ Google::Apis::IdentitytoolkitV3::EmailTemplate
Template for an email template.
Corresponds to the JSON property resetPasswordTemplate
992 993 994 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 992 def reset_password_template @reset_password_template end |
#use_email_sending ⇒ Boolean Also known as: use_email_sending?
Whether to use email sending provided by Firebear.
Corresponds to the JSON property useEmailSending
997 998 999 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 997 def use_email_sending @use_email_sending end |
#verify_email_template ⇒ Google::Apis::IdentitytoolkitV3::EmailTemplate
Template for an email template.
Corresponds to the JSON property verifyEmailTemplate
1003 1004 1005 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 1003 def verify_email_template @verify_email_template end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 |
# File 'lib/google/apis/identitytoolkit_v3/classes.rb', line 1010 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) @delegated_project_number = args[:delegated_project_number] if args.key?(:delegated_project_number) @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) @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 |