Class: Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1GetProjectConfigResponse

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

Overview

Response message for GetProjectConfig.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV1GetProjectConfigResponse

Returns a new instance of GoogleCloudIdentitytoolkitV1GetProjectConfigResponse.



1103
1104
1105
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1103

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

Instance Attribute Details

#allow_password_userBoolean Also known as: allow_password_user?

Whether to allow password account sign up. This field is only returned for authenticated calls from a developer. Corresponds to the JSON property allowPasswordUser

Returns:

  • (Boolean)


1033
1034
1035
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1033

def allow_password_user
  @allow_password_user
end

#api_keyString

Google Cloud API key. This field is only returned for authenticated calls from a developer. Corresponds to the JSON property apiKey

Returns:

  • (String)


1040
1041
1042
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1040

def api_key
  @api_key
end

#authorized_domainsArray<String>

Authorized domains for widget redirect. Corresponds to the JSON property authorizedDomains

Returns:

  • (Array<String>)


1045
1046
1047
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1045

def authorized_domains
  @authorized_domains
end

#change_email_templateGoogle::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1EmailTemplate

Email template Corresponds to the JSON property changeEmailTemplate



1050
1051
1052
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1050

def change_email_template
  @change_email_template
end

The Firebase Dynamic Links domain used to construct links for redirects to native apps. Corresponds to the JSON property dynamicLinksDomain

Returns:

  • (String)


1056
1057
1058
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1056

def dynamic_links_domain
  @dynamic_links_domain
end

#enable_anonymous_userBoolean Also known as: enable_anonymous_user?

Whether anonymous user is enabled. This field is only returned for authenticated calls from a developer. Corresponds to the JSON property enableAnonymousUser

Returns:

  • (Boolean)


1062
1063
1064
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1062

def enable_anonymous_user
  @enable_anonymous_user
end

#idp_configArray<Google::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1IdpConfig>

OAuth2 provider config. This field is only returned for authenticated calls from a developer. Corresponds to the JSON property idpConfig



1069
1070
1071
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1069

def idp_config
  @idp_config
end

#legacy_reset_password_templateGoogle::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1EmailTemplate

Email template Corresponds to the JSON property legacyResetPasswordTemplate



1074
1075
1076
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1074

def legacy_reset_password_template
  @legacy_reset_password_template
end

#project_idString

The project id of the retrieved configuration. Corresponds to the JSON property projectId

Returns:

  • (String)


1079
1080
1081
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1079

def project_id
  @project_id
end

#reset_password_templateGoogle::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1EmailTemplate

Email template Corresponds to the JSON property resetPasswordTemplate



1084
1085
1086
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1084

def reset_password_template
  @reset_password_template
end

#revert_second_factor_addition_templateGoogle::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1EmailTemplate

Email template Corresponds to the JSON property revertSecondFactorAdditionTemplate



1089
1090
1091
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1089

def revert_second_factor_addition_template
  @revert_second_factor_addition_template
end

#use_email_sendingBoolean Also known as: use_email_sending?

Whether to use email sending. This field is only returned for authenticated calls from a developer. Corresponds to the JSON property useEmailSending

Returns:

  • (Boolean)


1095
1096
1097
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1095

def use_email_sending
  @use_email_sending
end

#verify_email_templateGoogle::Apis::IdentitytoolkitV1::GoogleCloudIdentitytoolkitV1EmailTemplate

Email template Corresponds to the JSON property verifyEmailTemplate



1101
1102
1103
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1101

def verify_email_template
  @verify_email_template
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
# File 'lib/google/apis/identitytoolkit_v1/classes.rb', line 1108

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