Debian Codegraph @

docs/dyn/identitytoolkit_v2.projects.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="identitytoolkit_v2.html">Identity Toolkit API</a> . <a href="identitytoolkit_v2.projects.html">projects</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="identitytoolkit_v2.projects.defaultSupportedIdpConfigs.html">defaultSupportedIdpConfigs()</a></code>
79 </p>
80 <p class="firstline">Returns the defaultSupportedIdpConfigs Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="identitytoolkit_v2.projects.identityPlatform.html">identityPlatform()</a></code>
84 </p>
85 <p class="firstline">Returns the identityPlatform Resource.</p>
86
87 <p class="toc_element">
88 <code><a href="identitytoolkit_v2.projects.inboundSamlConfigs.html">inboundSamlConfigs()</a></code>
89 </p>
90 <p class="firstline">Returns the inboundSamlConfigs Resource.</p>
91
92 <p class="toc_element">
93 <code><a href="identitytoolkit_v2.projects.oauthIdpConfigs.html">oauthIdpConfigs()</a></code>
94 </p>
95 <p class="firstline">Returns the oauthIdpConfigs Resource.</p>
96
97 <p class="toc_element">
98 <code><a href="identitytoolkit_v2.projects.tenants.html">tenants()</a></code>
99 </p>
100 <p class="firstline">Returns the tenants Resource.</p>
101
102 <p class="toc_element">
103 <code><a href="#close">close()</a></code></p>
104 <p class="firstline">Close httplib2 connections.</p>
105 <p class="toc_element">
106 <code><a href="#getConfig">getConfig(name, x__xgafv=None)</a></code></p>
107 <p class="firstline">Retrieve an Identity Toolkit project configuration.</p>
108 <p class="toc_element">
109 <code><a href="#updateConfig">updateConfig(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
110 <p class="firstline">Update an Identity Toolkit project configuration.</p>
111 <h3>Method Details</h3>
112 <div class="method">
113 <code class="details" id="close">close()</code>
114 <pre>Close httplib2 connections.</pre>
115 </div>
116
117 <div class="method">
118 <code class="details" id="getConfig">getConfig(name, x__xgafv=None)</code>
119 <pre>Retrieve an Identity Toolkit project configuration.
120
121 Args:
122 name: string, The resource name of the config, for example: &quot;projects/my-awesome-project/config&quot; (required)
123 x__xgafv: string, V1 error format.
124 Allowed values
125 1 - v1 error format
126 2 - v2 error format
127
128 Returns:
129 An object of the form:
130
131 { # Represents an Identity Toolkit project.
132 &quot;authorizedDomains&quot;: [ # List of domains authorized for OAuth redirects
133 &quot;A String&quot;,
134 ],
135 &quot;autodeleteAnonymousUsers&quot;: True or False, # Whether anonymous users will be auto-deleted after a period of 30 days.
136 &quot;blockingFunctions&quot;: { # Configuration related to Blocking Functions. # Configuration related to blocking functions.
137 &quot;forwardInboundCredentials&quot;: { # Indicates which credentials to pass to the registered Blocking Functions. # The user credentials to include in the JWT payload that is sent to the registered Blocking Functions.
138 &quot;accessToken&quot;: True or False, # Whether to pass the user&#x27;s OAuth identity provider&#x27;s access token.
139 &quot;idToken&quot;: True or False, # Whether to pass the user&#x27;s OIDC identity provider&#x27;s ID token.
140 &quot;refreshToken&quot;: True or False, # Whether to pass the user&#x27;s OAuth identity provider&#x27;s refresh token.
141 },
142 &quot;triggers&quot;: { # Map of Trigger to event type. Key should be one of the supported event types: &quot;beforeCreate&quot;, &quot;beforeSignIn&quot;
143 &quot;a_key&quot;: { # Synchronous Cloud Function with HTTP Trigger
144 &quot;functionUri&quot;: &quot;A String&quot;, # HTTP URI trigger for the Cloud Function.
145 &quot;updateTime&quot;: &quot;A String&quot;, # When the trigger was changed.
146 },
147 },
148 },
149 &quot;client&quot;: { # Options related to how clients making requests on behalf of a project should be configured. # Options related to how clients making requests on behalf of a project should be configured.
150 &quot;apiKey&quot;: &quot;A String&quot;, # Output only. API key that can be used when making requests for this project.
151 &quot;firebaseSubdomain&quot;: &quot;A String&quot;, # Output only. Firebase subdomain.
152 &quot;permissions&quot;: { # Configuration related to restricting a user&#x27;s ability to affect their account. # Configuration related to restricting a user&#x27;s ability to affect their account.
153 &quot;disabledUserDeletion&quot;: True or False, # When true, end users cannot delete their account on the associated project through any of our API methods
154 &quot;disabledUserSignup&quot;: True or False, # When true, end users cannot sign up for a new account on the associated project through any of our API methods
155 },
156 },
157 &quot;defaultHostingSite&quot;: &quot;A String&quot;, # Output only. Default Firebase hosting site name
158 &quot;emailPrivacyConfig&quot;: { # Configuration for settings related to email privacy and public visibility. Settings in this config protect against email enumeration, but may make some trade-offs in user-friendliness. # Configuration for settings related to email privacy and public visibility.
159 &quot;enableImprovedEmailPrivacy&quot;: True or False, # Migrates the project to a state of improved email privacy. For example certain error codes are more generic to avoid giving away information on whether the account exists. In addition, this disables certain features that as a side-effect allow user enumeration. Enabling this toggle disables the fetchSignInMethodsForEmail functionality and changing the user&#x27;s email to an unverified email. It is recommended to remove dependence on this functionality and enable this toggle to improve user privacy.
160 },
161 &quot;mfa&quot;: { # Options related to MultiFactor Authentication for the project. # Configuration for this project&#x27;s multi-factor authentication, including whether it is active and what factors can be used for the second factor
162 &quot;enabledProviders&quot;: [ # A list of usable second factors for this project.
163 &quot;A String&quot;,
164 ],
165 &quot;providerConfigs&quot;: [ # A list of usable second factors for this project along with their configurations. This field does not support phone based MFA, for that use the &#x27;enabled_providers&#x27; field.
166 { # ProviderConfig describes the supported MFA providers along with their configurations.
167 &quot;state&quot;: &quot;A String&quot;, # Describes the state of the MultiFactor Authentication type.
168 &quot;totpProviderConfig&quot;: { # TotpMFAProviderConfig represents the TOTP based MFA provider. # TOTP MFA provider config for this project.
169 &quot;adjacentIntervals&quot;: 42, # The allowed number of adjacent intervals that will be used for verification to avoid clock skew.
170 },
171 },
172 ],
173 &quot;state&quot;: &quot;A String&quot;, # Whether MultiFactor Authentication has been enabled for this project.
174 },
175 &quot;mobileLinksConfig&quot;: { # Configuration mobile links. # Configuration for settings related to univeral links (iOS) and app links (Android).
176 &quot;domain&quot;: &quot;A String&quot;, # Open code in app domain to use for app links and universal links.
177 },
178 &quot;monitoring&quot;: { # Configuration related to monitoring project activity. # Configuration related to monitoring project activity.
179 &quot;requestLogging&quot;: { # Configuration for logging requests made to this project to Stackdriver Logging # Configuration for logging requests made to this project to Stackdriver Logging
180 &quot;enabled&quot;: True or False, # Whether logging is enabled for this project or not.
181 },
182 },
183 &quot;multiTenant&quot;: { # Configuration related to multi-tenant functionality. # Configuration related to multi-tenant functionality.
184 &quot;allowTenants&quot;: True or False, # Whether this project can have tenants or not.
185 &quot;defaultTenantLocation&quot;: &quot;A String&quot;, # The default cloud parent org or folder that the tenant project should be created under. The parent resource name should be in the format of &quot;/&quot;, such as &quot;folders/123&quot; or &quot;organizations/456&quot;. If the value is not set, the tenant will be created under the same organization or folder as the agent project.
186 },
187 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the Config resource. Example: &quot;projects/my-awesome-project/config&quot;
188 &quot;notification&quot;: { # Configuration related to sending notifications to users. # Configuration related to sending notifications to users.
189 &quot;defaultLocale&quot;: &quot;A String&quot;, # Default locale used for email and SMS in IETF BCP 47 format.
190 &quot;sendEmail&quot;: { # Options for email sending. # Options for email sending.
191 &quot;callbackUri&quot;: &quot;A String&quot;, # action url in email template.
192 &quot;changeEmailTemplate&quot;: { # Email template. The subject and body fields can contain the following placeholders which will be replaced with the appropriate values: %LINK% - The link to use to redeem the send OOB code. %EMAIL% - The email where the email is being sent. %NEW_EMAIL% - The new email being set for the account (when applicable). %APP_NAME% - The Google Cloud project&#x27;s display name. %DISPLAY_NAME% - The user&#x27;s display name. # Email template for change email
193 &quot;body&quot;: &quot;A String&quot;, # Email body
194 &quot;bodyFormat&quot;: &quot;A String&quot;, # Email body format
195 &quot;customized&quot;: True or False, # Output only. Whether the body or subject of the email is customized.
196 &quot;replyTo&quot;: &quot;A String&quot;, # Reply-to address
197 &quot;senderDisplayName&quot;: &quot;A String&quot;, # Sender display name
198 &quot;senderLocalPart&quot;: &quot;A String&quot;, # Local part of From address
199 &quot;subject&quot;: &quot;A String&quot;, # Subject of the email
200 },
201 &quot;dnsInfo&quot;: { # Information of custom domain DNS verification. By default, default_domain will be used. A custom domain can be configured using VerifyCustomDomain. # Information of custom domain DNS verification.
202 &quot;customDomain&quot;: &quot;A String&quot;, # Output only. The applied verified custom domain.
203 &quot;customDomainState&quot;: &quot;A String&quot;, # Output only. The current verification state of the custom domain. The custom domain will only be used once the domain verification is successful.
204 &quot;domainVerificationRequestTime&quot;: &quot;A String&quot;, # Output only. The timestamp of initial request for the current domain verification.
205 &quot;pendingCustomDomain&quot;: &quot;A String&quot;, # Output only. The custom domain that&#x27;s to be verified.
206 &quot;useCustomDomain&quot;: True or False, # Whether to use custom domain.
207 },
208 &quot;legacyResetPasswordTemplate&quot;: { # Email template. The subject and body fields can contain the following placeholders which will be replaced with the appropriate values: %LINK% - The link to use to redeem the send OOB code. %EMAIL% - The email where the email is being sent. %NEW_EMAIL% - The new email being set for the account (when applicable). %APP_NAME% - The Google Cloud project&#x27;s display name. %DISPLAY_NAME% - The user&#x27;s display name. # Reset password email template for legacy Firebase V1 app.
209 &quot;body&quot;: &quot;A String&quot;, # Email body
210 &quot;bodyFormat&quot;: &quot;A String&quot;, # Email body format
211 &quot;customized&quot;: True or False, # Output only. Whether the body or subject of the email is customized.
212 &quot;replyTo&quot;: &quot;A String&quot;, # Reply-to address
213 &quot;senderDisplayName&quot;: &quot;A String&quot;, # Sender display name
214 &quot;senderLocalPart&quot;: &quot;A String&quot;, # Local part of From address
215 &quot;subject&quot;: &quot;A String&quot;, # Subject of the email
216 },
217 &quot;method&quot;: &quot;A String&quot;, # The method used for sending an email.
218 &quot;resetPasswordTemplate&quot;: { # Email template. The subject and body fields can contain the following placeholders which will be replaced with the appropriate values: %LINK% - The link to use to redeem the send OOB code. %EMAIL% - The email where the email is being sent. %NEW_EMAIL% - The new email being set for the account (when applicable). %APP_NAME% - The Google Cloud project&#x27;s display name. %DISPLAY_NAME% - The user&#x27;s display name. # Email template for reset password
219 &quot;body&quot;: &quot;A String&quot;, # Email body
220 &quot;bodyFormat&quot;: &quot;A String&quot;, # Email body format
221 &quot;customized&quot;: True or False, # Output only. Whether the body or subject of the email is customized.
222 &quot;replyTo&quot;: &quot;A String&quot;, # Reply-to address
223 &quot;senderDisplayName&quot;: &quot;A String&quot;, # Sender display name
224 &quot;senderLocalPart&quot;: &quot;A String&quot;, # Local part of From address
225 &quot;subject&quot;: &quot;A String&quot;, # Subject of the email
226 },
227 &quot;revertSecondFactorAdditionTemplate&quot;: { # Email template. The subject and body fields can contain the following placeholders which will be replaced with the appropriate values: %LINK% - The link to use to redeem the send OOB code. %EMAIL% - The email where the email is being sent. %NEW_EMAIL% - The new email being set for the account (when applicable). %APP_NAME% - The Google Cloud project&#x27;s display name. %DISPLAY_NAME% - The user&#x27;s display name. # Email template for reverting second factor addition emails
228 &quot;body&quot;: &quot;A String&quot;, # Email body
229 &quot;bodyFormat&quot;: &quot;A String&quot;, # Email body format
230 &quot;customized&quot;: True or False, # Output only. Whether the body or subject of the email is customized.
231 &quot;replyTo&quot;: &quot;A String&quot;, # Reply-to address
232 &quot;senderDisplayName&quot;: &quot;A String&quot;, # Sender display name
233 &quot;senderLocalPart&quot;: &quot;A String&quot;, # Local part of From address
234 &quot;subject&quot;: &quot;A String&quot;, # Subject of the email
235 },
236 &quot;smtp&quot;: { # Configuration for SMTP relay # Use a custom SMTP relay
237 &quot;host&quot;: &quot;A String&quot;, # SMTP relay host
238 &quot;password&quot;: &quot;A String&quot;, # SMTP relay password
239 &quot;port&quot;: 42, # SMTP relay port
240 &quot;securityMode&quot;: &quot;A String&quot;, # SMTP security mode.
241 &quot;senderEmail&quot;: &quot;A String&quot;, # Sender email for the SMTP relay
242 &quot;username&quot;: &quot;A String&quot;, # SMTP relay username
243 },
244 &quot;verifyEmailTemplate&quot;: { # Email template. The subject and body fields can contain the following placeholders which will be replaced with the appropriate values: %LINK% - The link to use to redeem the send OOB code. %EMAIL% - The email where the email is being sent. %NEW_EMAIL% - The new email being set for the account (when applicable). %APP_NAME% - The Google Cloud project&#x27;s display name. %DISPLAY_NAME% - The user&#x27;s display name. # Email template for verify email
245 &quot;body&quot;: &quot;A String&quot;, # Email body
246 &quot;bodyFormat&quot;: &quot;A String&quot;, # Email body format
247 &quot;customized&quot;: True or False, # Output only. Whether the body or subject of the email is customized.
248 &quot;replyTo&quot;: &quot;A String&quot;, # Reply-to address
249 &quot;senderDisplayName&quot;: &quot;A String&quot;, # Sender display name
250 &quot;senderLocalPart&quot;: &quot;A String&quot;, # Local part of From address
251 &quot;subject&quot;: &quot;A String&quot;, # Subject of the email
252 },
253 },
254 &quot;sendSms&quot;: { # Options for SMS sending. # Options for SMS sending.
255 &quot;smsTemplate&quot;: { # The template to use when sending an SMS. # Output only. The template to use when sending an SMS.
256 &quot;content&quot;: &quot;A String&quot;, # Output only. The SMS&#x27;s content. Can contain the following placeholders which will be replaced with the appropriate values: %APP_NAME% - For Android or iOS apps, the app&#x27;s display name. For web apps, the domain hosting the application. %LOGIN_CODE% - The OOB code being sent in the SMS.
257 },
258 &quot;useDeviceLocale&quot;: True or False, # Whether to use the accept_language header for SMS.
259 },
260 },
261 &quot;passwordPolicyConfig&quot;: { # The configuration for the password policy on the project. # The project level password policy configuration.
262 &quot;forceUpgradeOnSignin&quot;: True or False, # Users must have a password compliant with the password policy to sign-in.
263 &quot;lastUpdateTime&quot;: &quot;A String&quot;, # Output only. The last time the password policy on the project was updated.
264 &quot;passwordPolicyEnforcementState&quot;: &quot;A String&quot;, # Which enforcement mode to use for the password policy.
265 &quot;passwordPolicyVersions&quot;: [ # Must be of length 1. Contains the strength attributes for the password policy.
266 { # The strength attributes for the password policy on the project.
267 &quot;customStrengthOptions&quot;: { # Custom strength options to enforce on user passwords. # The custom strength options enforced by the password policy.
268 &quot;containsLowercaseCharacter&quot;: True or False, # The password must contain a lower case character.
269 &quot;containsNonAlphanumericCharacter&quot;: True or False, # The password must contain a non alpha numeric character.
270 &quot;containsNumericCharacter&quot;: True or False, # The password must contain a number.
271 &quot;containsUppercaseCharacter&quot;: True or False, # The password must contain an upper case character.
272 &quot;maxPasswordLength&quot;: 42, # Maximum password length. No default max length
273 &quot;minPasswordLength&quot;: 42, # Minimum password length. Range from 6 to 30
274 },
275 &quot;schemaVersion&quot;: 42, # Output only. schema version number for the password policy
276 },
277 ],
278 },
279 &quot;quota&quot;: { # Configuration related to quotas. # Configuration related to quotas.
280 &quot;signUpQuotaConfig&quot;: { # Temporary quota increase / decrease # Quota for the Signup endpoint, if overwritten. Signup quota is measured in sign ups per project per hour per IP.
281 &quot;quota&quot;: &quot;A String&quot;, # Corresponds to the &#x27;refill_token_count&#x27; field in QuotaServer config
282 &quot;quotaDuration&quot;: &quot;A String&quot;, # How long this quota will be active for
283 &quot;startTime&quot;: &quot;A String&quot;, # When this quota will take effect
284 },
285 },
286 &quot;recaptchaConfig&quot;: { # The reCAPTCHA Enterprise integration config. # The project-level reCAPTCHA config.
287 &quot;emailPasswordEnforcementState&quot;: &quot;A String&quot;, # The reCAPTCHA config for email/password provider, containing the enforcement status. The email/password provider contains all email related user flows protected by reCAPTCHA.
288 &quot;managedRules&quot;: [ # The managed rules for authentication action based on reCAPTCHA scores. The rules are shared across providers for a given tenant project.
289 { # The config for a reCAPTCHA managed rule. Models a single interval [start_score, end_score]. The start_score is implicit. It is either the closest smaller end_score (if one is available) or 0. Intervals in aggregate span [0, 1] without overlapping.
290 &quot;action&quot;: &quot;A String&quot;, # The action taken if the reCAPTCHA score of a request is within the interval [start_score, end_score].
291 &quot;endScore&quot;: 3.14, # The end score (inclusive) of the score range for an action. Must be a value between 0.0 and 1.0, at 11 discrete values; e.g. 0, 0.1, 0.2, 0.3, ... 0.9, 1.0. A score of 0.0 indicates the riskiest request (likely a bot), whereas 1.0 indicates the safest request (likely a human). See https://cloud.google.com/recaptcha-enterprise/docs/interpret-assessment.
292 },
293 ],
294 &quot;phoneEnforcementState&quot;: &quot;A String&quot;, # The reCAPTCHA config for phone provider, containing the enforcement status. The phone provider contains all SMS related user flows protected by reCAPTCHA.
295 &quot;recaptchaKeys&quot;: [ # The reCAPTCHA keys.
296 { # The reCAPTCHA key config. reCAPTCHA Enterprise offers different keys for different client platforms.
297 &quot;key&quot;: &quot;A String&quot;, # The reCAPTCHA Enterprise key resource name, e.g. &quot;projects/{project}/keys/{key}&quot;
298 &quot;type&quot;: &quot;A String&quot;, # The client&#x27;s platform type.
299 },
300 ],
301 &quot;tollFraudManagedRules&quot;: [ # The managed rules for the authentication action based on reCAPTCHA toll fraud risk scores. Toll fraud managed rules will only take effect when the phone_enforcement_state is AUDIT or ENFORCE and use_sms_toll_fraud_protection is true.
302 { # The config for a reCAPTCHA toll fraud assessment managed rule. Models a single interval [start_score, end_score]. The end_score is implicit. It is either the closest smaller end_score (if one is available) or 0. Intervals in aggregate span [0, 1] without overlapping.
303 &quot;action&quot;: &quot;A String&quot;, # The action taken if the reCAPTCHA score of a request is within the interval [start_score, end_score].
304 &quot;startScore&quot;: 3.14, # The start score (inclusive) for an action. Must be a value between 0.0 and 1.0, at 11 discrete values; e.g. 0, 0.1, 0.2, 0.3, ... 0.9, 1.0. A score of 0.0 indicates the safest request (likely legitimate), whereas 1.0 indicates the riskiest request (likely toll fraud). See https://cloud.google.com/recaptcha-enterprise/docs/sms-fraud-detection#create-assessment-sms.
305 },
306 ],
307 &quot;useAccountDefender&quot;: True or False, # Whether to use the account defender for reCAPTCHA assessment. Defaults to `false`.
308 &quot;useSmsBotScore&quot;: True or False, # Whether to use the rCE bot score for reCAPTCHA phone provider. Can only be true when the phone_enforcement_state is AUDIT or ENFORCE.
309 &quot;useSmsTollFraudProtection&quot;: True or False, # Whether to use the rCE sms toll fraud protection risk score for reCAPTCHA phone provider. Can only be true when the phone_enforcement_state is AUDIT or ENFORCE.
310 },
311 &quot;signIn&quot;: { # Configuration related to local sign in methods. # Configuration related to local sign in methods.
312 &quot;allowDuplicateEmails&quot;: True or False, # Whether to allow more than one account to have the same email.
313 &quot;anonymous&quot;: { # Configuration options related to authenticating an anonymous user. # Configuration options related to authenticating an anonymous user.
314 &quot;enabled&quot;: True or False, # Whether anonymous user auth is enabled for the project or not.
315 },
316 &quot;email&quot;: { # Configuration options related to authenticating a user by their email address. # Configuration options related to authenticating a user by their email address.
317 &quot;enabled&quot;: True or False, # Whether email auth is enabled for the project or not.
318 &quot;passwordRequired&quot;: True or False, # Whether a password is required for email auth or not. If true, both an email and password must be provided to sign in. If false, a user may sign in via either email/password or email link.
319 },
320 &quot;hashConfig&quot;: { # History information of the hash algorithm and key. Different accounts&#x27; passwords may be generated by different version. # Output only. Hash config information.
321 &quot;algorithm&quot;: &quot;A String&quot;, # Output only. Different password hash algorithms used in Identity Toolkit.
322 &quot;memoryCost&quot;: 42, # Output only. Memory cost for hash calculation. Used by scrypt and other similar password derivation algorithms. See https://tools.ietf.org/html/rfc7914 for explanation of field.
323 &quot;rounds&quot;: 42, # Output only. How many rounds for hash calculation. Used by scrypt and other similar password derivation algorithms.
324 &quot;saltSeparator&quot;: &quot;A String&quot;, # Output only. Non-printable character to be inserted between the salt and plain text password in base64.
325 &quot;signerKey&quot;: &quot;A String&quot;, # Output only. Signer key in base64.
326 },
327 &quot;phoneNumber&quot;: { # Configuration options related to authenticated a user by their phone number. # Configuration options related to authenticated a user by their phone number.
328 &quot;enabled&quot;: True or False, # Whether phone number auth is enabled for the project or not.
329 &quot;testPhoneNumbers&quot;: { # A map of that can be used for phone auth testing.
330 &quot;a_key&quot;: &quot;A String&quot;,
331 },
332 },
333 },
334 &quot;smsRegionConfig&quot;: { # 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. # Configures which regions are enabled for SMS verification code sending.
335 &quot;allowByDefault&quot;: { # Defines a policy of allowing every region by default and adding disallowed regions to a disallow list. # A policy of allowing SMS to every region by default and adding disallowed regions to a disallow list.
336 &quot;disallowedRegions&quot;: [ # Two letter unicode region codes to disallow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json
337 &quot;A String&quot;,
338 ],
339 },
340 &quot;allowlistOnly&quot;: { # Defines a policy of only allowing regions by explicitly adding them to an allowlist. # A policy of only allowing regions by explicitly adding them to an allowlist.
341 &quot;allowedRegions&quot;: [ # Two letter unicode region codes to allow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json
342 &quot;A String&quot;,
343 ],
344 },
345 },
346 &quot;subtype&quot;: &quot;A String&quot;, # Output only. The subtype of this config.
347 }</pre>
348 </div>
349
350 <div class="method">
351 <code class="details" id="updateConfig">updateConfig(name, body=None, updateMask=None, x__xgafv=None)</code>
352 <pre>Update an Identity Toolkit project configuration.
353
354 Args:
355 name: string, Output only. The name of the Config resource. Example: &quot;projects/my-awesome-project/config&quot; (required)
356 body: object, The request body.
357 The object takes the form of:
358
359 { # Represents an Identity Toolkit project.
360 &quot;authorizedDomains&quot;: [ # List of domains authorized for OAuth redirects
361 &quot;A String&quot;,
362 ],
363 &quot;autodeleteAnonymousUsers&quot;: True or False, # Whether anonymous users will be auto-deleted after a period of 30 days.
364 &quot;blockingFunctions&quot;: { # Configuration related to Blocking Functions. # Configuration related to blocking functions.
365 &quot;forwardInboundCredentials&quot;: { # Indicates which credentials to pass to the registered Blocking Functions. # The user credentials to include in the JWT payload that is sent to the registered Blocking Functions.
366 &quot;accessToken&quot;: True or False, # Whether to pass the user&#x27;s OAuth identity provider&#x27;s access token.
367 &quot;idToken&quot;: True or False, # Whether to pass the user&#x27;s OIDC identity provider&#x27;s ID token.
368 &quot;refreshToken&quot;: True or False, # Whether to pass the user&#x27;s OAuth identity provider&#x27;s refresh token.
369 },
370 &quot;triggers&quot;: { # Map of Trigger to event type. Key should be one of the supported event types: &quot;beforeCreate&quot;, &quot;beforeSignIn&quot;
371 &quot;a_key&quot;: { # Synchronous Cloud Function with HTTP Trigger
372 &quot;functionUri&quot;: &quot;A String&quot;, # HTTP URI trigger for the Cloud Function.
373 &quot;updateTime&quot;: &quot;A String&quot;, # When the trigger was changed.
374 },
375 },
376 },
377 &quot;client&quot;: { # Options related to how clients making requests on behalf of a project should be configured. # Options related to how clients making requests on behalf of a project should be configured.
378 &quot;apiKey&quot;: &quot;A String&quot;, # Output only. API key that can be used when making requests for this project.
379 &quot;firebaseSubdomain&quot;: &quot;A String&quot;, # Output only. Firebase subdomain.
380 &quot;permissions&quot;: { # Configuration related to restricting a user&#x27;s ability to affect their account. # Configuration related to restricting a user&#x27;s ability to affect their account.
381 &quot;disabledUserDeletion&quot;: True or False, # When true, end users cannot delete their account on the associated project through any of our API methods
382 &quot;disabledUserSignup&quot;: True or False, # When true, end users cannot sign up for a new account on the associated project through any of our API methods
383 },
384 },
385 &quot;defaultHostingSite&quot;: &quot;A String&quot;, # Output only. Default Firebase hosting site name
386 &quot;emailPrivacyConfig&quot;: { # Configuration for settings related to email privacy and public visibility. Settings in this config protect against email enumeration, but may make some trade-offs in user-friendliness. # Configuration for settings related to email privacy and public visibility.
387 &quot;enableImprovedEmailPrivacy&quot;: True or False, # Migrates the project to a state of improved email privacy. For example certain error codes are more generic to avoid giving away information on whether the account exists. In addition, this disables certain features that as a side-effect allow user enumeration. Enabling this toggle disables the fetchSignInMethodsForEmail functionality and changing the user&#x27;s email to an unverified email. It is recommended to remove dependence on this functionality and enable this toggle to improve user privacy.
388 },
389 &quot;mfa&quot;: { # Options related to MultiFactor Authentication for the project. # Configuration for this project&#x27;s multi-factor authentication, including whether it is active and what factors can be used for the second factor
390 &quot;enabledProviders&quot;: [ # A list of usable second factors for this project.
391 &quot;A String&quot;,
392 ],
393 &quot;providerConfigs&quot;: [ # A list of usable second factors for this project along with their configurations. This field does not support phone based MFA, for that use the &#x27;enabled_providers&#x27; field.
394 { # ProviderConfig describes the supported MFA providers along with their configurations.
395 &quot;state&quot;: &quot;A String&quot;, # Describes the state of the MultiFactor Authentication type.
396 &quot;totpProviderConfig&quot;: { # TotpMFAProviderConfig represents the TOTP based MFA provider. # TOTP MFA provider config for this project.
397 &quot;adjacentIntervals&quot;: 42, # The allowed number of adjacent intervals that will be used for verification to avoid clock skew.
398 },
399 },
400 ],
401 &quot;state&quot;: &quot;A String&quot;, # Whether MultiFactor Authentication has been enabled for this project.
402 },
403 &quot;mobileLinksConfig&quot;: { # Configuration mobile links. # Configuration for settings related to univeral links (iOS) and app links (Android).
404 &quot;domain&quot;: &quot;A String&quot;, # Open code in app domain to use for app links and universal links.
405 },
406 &quot;monitoring&quot;: { # Configuration related to monitoring project activity. # Configuration related to monitoring project activity.
407 &quot;requestLogging&quot;: { # Configuration for logging requests made to this project to Stackdriver Logging # Configuration for logging requests made to this project to Stackdriver Logging
408 &quot;enabled&quot;: True or False, # Whether logging is enabled for this project or not.
409 },
410 },
411 &quot;multiTenant&quot;: { # Configuration related to multi-tenant functionality. # Configuration related to multi-tenant functionality.
412 &quot;allowTenants&quot;: True or False, # Whether this project can have tenants or not.
413 &quot;defaultTenantLocation&quot;: &quot;A String&quot;, # The default cloud parent org or folder that the tenant project should be created under. The parent resource name should be in the format of &quot;/&quot;, such as &quot;folders/123&quot; or &quot;organizations/456&quot;. If the value is not set, the tenant will be created under the same organization or folder as the agent project.
414 },
415 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the Config resource. Example: &quot;projects/my-awesome-project/config&quot;
416 &quot;notification&quot;: { # Configuration related to sending notifications to users. # Configuration related to sending notifications to users.
417 &quot;defaultLocale&quot;: &quot;A String&quot;, # Default locale used for email and SMS in IETF BCP 47 format.
418 &quot;sendEmail&quot;: { # Options for email sending. # Options for email sending.
419 &quot;callbackUri&quot;: &quot;A String&quot;, # action url in email template.
420 &quot;changeEmailTemplate&quot;: { # Email template. The subject and body fields can contain the following placeholders which will be replaced with the appropriate values: %LINK% - The link to use to redeem the send OOB code. %EMAIL% - The email where the email is being sent. %NEW_EMAIL% - The new email being set for the account (when applicable). %APP_NAME% - The Google Cloud project&#x27;s display name. %DISPLAY_NAME% - The user&#x27;s display name. # Email template for change email
421 &quot;body&quot;: &quot;A String&quot;, # Email body
422 &quot;bodyFormat&quot;: &quot;A String&quot;, # Email body format
423 &quot;customized&quot;: True or False, # Output only. Whether the body or subject of the email is customized.
424 &quot;replyTo&quot;: &quot;A String&quot;, # Reply-to address
425 &quot;senderDisplayName&quot;: &quot;A String&quot;, # Sender display name
426 &quot;senderLocalPart&quot;: &quot;A String&quot;, # Local part of From address
427 &quot;subject&quot;: &quot;A String&quot;, # Subject of the email
428 },
429 &quot;dnsInfo&quot;: { # Information of custom domain DNS verification. By default, default_domain will be used. A custom domain can be configured using VerifyCustomDomain. # Information of custom domain DNS verification.
430 &quot;customDomain&quot;: &quot;A String&quot;, # Output only. The applied verified custom domain.
431 &quot;customDomainState&quot;: &quot;A String&quot;, # Output only. The current verification state of the custom domain. The custom domain will only be used once the domain verification is successful.
432 &quot;domainVerificationRequestTime&quot;: &quot;A String&quot;, # Output only. The timestamp of initial request for the current domain verification.
433 &quot;pendingCustomDomain&quot;: &quot;A String&quot;, # Output only. The custom domain that&#x27;s to be verified.
434 &quot;useCustomDomain&quot;: True or False, # Whether to use custom domain.
435 },
436 &quot;legacyResetPasswordTemplate&quot;: { # Email template. The subject and body fields can contain the following placeholders which will be replaced with the appropriate values: %LINK% - The link to use to redeem the send OOB code. %EMAIL% - The email where the email is being sent. %NEW_EMAIL% - The new email being set for the account (when applicable). %APP_NAME% - The Google Cloud project&#x27;s display name. %DISPLAY_NAME% - The user&#x27;s display name. # Reset password email template for legacy Firebase V1 app.
437 &quot;body&quot;: &quot;A String&quot;, # Email body
438 &quot;bodyFormat&quot;: &quot;A String&quot;, # Email body format
439 &quot;customized&quot;: True or False, # Output only. Whether the body or subject of the email is customized.
440 &quot;replyTo&quot;: &quot;A String&quot;, # Reply-to address
441 &quot;senderDisplayName&quot;: &quot;A String&quot;, # Sender display name
442 &quot;senderLocalPart&quot;: &quot;A String&quot;, # Local part of From address
443 &quot;subject&quot;: &quot;A String&quot;, # Subject of the email
444 },
445 &quot;method&quot;: &quot;A String&quot;, # The method used for sending an email.
446 &quot;resetPasswordTemplate&quot;: { # Email template. The subject and body fields can contain the following placeholders which will be replaced with the appropriate values: %LINK% - The link to use to redeem the send OOB code. %EMAIL% - The email where the email is being sent. %NEW_EMAIL% - The new email being set for the account (when applicable). %APP_NAME% - The Google Cloud project&#x27;s display name. %DISPLAY_NAME% - The user&#x27;s display name. # Email template for reset password
447 &quot;body&quot;: &quot;A String&quot;, # Email body
448 &quot;bodyFormat&quot;: &quot;A String&quot;, # Email body format
449 &quot;customized&quot;: True or False, # Output only. Whether the body or subject of the email is customized.
450 &quot;replyTo&quot;: &quot;A String&quot;, # Reply-to address
451 &quot;senderDisplayName&quot;: &quot;A String&quot;, # Sender display name
452 &quot;senderLocalPart&quot;: &quot;A String&quot;, # Local part of From address
453 &quot;subject&quot;: &quot;A String&quot;, # Subject of the email
454 },
455 &quot;revertSecondFactorAdditionTemplate&quot;: { # Email template. The subject and body fields can contain the following placeholders which will be replaced with the appropriate values: %LINK% - The link to use to redeem the send OOB code. %EMAIL% - The email where the email is being sent. %NEW_EMAIL% - The new email being set for the account (when applicable). %APP_NAME% - The Google Cloud project&#x27;s display name. %DISPLAY_NAME% - The user&#x27;s display name. # Email template for reverting second factor addition emails
456 &quot;body&quot;: &quot;A String&quot;, # Email body
457 &quot;bodyFormat&quot;: &quot;A String&quot;, # Email body format
458 &quot;customized&quot;: True or False, # Output only. Whether the body or subject of the email is customized.
459 &quot;replyTo&quot;: &quot;A String&quot;, # Reply-to address
460 &quot;senderDisplayName&quot;: &quot;A String&quot;, # Sender display name
461 &quot;senderLocalPart&quot;: &quot;A String&quot;, # Local part of From address
462 &quot;subject&quot;: &quot;A String&quot;, # Subject of the email
463 },
464 &quot;smtp&quot;: { # Configuration for SMTP relay # Use a custom SMTP relay
465 &quot;host&quot;: &quot;A String&quot;, # SMTP relay host
466 &quot;password&quot;: &quot;A String&quot;, # SMTP relay password
467 &quot;port&quot;: 42, # SMTP relay port
468 &quot;securityMode&quot;: &quot;A String&quot;, # SMTP security mode.
469 &quot;senderEmail&quot;: &quot;A String&quot;, # Sender email for the SMTP relay
470 &quot;username&quot;: &quot;A String&quot;, # SMTP relay username
471 },
472 &quot;verifyEmailTemplate&quot;: { # Email template. The subject and body fields can contain the following placeholders which will be replaced with the appropriate values: %LINK% - The link to use to redeem the send OOB code. %EMAIL% - The email where the email is being sent. %NEW_EMAIL% - The new email being set for the account (when applicable). %APP_NAME% - The Google Cloud project&#x27;s display name. %DISPLAY_NAME% - The user&#x27;s display name. # Email template for verify email
473 &quot;body&quot;: &quot;A String&quot;, # Email body
474 &quot;bodyFormat&quot;: &quot;A String&quot;, # Email body format
475 &quot;customized&quot;: True or False, # Output only. Whether the body or subject of the email is customized.
476 &quot;replyTo&quot;: &quot;A String&quot;, # Reply-to address
477 &quot;senderDisplayName&quot;: &quot;A String&quot;, # Sender display name
478 &quot;senderLocalPart&quot;: &quot;A String&quot;, # Local part of From address
479 &quot;subject&quot;: &quot;A String&quot;, # Subject of the email
480 },
481 },
482 &quot;sendSms&quot;: { # Options for SMS sending. # Options for SMS sending.
483 &quot;smsTemplate&quot;: { # The template to use when sending an SMS. # Output only. The template to use when sending an SMS.
484 &quot;content&quot;: &quot;A String&quot;, # Output only. The SMS&#x27;s content. Can contain the following placeholders which will be replaced with the appropriate values: %APP_NAME% - For Android or iOS apps, the app&#x27;s display name. For web apps, the domain hosting the application. %LOGIN_CODE% - The OOB code being sent in the SMS.
485 },
486 &quot;useDeviceLocale&quot;: True or False, # Whether to use the accept_language header for SMS.
487 },
488 },
489 &quot;passwordPolicyConfig&quot;: { # The configuration for the password policy on the project. # The project level password policy configuration.
490 &quot;forceUpgradeOnSignin&quot;: True or False, # Users must have a password compliant with the password policy to sign-in.
491 &quot;lastUpdateTime&quot;: &quot;A String&quot;, # Output only. The last time the password policy on the project was updated.
492 &quot;passwordPolicyEnforcementState&quot;: &quot;A String&quot;, # Which enforcement mode to use for the password policy.
493 &quot;passwordPolicyVersions&quot;: [ # Must be of length 1. Contains the strength attributes for the password policy.
494 { # The strength attributes for the password policy on the project.
495 &quot;customStrengthOptions&quot;: { # Custom strength options to enforce on user passwords. # The custom strength options enforced by the password policy.
496 &quot;containsLowercaseCharacter&quot;: True or False, # The password must contain a lower case character.
497 &quot;containsNonAlphanumericCharacter&quot;: True or False, # The password must contain a non alpha numeric character.
498 &quot;containsNumericCharacter&quot;: True or False, # The password must contain a number.
499 &quot;containsUppercaseCharacter&quot;: True or False, # The password must contain an upper case character.
500 &quot;maxPasswordLength&quot;: 42, # Maximum password length. No default max length
501 &quot;minPasswordLength&quot;: 42, # Minimum password length. Range from 6 to 30
502 },
503 &quot;schemaVersion&quot;: 42, # Output only. schema version number for the password policy
504 },
505 ],
506 },
507 &quot;quota&quot;: { # Configuration related to quotas. # Configuration related to quotas.
508 &quot;signUpQuotaConfig&quot;: { # Temporary quota increase / decrease # Quota for the Signup endpoint, if overwritten. Signup quota is measured in sign ups per project per hour per IP.
509 &quot;quota&quot;: &quot;A String&quot;, # Corresponds to the &#x27;refill_token_count&#x27; field in QuotaServer config
510 &quot;quotaDuration&quot;: &quot;A String&quot;, # How long this quota will be active for
511 &quot;startTime&quot;: &quot;A String&quot;, # When this quota will take effect
512 },
513 },
514 &quot;recaptchaConfig&quot;: { # The reCAPTCHA Enterprise integration config. # The project-level reCAPTCHA config.
515 &quot;emailPasswordEnforcementState&quot;: &quot;A String&quot;, # The reCAPTCHA config for email/password provider, containing the enforcement status. The email/password provider contains all email related user flows protected by reCAPTCHA.
516 &quot;managedRules&quot;: [ # The managed rules for authentication action based on reCAPTCHA scores. The rules are shared across providers for a given tenant project.
517 { # The config for a reCAPTCHA managed rule. Models a single interval [start_score, end_score]. The start_score is implicit. It is either the closest smaller end_score (if one is available) or 0. Intervals in aggregate span [0, 1] without overlapping.
518 &quot;action&quot;: &quot;A String&quot;, # The action taken if the reCAPTCHA score of a request is within the interval [start_score, end_score].
519 &quot;endScore&quot;: 3.14, # The end score (inclusive) of the score range for an action. Must be a value between 0.0 and 1.0, at 11 discrete values; e.g. 0, 0.1, 0.2, 0.3, ... 0.9, 1.0. A score of 0.0 indicates the riskiest request (likely a bot), whereas 1.0 indicates the safest request (likely a human). See https://cloud.google.com/recaptcha-enterprise/docs/interpret-assessment.
520 },
521 ],
522 &quot;phoneEnforcementState&quot;: &quot;A String&quot;, # The reCAPTCHA config for phone provider, containing the enforcement status. The phone provider contains all SMS related user flows protected by reCAPTCHA.
523 &quot;recaptchaKeys&quot;: [ # The reCAPTCHA keys.
524 { # The reCAPTCHA key config. reCAPTCHA Enterprise offers different keys for different client platforms.
525 &quot;key&quot;: &quot;A String&quot;, # The reCAPTCHA Enterprise key resource name, e.g. &quot;projects/{project}/keys/{key}&quot;
526 &quot;type&quot;: &quot;A String&quot;, # The client&#x27;s platform type.
527 },
528 ],
529 &quot;tollFraudManagedRules&quot;: [ # The managed rules for the authentication action based on reCAPTCHA toll fraud risk scores. Toll fraud managed rules will only take effect when the phone_enforcement_state is AUDIT or ENFORCE and use_sms_toll_fraud_protection is true.
530 { # The config for a reCAPTCHA toll fraud assessment managed rule. Models a single interval [start_score, end_score]. The end_score is implicit. It is either the closest smaller end_score (if one is available) or 0. Intervals in aggregate span [0, 1] without overlapping.
531 &quot;action&quot;: &quot;A String&quot;, # The action taken if the reCAPTCHA score of a request is within the interval [start_score, end_score].
532 &quot;startScore&quot;: 3.14, # The start score (inclusive) for an action. Must be a value between 0.0 and 1.0, at 11 discrete values; e.g. 0, 0.1, 0.2, 0.3, ... 0.9, 1.0. A score of 0.0 indicates the safest request (likely legitimate), whereas 1.0 indicates the riskiest request (likely toll fraud). See https://cloud.google.com/recaptcha-enterprise/docs/sms-fraud-detection#create-assessment-sms.
533 },
534 ],
535 &quot;useAccountDefender&quot;: True or False, # Whether to use the account defender for reCAPTCHA assessment. Defaults to `false`.
536 &quot;useSmsBotScore&quot;: True or False, # Whether to use the rCE bot score for reCAPTCHA phone provider. Can only be true when the phone_enforcement_state is AUDIT or ENFORCE.
537 &quot;useSmsTollFraudProtection&quot;: True or False, # Whether to use the rCE sms toll fraud protection risk score for reCAPTCHA phone provider. Can only be true when the phone_enforcement_state is AUDIT or ENFORCE.
538 },
539 &quot;signIn&quot;: { # Configuration related to local sign in methods. # Configuration related to local sign in methods.
540 &quot;allowDuplicateEmails&quot;: True or False, # Whether to allow more than one account to have the same email.
541 &quot;anonymous&quot;: { # Configuration options related to authenticating an anonymous user. # Configuration options related to authenticating an anonymous user.
542 &quot;enabled&quot;: True or False, # Whether anonymous user auth is enabled for the project or not.
543 },
544 &quot;email&quot;: { # Configuration options related to authenticating a user by their email address. # Configuration options related to authenticating a user by their email address.
545 &quot;enabled&quot;: True or False, # Whether email auth is enabled for the project or not.
546 &quot;passwordRequired&quot;: True or False, # Whether a password is required for email auth or not. If true, both an email and password must be provided to sign in. If false, a user may sign in via either email/password or email link.
547 },
548 &quot;hashConfig&quot;: { # History information of the hash algorithm and key. Different accounts&#x27; passwords may be generated by different version. # Output only. Hash config information.
549 &quot;algorithm&quot;: &quot;A String&quot;, # Output only. Different password hash algorithms used in Identity Toolkit.
550 &quot;memoryCost&quot;: 42, # Output only. Memory cost for hash calculation. Used by scrypt and other similar password derivation algorithms. See https://tools.ietf.org/html/rfc7914 for explanation of field.
551 &quot;rounds&quot;: 42, # Output only. How many rounds for hash calculation. Used by scrypt and other similar password derivation algorithms.
552 &quot;saltSeparator&quot;: &quot;A String&quot;, # Output only. Non-printable character to be inserted between the salt and plain text password in base64.
553 &quot;signerKey&quot;: &quot;A String&quot;, # Output only. Signer key in base64.
554 },
555 &quot;phoneNumber&quot;: { # Configuration options related to authenticated a user by their phone number. # Configuration options related to authenticated a user by their phone number.
556 &quot;enabled&quot;: True or False, # Whether phone number auth is enabled for the project or not.
557 &quot;testPhoneNumbers&quot;: { # A map of that can be used for phone auth testing.
558 &quot;a_key&quot;: &quot;A String&quot;,
559 },
560 },
561 },
562 &quot;smsRegionConfig&quot;: { # 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. # Configures which regions are enabled for SMS verification code sending.
563 &quot;allowByDefault&quot;: { # Defines a policy of allowing every region by default and adding disallowed regions to a disallow list. # A policy of allowing SMS to every region by default and adding disallowed regions to a disallow list.
564 &quot;disallowedRegions&quot;: [ # Two letter unicode region codes to disallow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json
565 &quot;A String&quot;,
566 ],
567 },
568 &quot;allowlistOnly&quot;: { # Defines a policy of only allowing regions by explicitly adding them to an allowlist. # A policy of only allowing regions by explicitly adding them to an allowlist.
569 &quot;allowedRegions&quot;: [ # Two letter unicode region codes to allow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json
570 &quot;A String&quot;,
571 ],
572 },
573 },
574 &quot;subtype&quot;: &quot;A String&quot;, # Output only. The subtype of this config.
575 }
576
577 updateMask: string, The update mask applies to the resource. Fields set in the config but not included in this update mask will be ignored. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
578 x__xgafv: string, V1 error format.
579 Allowed values
580 1 - v1 error format
581 2 - v2 error format
582
583 Returns:
584 An object of the form:
585
586 { # Represents an Identity Toolkit project.
587 &quot;authorizedDomains&quot;: [ # List of domains authorized for OAuth redirects
588 &quot;A String&quot;,
589 ],
590 &quot;autodeleteAnonymousUsers&quot;: True or False, # Whether anonymous users will be auto-deleted after a period of 30 days.
591 &quot;blockingFunctions&quot;: { # Configuration related to Blocking Functions. # Configuration related to blocking functions.
592 &quot;forwardInboundCredentials&quot;: { # Indicates which credentials to pass to the registered Blocking Functions. # The user credentials to include in the JWT payload that is sent to the registered Blocking Functions.
593 &quot;accessToken&quot;: True or False, # Whether to pass the user&#x27;s OAuth identity provider&#x27;s access token.
594 &quot;idToken&quot;: True or False, # Whether to pass the user&#x27;s OIDC identity provider&#x27;s ID token.
595 &quot;refreshToken&quot;: True or False, # Whether to pass the user&#x27;s OAuth identity provider&#x27;s refresh token.
596 },
597 &quot;triggers&quot;: { # Map of Trigger to event type. Key should be one of the supported event types: &quot;beforeCreate&quot;, &quot;beforeSignIn&quot;
598 &quot;a_key&quot;: { # Synchronous Cloud Function with HTTP Trigger
599 &quot;functionUri&quot;: &quot;A String&quot;, # HTTP URI trigger for the Cloud Function.
600 &quot;updateTime&quot;: &quot;A String&quot;, # When the trigger was changed.
601 },
602 },
603 },
604 &quot;client&quot;: { # Options related to how clients making requests on behalf of a project should be configured. # Options related to how clients making requests on behalf of a project should be configured.
605 &quot;apiKey&quot;: &quot;A String&quot;, # Output only. API key that can be used when making requests for this project.
606 &quot;firebaseSubdomain&quot;: &quot;A String&quot;, # Output only. Firebase subdomain.
607 &quot;permissions&quot;: { # Configuration related to restricting a user&#x27;s ability to affect their account. # Configuration related to restricting a user&#x27;s ability to affect their account.
608 &quot;disabledUserDeletion&quot;: True or False, # When true, end users cannot delete their account on the associated project through any of our API methods
609 &quot;disabledUserSignup&quot;: True or False, # When true, end users cannot sign up for a new account on the associated project through any of our API methods
610 },
611 },
612 &quot;defaultHostingSite&quot;: &quot;A String&quot;, # Output only. Default Firebase hosting site name
613 &quot;emailPrivacyConfig&quot;: { # Configuration for settings related to email privacy and public visibility. Settings in this config protect against email enumeration, but may make some trade-offs in user-friendliness. # Configuration for settings related to email privacy and public visibility.
614 &quot;enableImprovedEmailPrivacy&quot;: True or False, # Migrates the project to a state of improved email privacy. For example certain error codes are more generic to avoid giving away information on whether the account exists. In addition, this disables certain features that as a side-effect allow user enumeration. Enabling this toggle disables the fetchSignInMethodsForEmail functionality and changing the user&#x27;s email to an unverified email. It is recommended to remove dependence on this functionality and enable this toggle to improve user privacy.
615 },
616 &quot;mfa&quot;: { # Options related to MultiFactor Authentication for the project. # Configuration for this project&#x27;s multi-factor authentication, including whether it is active and what factors can be used for the second factor
617 &quot;enabledProviders&quot;: [ # A list of usable second factors for this project.
618 &quot;A String&quot;,
619 ],
620 &quot;providerConfigs&quot;: [ # A list of usable second factors for this project along with their configurations. This field does not support phone based MFA, for that use the &#x27;enabled_providers&#x27; field.
621 { # ProviderConfig describes the supported MFA providers along with their configurations.
622 &quot;state&quot;: &quot;A String&quot;, # Describes the state of the MultiFactor Authentication type.
623 &quot;totpProviderConfig&quot;: { # TotpMFAProviderConfig represents the TOTP based MFA provider. # TOTP MFA provider config for this project.
624 &quot;adjacentIntervals&quot;: 42, # The allowed number of adjacent intervals that will be used for verification to avoid clock skew.
625 },
626 },
627 ],
628 &quot;state&quot;: &quot;A String&quot;, # Whether MultiFactor Authentication has been enabled for this project.
629 },
630 &quot;mobileLinksConfig&quot;: { # Configuration mobile links. # Configuration for settings related to univeral links (iOS) and app links (Android).
631 &quot;domain&quot;: &quot;A String&quot;, # Open code in app domain to use for app links and universal links.
632 },
633 &quot;monitoring&quot;: { # Configuration related to monitoring project activity. # Configuration related to monitoring project activity.
634 &quot;requestLogging&quot;: { # Configuration for logging requests made to this project to Stackdriver Logging # Configuration for logging requests made to this project to Stackdriver Logging
635 &quot;enabled&quot;: True or False, # Whether logging is enabled for this project or not.
636 },
637 },
638 &quot;multiTenant&quot;: { # Configuration related to multi-tenant functionality. # Configuration related to multi-tenant functionality.
639 &quot;allowTenants&quot;: True or False, # Whether this project can have tenants or not.
640 &quot;defaultTenantLocation&quot;: &quot;A String&quot;, # The default cloud parent org or folder that the tenant project should be created under. The parent resource name should be in the format of &quot;/&quot;, such as &quot;folders/123&quot; or &quot;organizations/456&quot;. If the value is not set, the tenant will be created under the same organization or folder as the agent project.
641 },
642 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the Config resource. Example: &quot;projects/my-awesome-project/config&quot;
643 &quot;notification&quot;: { # Configuration related to sending notifications to users. # Configuration related to sending notifications to users.
644 &quot;defaultLocale&quot;: &quot;A String&quot;, # Default locale used for email and SMS in IETF BCP 47 format.
645 &quot;sendEmail&quot;: { # Options for email sending. # Options for email sending.
646 &quot;callbackUri&quot;: &quot;A String&quot;, # action url in email template.
647 &quot;changeEmailTemplate&quot;: { # Email template. The subject and body fields can contain the following placeholders which will be replaced with the appropriate values: %LINK% - The link to use to redeem the send OOB code. %EMAIL% - The email where the email is being sent. %NEW_EMAIL% - The new email being set for the account (when applicable). %APP_NAME% - The Google Cloud project&#x27;s display name. %DISPLAY_NAME% - The user&#x27;s display name. # Email template for change email
648 &quot;body&quot;: &quot;A String&quot;, # Email body
649 &quot;bodyFormat&quot;: &quot;A String&quot;, # Email body format
650 &quot;customized&quot;: True or False, # Output only. Whether the body or subject of the email is customized.
651 &quot;replyTo&quot;: &quot;A String&quot;, # Reply-to address
652 &quot;senderDisplayName&quot;: &quot;A String&quot;, # Sender display name
653 &quot;senderLocalPart&quot;: &quot;A String&quot;, # Local part of From address
654 &quot;subject&quot;: &quot;A String&quot;, # Subject of the email
655 },
656 &quot;dnsInfo&quot;: { # Information of custom domain DNS verification. By default, default_domain will be used. A custom domain can be configured using VerifyCustomDomain. # Information of custom domain DNS verification.
657 &quot;customDomain&quot;: &quot;A String&quot;, # Output only. The applied verified custom domain.
658 &quot;customDomainState&quot;: &quot;A String&quot;, # Output only. The current verification state of the custom domain. The custom domain will only be used once the domain verification is successful.
659 &quot;domainVerificationRequestTime&quot;: &quot;A String&quot;, # Output only. The timestamp of initial request for the current domain verification.
660 &quot;pendingCustomDomain&quot;: &quot;A String&quot;, # Output only. The custom domain that&#x27;s to be verified.
661 &quot;useCustomDomain&quot;: True or False, # Whether to use custom domain.
662 },
663 &quot;legacyResetPasswordTemplate&quot;: { # Email template. The subject and body fields can contain the following placeholders which will be replaced with the appropriate values: %LINK% - The link to use to redeem the send OOB code. %EMAIL% - The email where the email is being sent. %NEW_EMAIL% - The new email being set for the account (when applicable). %APP_NAME% - The Google Cloud project&#x27;s display name. %DISPLAY_NAME% - The user&#x27;s display name. # Reset password email template for legacy Firebase V1 app.
664 &quot;body&quot;: &quot;A String&quot;, # Email body
665 &quot;bodyFormat&quot;: &quot;A String&quot;, # Email body format
666 &quot;customized&quot;: True or False, # Output only. Whether the body or subject of the email is customized.
667 &quot;replyTo&quot;: &quot;A String&quot;, # Reply-to address
668 &quot;senderDisplayName&quot;: &quot;A String&quot;, # Sender display name
669 &quot;senderLocalPart&quot;: &quot;A String&quot;, # Local part of From address
670 &quot;subject&quot;: &quot;A String&quot;, # Subject of the email
671 },
672 &quot;method&quot;: &quot;A String&quot;, # The method used for sending an email.
673 &quot;resetPasswordTemplate&quot;: { # Email template. The subject and body fields can contain the following placeholders which will be replaced with the appropriate values: %LINK% - The link to use to redeem the send OOB code. %EMAIL% - The email where the email is being sent. %NEW_EMAIL% - The new email being set for the account (when applicable). %APP_NAME% - The Google Cloud project&#x27;s display name. %DISPLAY_NAME% - The user&#x27;s display name. # Email template for reset password
674 &quot;body&quot;: &quot;A String&quot;, # Email body
675 &quot;bodyFormat&quot;: &quot;A String&quot;, # Email body format
676 &quot;customized&quot;: True or False, # Output only. Whether the body or subject of the email is customized.
677 &quot;replyTo&quot;: &quot;A String&quot;, # Reply-to address
678 &quot;senderDisplayName&quot;: &quot;A String&quot;, # Sender display name
679 &quot;senderLocalPart&quot;: &quot;A String&quot;, # Local part of From address
680 &quot;subject&quot;: &quot;A String&quot;, # Subject of the email
681 },
682 &quot;revertSecondFactorAdditionTemplate&quot;: { # Email template. The subject and body fields can contain the following placeholders which will be replaced with the appropriate values: %LINK% - The link to use to redeem the send OOB code. %EMAIL% - The email where the email is being sent. %NEW_EMAIL% - The new email being set for the account (when applicable). %APP_NAME% - The Google Cloud project&#x27;s display name. %DISPLAY_NAME% - The user&#x27;s display name. # Email template for reverting second factor addition emails
683 &quot;body&quot;: &quot;A String&quot;, # Email body
684 &quot;bodyFormat&quot;: &quot;A String&quot;, # Email body format
685 &quot;customized&quot;: True or False, # Output only. Whether the body or subject of the email is customized.
686 &quot;replyTo&quot;: &quot;A String&quot;, # Reply-to address
687 &quot;senderDisplayName&quot;: &quot;A String&quot;, # Sender display name
688 &quot;senderLocalPart&quot;: &quot;A String&quot;, # Local part of From address
689 &quot;subject&quot;: &quot;A String&quot;, # Subject of the email
690 },
691 &quot;smtp&quot;: { # Configuration for SMTP relay # Use a custom SMTP relay
692 &quot;host&quot;: &quot;A String&quot;, # SMTP relay host
693 &quot;password&quot;: &quot;A String&quot;, # SMTP relay password
694 &quot;port&quot;: 42, # SMTP relay port
695 &quot;securityMode&quot;: &quot;A String&quot;, # SMTP security mode.
696 &quot;senderEmail&quot;: &quot;A String&quot;, # Sender email for the SMTP relay
697 &quot;username&quot;: &quot;A String&quot;, # SMTP relay username
698 },
699 &quot;verifyEmailTemplate&quot;: { # Email template. The subject and body fields can contain the following placeholders which will be replaced with the appropriate values: %LINK% - The link to use to redeem the send OOB code. %EMAIL% - The email where the email is being sent. %NEW_EMAIL% - The new email being set for the account (when applicable). %APP_NAME% - The Google Cloud project&#x27;s display name. %DISPLAY_NAME% - The user&#x27;s display name. # Email template for verify email
700 &quot;body&quot;: &quot;A String&quot;, # Email body
701 &quot;bodyFormat&quot;: &quot;A String&quot;, # Email body format
702 &quot;customized&quot;: True or False, # Output only. Whether the body or subject of the email is customized.
703 &quot;replyTo&quot;: &quot;A String&quot;, # Reply-to address
704 &quot;senderDisplayName&quot;: &quot;A String&quot;, # Sender display name
705 &quot;senderLocalPart&quot;: &quot;A String&quot;, # Local part of From address
706 &quot;subject&quot;: &quot;A String&quot;, # Subject of the email
707 },
708 },
709 &quot;sendSms&quot;: { # Options for SMS sending. # Options for SMS sending.
710 &quot;smsTemplate&quot;: { # The template to use when sending an SMS. # Output only. The template to use when sending an SMS.
711 &quot;content&quot;: &quot;A String&quot;, # Output only. The SMS&#x27;s content. Can contain the following placeholders which will be replaced with the appropriate values: %APP_NAME% - For Android or iOS apps, the app&#x27;s display name. For web apps, the domain hosting the application. %LOGIN_CODE% - The OOB code being sent in the SMS.
712 },
713 &quot;useDeviceLocale&quot;: True or False, # Whether to use the accept_language header for SMS.
714 },
715 },
716 &quot;passwordPolicyConfig&quot;: { # The configuration for the password policy on the project. # The project level password policy configuration.
717 &quot;forceUpgradeOnSignin&quot;: True or False, # Users must have a password compliant with the password policy to sign-in.
718 &quot;lastUpdateTime&quot;: &quot;A String&quot;, # Output only. The last time the password policy on the project was updated.
719 &quot;passwordPolicyEnforcementState&quot;: &quot;A String&quot;, # Which enforcement mode to use for the password policy.
720 &quot;passwordPolicyVersions&quot;: [ # Must be of length 1. Contains the strength attributes for the password policy.
721 { # The strength attributes for the password policy on the project.
722 &quot;customStrengthOptions&quot;: { # Custom strength options to enforce on user passwords. # The custom strength options enforced by the password policy.
723 &quot;containsLowercaseCharacter&quot;: True or False, # The password must contain a lower case character.
724 &quot;containsNonAlphanumericCharacter&quot;: True or False, # The password must contain a non alpha numeric character.
725 &quot;containsNumericCharacter&quot;: True or False, # The password must contain a number.
726 &quot;containsUppercaseCharacter&quot;: True or False, # The password must contain an upper case character.
727 &quot;maxPasswordLength&quot;: 42, # Maximum password length. No default max length
728 &quot;minPasswordLength&quot;: 42, # Minimum password length. Range from 6 to 30
729 },
730 &quot;schemaVersion&quot;: 42, # Output only. schema version number for the password policy
731 },
732 ],
733 },
734 &quot;quota&quot;: { # Configuration related to quotas. # Configuration related to quotas.
735 &quot;signUpQuotaConfig&quot;: { # Temporary quota increase / decrease # Quota for the Signup endpoint, if overwritten. Signup quota is measured in sign ups per project per hour per IP.
736 &quot;quota&quot;: &quot;A String&quot;, # Corresponds to the &#x27;refill_token_count&#x27; field in QuotaServer config
737 &quot;quotaDuration&quot;: &quot;A String&quot;, # How long this quota will be active for
738 &quot;startTime&quot;: &quot;A String&quot;, # When this quota will take effect
739 },
740 },
741 &quot;recaptchaConfig&quot;: { # The reCAPTCHA Enterprise integration config. # The project-level reCAPTCHA config.
742 &quot;emailPasswordEnforcementState&quot;: &quot;A String&quot;, # The reCAPTCHA config for email/password provider, containing the enforcement status. The email/password provider contains all email related user flows protected by reCAPTCHA.
743 &quot;managedRules&quot;: [ # The managed rules for authentication action based on reCAPTCHA scores. The rules are shared across providers for a given tenant project.
744 { # The config for a reCAPTCHA managed rule. Models a single interval [start_score, end_score]. The start_score is implicit. It is either the closest smaller end_score (if one is available) or 0. Intervals in aggregate span [0, 1] without overlapping.
745 &quot;action&quot;: &quot;A String&quot;, # The action taken if the reCAPTCHA score of a request is within the interval [start_score, end_score].
746 &quot;endScore&quot;: 3.14, # The end score (inclusive) of the score range for an action. Must be a value between 0.0 and 1.0, at 11 discrete values; e.g. 0, 0.1, 0.2, 0.3, ... 0.9, 1.0. A score of 0.0 indicates the riskiest request (likely a bot), whereas 1.0 indicates the safest request (likely a human). See https://cloud.google.com/recaptcha-enterprise/docs/interpret-assessment.
747 },
748 ],
749 &quot;phoneEnforcementState&quot;: &quot;A String&quot;, # The reCAPTCHA config for phone provider, containing the enforcement status. The phone provider contains all SMS related user flows protected by reCAPTCHA.
750 &quot;recaptchaKeys&quot;: [ # The reCAPTCHA keys.
751 { # The reCAPTCHA key config. reCAPTCHA Enterprise offers different keys for different client platforms.
752 &quot;key&quot;: &quot;A String&quot;, # The reCAPTCHA Enterprise key resource name, e.g. &quot;projects/{project}/keys/{key}&quot;
753 &quot;type&quot;: &quot;A String&quot;, # The client&#x27;s platform type.
754 },
755 ],
756 &quot;tollFraudManagedRules&quot;: [ # The managed rules for the authentication action based on reCAPTCHA toll fraud risk scores. Toll fraud managed rules will only take effect when the phone_enforcement_state is AUDIT or ENFORCE and use_sms_toll_fraud_protection is true.
757 { # The config for a reCAPTCHA toll fraud assessment managed rule. Models a single interval [start_score, end_score]. The end_score is implicit. It is either the closest smaller end_score (if one is available) or 0. Intervals in aggregate span [0, 1] without overlapping.
758 &quot;action&quot;: &quot;A String&quot;, # The action taken if the reCAPTCHA score of a request is within the interval [start_score, end_score].
759 &quot;startScore&quot;: 3.14, # The start score (inclusive) for an action. Must be a value between 0.0 and 1.0, at 11 discrete values; e.g. 0, 0.1, 0.2, 0.3, ... 0.9, 1.0. A score of 0.0 indicates the safest request (likely legitimate), whereas 1.0 indicates the riskiest request (likely toll fraud). See https://cloud.google.com/recaptcha-enterprise/docs/sms-fraud-detection#create-assessment-sms.
760 },
761 ],
762 &quot;useAccountDefender&quot;: True or False, # Whether to use the account defender for reCAPTCHA assessment. Defaults to `false`.
763 &quot;useSmsBotScore&quot;: True or False, # Whether to use the rCE bot score for reCAPTCHA phone provider. Can only be true when the phone_enforcement_state is AUDIT or ENFORCE.
764 &quot;useSmsTollFraudProtection&quot;: True or False, # Whether to use the rCE sms toll fraud protection risk score for reCAPTCHA phone provider. Can only be true when the phone_enforcement_state is AUDIT or ENFORCE.
765 },
766 &quot;signIn&quot;: { # Configuration related to local sign in methods. # Configuration related to local sign in methods.
767 &quot;allowDuplicateEmails&quot;: True or False, # Whether to allow more than one account to have the same email.
768 &quot;anonymous&quot;: { # Configuration options related to authenticating an anonymous user. # Configuration options related to authenticating an anonymous user.
769 &quot;enabled&quot;: True or False, # Whether anonymous user auth is enabled for the project or not.
770 },
771 &quot;email&quot;: { # Configuration options related to authenticating a user by their email address. # Configuration options related to authenticating a user by their email address.
772 &quot;enabled&quot;: True or False, # Whether email auth is enabled for the project or not.
773 &quot;passwordRequired&quot;: True or False, # Whether a password is required for email auth or not. If true, both an email and password must be provided to sign in. If false, a user may sign in via either email/password or email link.
774 },
775 &quot;hashConfig&quot;: { # History information of the hash algorithm and key. Different accounts&#x27; passwords may be generated by different version. # Output only. Hash config information.
776 &quot;algorithm&quot;: &quot;A String&quot;, # Output only. Different password hash algorithms used in Identity Toolkit.
777 &quot;memoryCost&quot;: 42, # Output only. Memory cost for hash calculation. Used by scrypt and other similar password derivation algorithms. See https://tools.ietf.org/html/rfc7914 for explanation of field.
778 &quot;rounds&quot;: 42, # Output only. How many rounds for hash calculation. Used by scrypt and other similar password derivation algorithms.
779 &quot;saltSeparator&quot;: &quot;A String&quot;, # Output only. Non-printable character to be inserted between the salt and plain text password in base64.
780 &quot;signerKey&quot;: &quot;A String&quot;, # Output only. Signer key in base64.
781 },
782 &quot;phoneNumber&quot;: { # Configuration options related to authenticated a user by their phone number. # Configuration options related to authenticated a user by their phone number.
783 &quot;enabled&quot;: True or False, # Whether phone number auth is enabled for the project or not.
784 &quot;testPhoneNumbers&quot;: { # A map of that can be used for phone auth testing.
785 &quot;a_key&quot;: &quot;A String&quot;,
786 },
787 },
788 },
789 &quot;smsRegionConfig&quot;: { # 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. # Configures which regions are enabled for SMS verification code sending.
790 &quot;allowByDefault&quot;: { # Defines a policy of allowing every region by default and adding disallowed regions to a disallow list. # A policy of allowing SMS to every region by default and adding disallowed regions to a disallow list.
791 &quot;disallowedRegions&quot;: [ # Two letter unicode region codes to disallow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json
792 &quot;A String&quot;,
793 ],
794 },
795 &quot;allowlistOnly&quot;: { # Defines a policy of only allowing regions by explicitly adding them to an allowlist. # A policy of only allowing regions by explicitly adding them to an allowlist.
796 &quot;allowedRegions&quot;: [ # Two letter unicode region codes to allow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json
797 &quot;A String&quot;,
798 ],
799 },
800 },
801 &quot;subtype&quot;: &quot;A String&quot;, # Output only. The subtype of this config.
802 }</pre>
803 </div>
804
805 </body></html>