Index
ProjectConfigService
(interface)TenantManagementService
(interface)BlockingFunctionsConfig
(message)BlockingFunctionsConfig.Trigger
(message)ClientConfig
(message)ClientConfig.Permissions
(message)ClientPermissionConfig
(message)ClientPermissionConfig.ClientPermissions
(message)Config
(message)Config.Subtype
(enum)CreateDefaultSupportedIdpConfigRequest
(message)CreateInboundSamlConfigRequest
(message)CreateOAuthIdpConfigRequest
(message)CreateTenantRequest
(message)DefaultSupportedIdp
(message)DefaultSupportedIdpConfig
(message)DefaultSupportedIdpConfig.AppleSignInConfig
(message)DefaultSupportedIdpConfig.AppleSignInConfig.CodeFlowConfig
(message)DeleteDefaultSupportedIdpConfigRequest
(message)DeleteInboundSamlConfigRequest
(message)DeleteOAuthIdpConfigRequest
(message)DeleteTenantRequest
(message)EmailPrivacyConfig
(message)ForwardInboundCredentials
(message)GetConfigRequest
(message)GetDefaultSupportedIdpConfigRequest
(message)GetInboundSamlConfigRequest
(message)GetOAuthIdpConfigRequest
(message)GetTenantRequest
(message)HashConfig
(message)HashConfig.HashAlgorithm
(enum)IdpCertificate
(message)InboundSamlConfig
(message)InboundSamlConfig.IdpConfig
(message)InboundSamlConfig.SpConfig
(message)Inheritance
(message)InitializeIdentityPlatformRequest
(message)InitializeIdentityPlatformResponse
(message)ListDefaultSupportedIdpConfigsRequest
(message)ListDefaultSupportedIdpConfigsResponse
(message)ListDefaultSupportedIdpsRequest
(message)ListDefaultSupportedIdpsResponse
(message)ListInboundSamlConfigsRequest
(message)ListInboundSamlConfigsResponse
(message)ListOAuthIdpConfigsRequest
(message)ListOAuthIdpConfigsResponse
(message)ListTenantsRequest
(message)ListTenantsResponse
(message)MfaState
(enum)MonitoringConfig
(message)MonitoringConfig.RequestLogging
(message)MultiFactorAuthConfig
(message)MultiFactorAuthConfig.Provider
(enum)MultiFactorAuthConfig.State
(enum)MultiTenantConfig
(message)NotificationConfig
(message)NotificationConfig.SendEmail
(message)NotificationConfig.SendEmail.DnsInfo
(message)NotificationConfig.SendEmail.DnsInfo.VerificationState
(enum)NotificationConfig.SendEmail.EmailTemplate
(message)NotificationConfig.SendEmail.EmailTemplate.BodyFormat
(enum)NotificationConfig.SendEmail.Method
(enum)NotificationConfig.SendEmail.Smtp
(message)NotificationConfig.SendEmail.Smtp.SecurityMode
(enum)NotificationConfig.SendSms
(message)NotificationConfig.SendSms.SmsTemplate
(message)OAuthIdpConfig
(message)OAuthIdpConfig.OAuthResponseType
(message)PasswordPolicyConfig
(message)PasswordPolicyConfig.PasswordPolicyEnforcementState
(enum)PasswordPolicyVersion
(message)PasswordPolicyVersion.CustomStrengthOptions
(message)ProviderConfig
(message)QuotaConfig
(message)QuotaConfig.TemporaryQuota
(message)RecaptchaConfig
(message)RecaptchaConfig.RecaptchaProviderEnforcementState
(enum)RecaptchaKey
(message)RecaptchaKey.RecaptchaKeyClientType
(enum)RecaptchaManagedRule
(message)RecaptchaManagedRule.RecaptchaAction
(enum)RecaptchaTollFraudManagedRule
(message)RecaptchaTollFraudManagedRule.RecaptchaAction
(enum)SignInConfig
(message)SignInConfig.Anonymous
(message)SignInConfig.Email
(message)SignInConfig.PhoneNumber
(message)SmsRegionConfig
(message)SmsRegionConfig.AllowByDefault
(message)SmsRegionConfig.AllowlistOnly
(message)SpCertificate
(message)Tenant
(message)TotpMfaProviderConfig
(message)UpdateConfigRequest
(message)UpdateDefaultSupportedIdpConfigRequest
(message)UpdateInboundSamlConfigRequest
(message)UpdateOAuthIdpConfigRequest
(message)UpdateTenantRequest
(message)VerifyDomainRequest
(message)VerifyDomainRequest.DomainVerificationAction
(enum)VerifyDomainResponse
(message)
ProjectConfigService
Project configuration for Identity Toolkit
CreateDefaultSupportedIdpConfig |
---|
Create a default supported Idp configuration for an Identity Toolkit project.
|
CreateInboundSamlConfig |
---|
Create an inbound SAML configuration for an Identity Toolkit project.
|
CreateOAuthIdpConfig |
---|
Create an Oidc Idp configuration for an Identity Toolkit project.
|
DeleteDefaultSupportedIdpConfig |
---|
Delete a default supported Idp configuration for an Identity Toolkit project.
|
DeleteInboundSamlConfig |
---|
Delete an inbound SAML configuration for an Identity Toolkit project.
|
DeleteOAuthIdpConfig |
---|
Delete an Oidc Idp configuration for an Identity Toolkit project.
|
GetConfig |
---|
Retrieve an Identity Toolkit project configuration.
|
GetDefaultSupportedIdpConfig |
---|
Retrieve a default supported Idp configuration for an Identity Toolkit project.
|
GetIamPolicy |
---|
Gets the access control policy for a resource. An error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it. Caller must have the right Google IAM permission on the resource.
|
GetInboundSamlConfig |
---|
Retrieve an inbound SAML configuration for an Identity Toolkit project.
|
GetOAuthIdpConfig |
---|
Retrieve an Oidc Idp configuration for an Identity Toolkit project.
|
InitializeIdentityPlatform |
---|
Initialize Identity Platform for a Cloud project. Identity Platform is an end-to-end authentication system for third-party users to access your apps and services. These could include mobile/web apps, games, APIs and beyond. This is the publicly available variant of EnableIdentityPlatform that is only available to billing-enabled projects.
|
ListDefaultSupportedIdpConfigs |
---|
List all default supported Idp configurations for an Identity Toolkit project.
|
ListDefaultSupportedIdps |
---|
List all default supported Idps.
|
ListInboundSamlConfigs |
---|
List all inbound SAML configurations for an Identity Toolkit project.
|
ListOAuthIdpConfigs |
---|
List all Oidc Idp configurations for an Identity Toolkit project.
|
SetIamPolicy |
---|
Sets the access control policy for a resource. If the policy exists, it is replaced. Caller must have the right Google IAM permission on the resource.
|
TestIamPermissions |
---|
Returns the caller's permissions on a resource. An error is returned if the resource does not exist. A caller is not required to have Google IAM permission to make this request.
|
UpdateConfig |
---|
Update an Identity Toolkit project configuration.
|
UpdateDefaultSupportedIdpConfig |
---|
Update a default supported Idp configuration for an Identity Toolkit project.
|
UpdateInboundSamlConfig |
---|
Update an inbound SAML configuration for an Identity Toolkit project.
|
UpdateOAuthIdpConfig |
---|
Update an Oidc Idp configuration for an Identity Toolkit project.
|
VerifyDomain |
---|
Verify the requested custom domain has required DNS records.
|
TenantManagementService
Tenant management service for GCIP.
CreateTenant |
---|
Create a tenant. Requires write permission on the Agent project.
|
DeleteTenant |
---|
Delete a tenant. Requires write permission on the Agent project.
|
GetTenant |
---|
Get a tenant. Requires read permission on the Tenant resource.
|
ListTenants |
---|
List tenants under the given agent project. Requires read permission on the Agent project.
|
UpdateTenant |
---|
Update a tenant. Requires write permission on the Tenant resource.
|
BlockingFunctionsConfig
Configuration related to Blocking Functions.
Fields | |
---|---|
triggers |
Map of Trigger to event type. Key should be one of the supported event types: "beforeCreate", "beforeSignIn" |
forward_ |
The user credentials to include in the JWT payload that is sent to the registered Blocking Functions. |
Trigger
Synchronous Cloud Function with HTTP Trigger
Fields | |
---|---|
function_ |
HTTP URI trigger for the Cloud Function. |
update_ |
When the trigger was changed. |
ClientConfig
Options related to how clients making requests on behalf of a project should be configured.
Fields | |
---|---|
api_ |
Output only. API key that can be used when making requests for this project. |
permissions |
Configuration related to restricting a user's ability to affect their account. |
firebase_ |
Output only. Firebase subdomain. |
Permissions
Configuration related to restricting a user's ability to affect their account.
Fields | |
---|---|
disabled_ |
When true, end users cannot sign up for a new account on the associated project through any of our API methods |
disabled_ |
When true, end users cannot delete their account on the associated project through any of our API methods |
ClientPermissionConfig
Options related to how clients making requests on behalf of a tenant should be configured.
Fields | |
---|---|
permissions |
Configuration related to restricting a user's ability to affect their account. |
ClientPermissions
Configuration related to restricting a user's ability to affect their account.
Fields | |
---|---|
disabled_ |
When true, end users cannot sign up for a new account on the associated project through any of our API methods |
disabled_ |
When true, end users cannot delete their account on the associated project through any of our API methods |
Config
Represents an Identity Toolkit project.
Fields | |
---|---|
name |
Output only. The name of the Config resource. Example: "projects/my-awesome-project/config" |
sign_ |
Configuration related to local sign in methods. |
notification |
Configuration related to sending notifications to users. |
quota |
Configuration related to quotas. |
monitoring |
Configuration related to monitoring project activity. |
multi_ |
Configuration related to multi-tenant functionality. |
authorized_ |
List of domains authorized for OAuth redirects |
subtype |
Output only. The subtype of this config. |
client |
Options related to how clients making requests on behalf of a project should be configured. |
mfa |
Configuration for this project's multi-factor authentication, including whether it is active and what factors can be used for the second factor |
blocking_ |
Configuration related to blocking functions. |
recaptcha_ |
The project-level reCAPTCHA config. |
sms_ |
Configures which regions are enabled for SMS verification code sending. |
autodelete_ |
Whether anonymous users will be auto-deleted after a period of 30 days. |
password_ |
The project level password policy configuration. |
email_ |
Configuration for settings related to email privacy and public visibility. |
Subtype
The subtype of this config.
Enums | |
---|---|
SUBTYPE_UNSPECIFIED |
Default value. Do not use. |
IDENTITY_PLATFORM |
An Identity Platform project. |
FIREBASE_AUTH |
A Firebase Authentication project. |
CreateDefaultSupportedIdpConfigRequest
Request for CreateDefaultSupportedIdpConfig
Fields | |
---|---|
parent |
The parent resource name where the config to be created, for example: "projects/my-awesome-project" Authorization requires the following IAM permission on the specified resource
|
idp_ |
The id of the Idp to create a config for. Call ListDefaultSupportedIdps for list of all default supported Idps. |
default_ |
The config resource which replaces the resource on the server. |
CreateInboundSamlConfigRequest
Request for CreateInboundSamlConfig
Fields | |
---|---|
parent |
The parent resource name where the config to be created, for example: "projects/my-awesome-project" Authorization requires the following IAM permission on the specified resource
|
inbound_ |
The id to use for this config. |
inbound_ |
The config resource to create. Client must not set the |
CreateOAuthIdpConfigRequest
Request for CreateOAuthIdpConfig
Fields | |
---|---|
parent |
The parent resource name where the config to be created, for example: "projects/my-awesome-project" Authorization requires the following IAM permission on the specified resource
|
oauth_ |
The id to use for this config. |
oauth_ |
The config resource to create. Client must not set the |
CreateTenantRequest
Request message for CreateTenant.
Fields | |
---|---|
parent |
The parent resource name where the tenant will be created. For example, "projects/project1". Authorization requires the following IAM permission on the specified resource
|
tenant |
Required. Tenant to be created. |
DefaultSupportedIdp
Standard Identity Toolkit-trusted IDPs.
Fields | |
---|---|
idp_ |
Id the of Idp |
description |
Description of the Idp |
DefaultSupportedIdpConfig
Configurations options for authenticating with a the standard set of Identity Toolkit-trusted IDPs.
Fields | |
---|---|
name |
The name of the DefaultSupportedIdpConfig resource, for example: "projects/my-awesome-project/defaultSupportedIdpConfigs/google.com" |
enabled |
True if allows the user to sign in with the provider. |
client_ |
OAuth client ID. |
client_ |
OAuth client secret. |
Union field idp_specific_config . IDP settings that are specific to one type of sign-in. idp_specific_config can be only one of the following: |
|
apple_ |
Additional config for Apple-based projects. |
AppleSignInConfig
Additional config for SignInWithApple.
Fields | |
---|---|
code_ |
Additional config for Apple for code flow. |
bundle_ |
A list of Bundle ID's usable by this project |
CodeFlowConfig
Additional config for Apple for code flow.
Fields | |
---|---|
team_ |
Apple Developer Team ID. |
key_ |
Key ID for the private key. |
private_ |
Private key used for signing the client secret JWT. |
DeleteDefaultSupportedIdpConfigRequest
Request for DeleteDefaultSupportedIdpConfig
Fields | |
---|---|
name |
The resource name of the config, for example: "projects/my-awesome-project/defaultSupportedIdpConfigs/google.com" Authorization requires the following IAM permission on the specified resource
|
DeleteInboundSamlConfigRequest
Request for DeleteInboundSamlConfig
Fields | |
---|---|
name |
The resource name of the config to be deleted, for example: 'projects/my-awesome-project/inboundSamlConfigs/my-config-id'. Authorization requires the following IAM permission on the specified resource
|
DeleteOAuthIdpConfigRequest
Request for DeleteOAuthIdpConfig
Fields | |
---|---|
name |
The resource name of the config to be deleted, for example: 'projects/my-awesome-project/oauthIdpConfigs/oauth-config-id'. Authorization requires the following IAM permission on the specified resource
|
DeleteTenantRequest
Request message for DeleteTenant.
Fields | |
---|---|
name |
Resource name of the tenant to delete. Authorization requires the following IAM permission on the specified resource
|
EmailPrivacyConfig
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.
Fields | |
---|---|
enable_ |
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's email to an unverified email. It is recommended to remove dependence on this functionality and enable this toggle to improve user privacy. |
ForwardInboundCredentials
Indicates which credentials to pass to the registered Blocking Functions.
Fields | |
---|---|
id_ |
Whether to pass the user's OIDC identity provider's ID token. |
access_ |
Whether to pass the user's OAuth identity provider's access token. |
refresh_ |
Whether to pass the user's OAuth identity provider's refresh token. |
GetConfigRequest
Request for GetConfig
Fields | |
---|---|
name |
The resource name of the config, for example: "projects/my-awesome-project/config" Authorization requires the following IAM permission on the specified resource
|
GetDefaultSupportedIdpConfigRequest
Request for GetDefaultSupportedIdpConfig
Fields | |
---|---|
name |
The resource name of the config, for example: "projects/my-awesome-project/defaultSupportedIdpConfigs/google.com" Authorization requires the following IAM permission on the specified resource
|
GetInboundSamlConfigRequest
Request for GetInboundSamlConfig
Fields | |
---|---|
name |
The resource name of the config, for example: 'projects/my-awesome-project/inboundSamlConfigs/my-config-id'. Authorization requires the following IAM permission on the specified resource
|
GetOAuthIdpConfigRequest
Requesst for GetOAuthIdpConfig
Fields | |
---|---|
name |
The resource name of the config, for example: 'projects/my-awesome-project/oauthIdpConfigs/oauth-config-id'. Authorization requires the following IAM permission on the specified resource
|
GetTenantRequest
Request message for GetTenant.
Fields | |
---|---|
name |
Resource name of the tenant to retrieve. Authorization requires the following IAM permission on the specified resource
|
HashConfig
History information of the hash algorithm and key. Different accounts' passwords may be generated by different version.
Fields | |
---|---|
algorithm |
Output only. Different password hash algorithms used in Identity Toolkit. |
signer_ |
Output only. Signer key in base64. |
salt_ |
Output only. Non-printable character to be inserted between the salt and plain text password in base64. |
rounds |
Output only. How many rounds for hash calculation. Used by scrypt and other similar password derivation algorithms. |
memory_ |
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. |
HashAlgorithm
Different password hash algorithms used in Identity Toolkit.
Enums | |
---|---|
HASH_ALGORITHM_UNSPECIFIED |
Default value. Do not use. |
HMAC_SHA256 |
HMAC_SHA256 |
HMAC_SHA1 |
HMAC_SHA1 |
HMAC_MD5 |
HMAC_MD5 |
SCRYPT |
SCRYPT |
PBKDF_SHA1 |
PBKDF_SHA1 |
MD5 |
MD5 |
HMAC_SHA512 |
HMAC_SHA512 |
SHA1 |
SHA1 |
BCRYPT |
BCRYPT |
PBKDF2_SHA256 |
PBKDF2_SHA256 |
SHA256 |
SHA256 |
SHA512 |
SHA512 |
STANDARD_SCRYPT |
STANDARD_SCRYPT |
IdpCertificate
The IDP's certificate data to verify the signature in the SAMLResponse issued by the IDP.
Fields | |
---|---|
x509_ |
The x509 certificate |
InboundSamlConfig
A pair of SAML RP-IDP configurations when the project acts as the relying party.
Fields | |
---|---|
name |
The name of the InboundSamlConfig resource, for example: 'projects/my-awesome-project/inboundSamlConfigs/my-config-id'. Ignored during create requests. |
idp_ |
The SAML IdP (Identity Provider) configuration when the project acts as the relying party. |
sp_ |
The SAML SP (Service Provider) configuration when the project acts as the relying party to receive and accept an authentication assertion issued by a SAML identity provider. |
display_ |
The config's display name set by developers. |
enabled |
True if allows the user to sign in with the provider. |
IdpConfig
The SAML IdP (Identity Provider) configuration when the project acts as the relying party.
Fields | |
---|---|
idp_ |
Unique identifier for all SAML entities. |
sso_ |
URL to send Authentication request to. |
idp_ |
IDP's public keys for verifying signature in the assertions. |
sign_ |
Indicates if outbounding SAMLRequest should be signed. |
SpConfig
The SAML SP (Service Provider) configuration when the project acts as the relying party to receive and accept an authentication assertion issued by a SAML identity provider.
Fields | |
---|---|
sp_ |
Unique identifier for all SAML entities. |
callback_ |
Callback URI where responses from IDP are handled. |
sp_ |
Output only. Public certificates generated by the server to verify the signature in SAMLRequest in the SP-initiated flow. |
Inheritance
Settings that the tenants will inherit from project level.
Fields | |
---|---|
email_ |
Whether to allow the tenant to inherit custom domains, email templates, and custom SMTP settings. If true, email sent from tenant will follow the project level email sending configurations. If false (by default), emails will go with the default settings with no customizations. |
InitializeIdentityPlatformRequest
Request for InitializeIdentityPlatform.
Fields | |
---|---|
project |
The resource name of the target project the developer wants to enable Identity Platform for. Authorization requires the following IAM permission on the specified resource
|
InitializeIdentityPlatformResponse
This type has no fields.
Response for InitializeIdentityPlatform. Empty for now.
ListDefaultSupportedIdpConfigsRequest
Request for ListDefaultSupportedIdpConfigs
Fields | |
---|---|
parent |
The parent resource name, for example, "projects/my-awesome-project". Authorization requires the following IAM permission on the specified resource
|
page_ |
The maximum number of items to return. |
page_ |
The next_page_token value returned from a previous List request, if any. |
ListDefaultSupportedIdpConfigsResponse
Response for DefaultSupportedIdpConfigs
Fields | |
---|---|
default_ |
The set of configs. |
next_ |
Token to retrieve the next page of results, or empty if there are no more results in the list. |
ListDefaultSupportedIdpsRequest
Request for ListDefaultSupportedIdps
Fields | |
---|---|
page_ |
The maximum number of items to return. |
page_ |
The next_page_token value returned from a previous List request, if any. |
ListDefaultSupportedIdpsResponse
Response for ListDefaultSupportedIdps
Fields | |
---|---|
default_ |
The set of configs. |
next_ |
Token to retrieve the next page of results, or empty if there are no more results in the list. |
ListInboundSamlConfigsRequest
Request for ListInboundSamlConfigs
Fields | |
---|---|
parent |
The parent resource name, for example, "projects/my-awesome-project". Authorization requires the following IAM permission on the specified resource
|
page_ |
The maximum number of items to return. |
page_ |
The next_page_token value returned from a previous List request, if any. |
ListInboundSamlConfigsResponse
Response for ListInboundSamlConfigs
Fields | |
---|---|
inbound_ |
The set of configs. |
next_ |
Token to retrieve the next page of results, or empty if there are no more results in the list. |
ListOAuthIdpConfigsRequest
Request for ListOAuthIdpConfigs
Fields | |
---|---|
parent |
The parent resource name, for example, "projects/my-awesome-project". Authorization requires the following IAM permission on the specified resource
|
page_ |
The maximum number of items to return. |
page_ |
The next_page_token value returned from a previous List request, if any. |
ListOAuthIdpConfigsResponse
Response for ListOAuthIdpConfigs
Fields | |
---|---|
oauth_ |
The set of configs. |
next_ |
Token to retrieve the next page of results, or empty if there are no more results in the list. |
ListTenantsRequest
Request message for ListTenants.
Fields | |
---|---|
parent |
Required. The parent resource name to list tenants for. Authorization requires the following IAM permission on the specified resource
|
page_ |
The pagination token from the response of a previous request. |
page_ |
The maximum number of results to return, capped at 1000. If not specified, the default value is 20. |
ListTenantsResponse
Response message for ListTenants.
Fields | |
---|---|
tenants[] |
A list of tenants under the given agent project. |
next_ |
The token to get the next page of results. |
MfaState
Whether MultiFactor Authentication has been enabled for this project.
Enums | |
---|---|
MFA_STATE_UNSPECIFIED |
Illegal State, should not be used. |
DISABLED |
Multi-factor authentication cannot be used for this project. |
ENABLED |
Multi-factor authentication can be used for this project. |
MANDATORY |
Multi-factor authentication is required for this project. Users from this project must authenticate with the second factor. |
MonitoringConfig
Configuration related to monitoring project activity.
Fields | |
---|---|
request_ |
Configuration for logging requests made to this project to Stackdriver Logging |
RequestLogging
Configuration for logging requests made to this project to Stackdriver Logging
Fields | |
---|---|
enabled |
Whether logging is enabled for this project or not. |
MultiFactorAuthConfig
Options related to MultiFactor Authentication for the project.
Fields | |
---|---|
state |
Whether MultiFactor Authentication has been enabled for this project. |
enabled_ |
A list of usable second factors for this project. |
provider_ |
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 'enabled_providers' field. |
Provider
A list of usable second factors for this project.
Enums | |
---|---|
PROVIDER_UNSPECIFIED |
Illegal Provider, should not be used |
PHONE_SMS |
SMS is enabled as a second factor for this project. |
State
Whether MultiFactor Authentication has been enabled for this project.
Enums | |
---|---|
STATE_UNSPECIFIED |
Illegal State, should not be used. |
DISABLED |
Multi-factor authentication cannot be used for this project |
ENABLED |
Multi-factor authentication can be used for this project |
MANDATORY |
Multi-factor authentication is required for this project. Users from this project must authenticate with the second factor. |
MultiTenantConfig
Configuration related to multi-tenant functionality.
Fields | |
---|---|
allow_ |
Whether this project can have tenants or not. |
default_ |
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 " |
NotificationConfig
Configuration related to sending notifications to users.
Fields | |
---|---|
send_ |
Options for email sending. |
send_ |
Options for SMS sending. |
default_ |
Default locale used for email and SMS in IETF BCP 47 format. |
SendEmail
Options for email sending.
Fields | |
---|---|
method |
The method used for sending an email. |
reset_ |
Email template for reset password |
verify_ |
Email template for verify email |
change_ |
Email template for change email |
legacy_ |
Reset password email template for legacy Firebase V1 app. |
callback_ |
action url in email template. |
dns_ |
Information of custom domain DNS verification. |
revert_ |
Email template for reverting second factor addition emails |
Union field email_provider_config . Email provider configuration used to send emails email_provider_config can be only one of the following: |
|
smtp |
Use a custom SMTP relay |
DnsInfo
Information of custom domain DNS verification. By default, default_domain will be used. A custom domain can be configured using VerifyCustomDomain.
Fields | |
---|---|
custom_ |
Output only. The applied verified custom domain. |
use_ |
Whether to use custom domain. |
pending_ |
Output only. The custom domain that's to be verified. |
custom_ |
Output only. The current verification state of the custom domain. The custom domain will only be used once the domain verification is successful. |
domain_ |
Output only. The timestamp of initial request for the current domain verification. |
VerificationState
The current verification state of the custom domain.
Enums | |
---|---|
VERIFICATION_STATE_UNSPECIFIED |
Default value. Do not use. |
NOT_STARTED |
The verification has not started. |
IN_PROGRESS |
The verification is in progress. |
FAILED |
The verification failed. |
SUCCEEDED |
The verification succeeded and is ready to be applied. |
EmailTemplate
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's display name. %DISPLAY_NAME% - The user's display name.
Fields | |
---|---|
sender_ |
Local part of From address |
subject |
Subject of the email |
sender_ |
Sender display name |
body |
Email body |
body_ |
Email body format |
reply_ |
Reply-to address |
customized |
Output only. Whether the body or subject of the email is customized. |
BodyFormat
Email body format
Enums | |
---|---|
BODY_FORMAT_UNSPECIFIED |
Default value. Do not use. |
PLAIN_TEXT |
Plain text |
HTML |
HTML |
Method
The method used for sending an email.
Enums | |
---|---|
METHOD_UNSPECIFIED |
Email method unspecified. |
DEFAULT |
Sending email on behalf of developer. |
CUSTOM_SMTP |
Sending email using SMTP configuration provided by developers. |
Smtp
Configuration for SMTP relay
Fields | |
---|---|
sender_ |
Sender email for the SMTP relay |
host |
SMTP relay host |
port |
SMTP relay port |
username |
SMTP relay username |
password |
SMTP relay password |
security_ |
SMTP security mode. |
SecurityMode
SMTP security mode.
Enums | |
---|---|
SECURITY_MODE_UNSPECIFIED |
Default value. Do not use. |
SSL |
SSL mode |
START_TLS |
START_TLS mode |
SendSms
Options for SMS sending.
Fields | |
---|---|
use_ |
Whether to use the accept_language header for SMS. |
sms_ |
Output only. The template to use when sending an SMS. |
SmsTemplate
The template to use when sending an SMS.
Fields | |
---|---|
content |
Output only. The SMS's content. Can contain the following placeholders which will be replaced with the appropriate values: %APP_NAME% - For Android or iOS apps, the app's display name. For web apps, the domain hosting the application. %LOGIN_CODE% - The OOB code being sent in the SMS. |
OAuthIdpConfig
Configuration options for authenticating with an OAuth IDP.
Fields | |
---|---|
name |
The name of the OAuthIdpConfig resource, for example: 'projects/my-awesome-project/oauthIdpConfigs/oauth-config-id'. Ignored during create requests. |
client_ |
The client id of an OAuth client. |
issuer |
For OIDC Idps, the issuer identifier. |
display_ |
The config's display name set by developers. |
enabled |
True if allows the user to sign in with the provider. |
client_ |
The client secret of the OAuth client, to enable OIDC code flow. |
response_ |
The response type to request for in the OAuth authorization flow. You can set either |
OAuthResponseType
The response type to request for in the OAuth authorization flow. You can set either id_token
or code
to true, but not both. Setting both types to be simultaneously true ({code: true, id_token: true}
) is not yet supported.
See https://openid.net/specs/openid-connect-core-1_0.html#Authentication for a mapping of response type to OAuth 2.0 flow.
Fields | |
---|---|
id_ |
If true, ID token is returned from IdP's authorization endpoint. |
code |
If true, authorization code is returned from IdP's authorization endpoint. |
token |
Do not use. The |
PasswordPolicyConfig
The configuration for the password policy on the project.
Fields | |
---|---|
password_ |
Which enforcement mode to use for the password policy. |
password_ |
Must be of length 1. Contains the strength attributes for the password policy. |
force_ |
Users must have a password compliant with the password policy to sign-in. |
last_ |
Output only. The last time the password policy on the project was updated. |
PasswordPolicyEnforcementState
Enforcement state for the password policy
Enums | |
---|---|
PASSWORD_POLICY_ENFORCEMENT_STATE_UNSPECIFIED |
Illegal State, should not be used. |
OFF |
Password Policy will not be used on the project. |
ENFORCE |
Passwords non-compliant with the password policy will be rejected with an error thrown. |
PasswordPolicyVersion
The strength attributes for the password policy on the project.
Fields | |
---|---|
custom_ |
The custom strength options enforced by the password policy. |
schema_ |
Output only. schema version number for the password policy |
CustomStrengthOptions
Custom strength options to enforce on user passwords.
Fields | |
---|---|
min_ |
Minimum password length. Range from 6 to 30 |
max_ |
Maximum password length. No default max length |
contains_ |
The password must contain a lower case character. |
contains_ |
The password must contain an upper case character. |
contains_ |
The password must contain a number. |
contains_ |
The password must contain a non alpha numeric character. |
ProviderConfig
ProviderConfig describes the supported MFA providers along with their configurations.
Fields | |
---|---|
state |
Describes the state of the MultiFactor Authentication type. |
Union field
|
|
totp_ |
TOTP MFA provider config for this project. |
QuotaConfig
Configuration related to quotas.
Fields | |
---|---|
sign_ |
Quota for the Signup endpoint, if overwritten. Signup quota is measured in sign ups per project per hour per IP. |
TemporaryQuota
Temporary quota increase / decrease
Fields | |
---|---|
quota |
Corresponds to the 'refill_token_count' field in QuotaServer config |
start_ |
When this quota will take effect |
quota_ |
How long this quota will be active for |
RecaptchaConfig
The reCAPTCHA Enterprise integration config.
Fields | |
---|---|
managed_ |
The managed rules for authentication action based on reCAPTCHA scores. The rules are shared across providers for a given tenant project. |
recaptcha_ |
The reCAPTCHA keys. |
toll_ |
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. |
email_ |
The reCAPTCHA config for email/password provider, containing the enforcement status. The email/password provider contains all email related user flows protected by reCAPTCHA. |
use_ |
Whether to use the account defender for reCAPTCHA assessment. Defaults to |
phone_ |
The reCAPTCHA config for phone provider, containing the enforcement status. The phone provider contains all SMS related user flows protected by reCAPTCHA. |
use_ |
Whether to use the rCE bot score for reCAPTCHA phone provider. Can only be true when the phone_enforcement_state is AUDIT or ENFORCE. |
use_ |
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. |
RecaptchaProviderEnforcementState
Enforcement states for reCAPTCHA protection.
Enums | |
---|---|
RECAPTCHA_PROVIDER_ENFORCEMENT_STATE_UNSPECIFIED |
Enforcement state has not been set. |
OFF |
Unenforced. |
AUDIT |
reCAPTCHA assessment is created, result is not used to enforce. |
ENFORCE |
reCAPTCHA assessment is created, result is used to enforce. |
RecaptchaKey
The reCAPTCHA key config. reCAPTCHA Enterprise offers different keys for different client platforms.
Fields | |
---|---|
key |
The reCAPTCHA Enterprise key resource name, e.g. "projects/{project}/keys/{key}" |
type |
The client's platform type. |
RecaptchaKeyClientType
The different clients that reCAPTCHA Enterprise keys support.
Enums | |
---|---|
CLIENT_TYPE_UNSPECIFIED |
Client type is not specified. |
WEB |
Client type is web. |
IOS |
Client type is iOS. |
ANDROID |
Client type is Android. |
RecaptchaManagedRule
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.
Fields | |
---|---|
end_ |
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. |
action |
The action taken if the reCAPTCHA score of a request is within the interval [start_score, end_score]. |
RecaptchaAction
The actions for reCAPTCHA-protected requests.
Enums | |
---|---|
RECAPTCHA_ACTION_UNSPECIFIED |
The reCAPTCHA action is not specified. |
BLOCK |
The reCAPTCHA-protected request will be blocked. |
RecaptchaTollFraudManagedRule
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.
Fields | |
---|---|
start_ |
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. |
action |
The action taken if the reCAPTCHA score of a request is within the interval [start_score, end_score]. |
RecaptchaAction
Defaults to RECAPTCHA_ACTION_UNSPECIFIED
Enums | |
---|---|
RECAPTCHA_ACTION_UNSPECIFIED |
The reCAPTCHA action is not specified. |
BLOCK |
The reCAPTCHA-protected request will be blocked. |
SignInConfig
Configuration related to local sign in methods.
Fields | |
---|---|
email |
Configuration options related to authenticating a user by their email address. |
phone_ |
Configuration options related to authenticated a user by their phone number. |
anonymous |
Configuration options related to authenticating an anonymous user. |
allow_ |
Whether to allow more than one account to have the same email. |
hash_ |
Output only. Hash config information. |
Anonymous
Configuration options related to authenticating an anonymous user.
Fields | |
---|---|
enabled |
Whether anonymous user auth is enabled for the project or not. |
Configuration options related to authenticating a user by their email address.
Fields | |
---|---|
enabled |
Whether email auth is enabled for the project or not. |
password_ |
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. |
PhoneNumber
Configuration options related to authenticated a user by their phone number.
Fields | |
---|---|
enabled |
Whether phone number auth is enabled for the project or not. |
test_ |
A map of <test phone number, fake code> that can be used for phone auth testing. |
SmsRegionConfig
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.
Fields | |
---|---|
Union field sms_region_policy . A policy for where users are allowed to send verification SMS. This can be to allow all regions by default or to allow regions only by explicit allowlist. sms_region_policy can be only one of the following: |
|
allow_ |
A policy of allowing SMS to every region by default and adding disallowed regions to a disallow list. |
allowlist_ |
A policy of only allowing regions by explicitly adding them to an allowlist. |
AllowByDefault
Defines a policy of allowing every region by default and adding disallowed regions to a disallow list.
Fields | |
---|---|
disallowed_ |
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 |
AllowlistOnly
Defines a policy of only allowing regions by explicitly adding them to an allowlist.
Fields | |
---|---|
allowed_ |
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 |
SpCertificate
The SP's certificate data for IDP to verify the SAMLRequest generated by the SP.
Fields | |
---|---|
x509_ |
Self-signed public certificate. |
expires_ |
Timestamp of the cert expiration instance. |
Tenant
A Tenant contains configuration for the tenant in a multi-tenant project.
Fields | |
---|---|
name |
Output only. Resource name of a tenant. For example: "projects/{project-id}/tenants/{tenant-id}" |
display_ |
Display name of the tenant. |
allow_ |
Whether to allow email/password user authentication. |
enable_ |
Whether to enable email link user authentication. |
disable_ |
Whether authentication is disabled for the tenant. If true, the users under the disabled tenant are not allowed to sign-in. Admins of the disabled tenant are not able to manage its users. |
hash_ |
Output only. Hash config information of a tenant for display on Pantheon. This can only be displayed on Pantheon to avoid the sensitive information to get accidentally leaked. Only returned in GetTenant response to restrict reading of this information. Requires firebaseauth.configs.getHashConfig permission on the agent project for returning this field. |
enable_ |
Whether to enable anonymous user authentication. |
mfa_ |
The tenant-level configuration of MFA options. |
test_ |
A map of <test phone number, fake code> pairs that can be used for MFA. The phone number should be in E.164 format (https://www.itu.int/rec/T-REC-E.164/) and a maximum of 10 pairs can be added (error will be thrown once exceeded). |
inheritance |
Specify the settings that the tenant could inherit. |
recaptcha_ |
The tenant-level reCAPTCHA config. |
sms_ |
Configures which regions are enabled for SMS verification code sending. |
autodelete_ |
Whether anonymous users will be auto-deleted after a period of 30 days. |
monitoring |
Configuration related to monitoring project activity. |
password_ |
The tenant-level password policy config |
email_ |
Configuration for settings related to email privacy and public visibility. |
client |
Options related to how clients making requests on behalf of a project should be configured. |
TotpMfaProviderConfig
TotpMFAProviderConfig represents the TOTP based MFA provider.
Fields | |
---|---|
adjacent_ |
The allowed number of adjacent intervals that will be used for verification to avoid clock skew. |
UpdateConfigRequest
Request for UpdateConfig
Fields | |
---|---|
config |
The config resource which replaces the resource on the server. Authorization requires the following IAM permission on the specified resource
|
update_ |
The update mask applies to the resource. Fields set in the config but not included in this update mask will be ignored. For the |
UpdateDefaultSupportedIdpConfigRequest
Request for UpdateDefaultSupportedIdpConfig
Fields | |
---|---|
default_ |
The config resource which replaces the resource on the server. Authorization requires the following IAM permission on the specified resource
|
update_ |
The update mask applies to the resource. For the |
UpdateInboundSamlConfigRequest
Request for UpdateInboundSamlConfig
Fields | |
---|---|
inbound_ |
The config resource which replaces the resource on the server. Authorization requires the following IAM permission on the specified resource
|
update_ |
The update mask applies to the resource. Empty update mask will result in updating nothing. For the |
UpdateOAuthIdpConfigRequest
Request for UpdateOAuthIdpConfig
Fields | |
---|---|
oauth_ |
The config resource which replaces the resource on the server. Authorization requires the following IAM permission on the specified resource
|
update_ |
The update mask applies to the resource. Empty update mask will result in updating nothing. For the |
UpdateTenantRequest
Request message for UpdateTenant.
Fields | |
---|---|
tenant |
Required. Tenant to be updated. Authorization requires the following IAM permission on the specified resource
|
update_ |
If provided, only update fields set in the update mask. Otherwise, all settable fields will be updated. For the |
VerifyDomainRequest
Request message to verify the requested custom domain has required DNS records.
Fields | |
---|---|
resource |
The name of the resource to verify the domain of. This method currently accepts verifying domains for either projects (example 'projects/my-awesome-project') or tenants (example 'projects/my-awesome-project/tenants/my-awesome-tenant'). Authorization requires the following IAM permission on the specified resource
|
domain |
The target domain of this request. |
action |
The action being attempted on the given domain. |
DomainVerificationAction
The action being attempted on the given domain.
Enums | |
---|---|
DOMAIN_VERIFICATION_ACTION_UNSPECIFIED |
Default value. Do not use. |
VERIFY |
Verify the domain in request. |
CANCEL |
Cancel the current verification process. |
APPLY |
Apply the custom domain in email sending. |
VerifyDomainResponse
Response for VerifyDomain request.
Fields | |
---|---|
verification_ |
The resulting state for the given domain after this request is processed. |
verification_ |
When applicable, a textual explanation for why the domain wasn't enable to be verified. |