REST Resource: projects.databases.userCreds Stay organized with collections Save and categorize content based on your preferences.
Resource: UserCreds
A Cloud Firestore User Creds.
| JSON representation |
|---|
{"name":string,"createTime":string,"updateTime":string,"state":enum ( |
| Fields | |
|---|---|
name |
Identifier. The resource name of the UserCreds. Format: |
createTime |
Output only. The time the user creds were created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. The time the user creds were last updated. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
state |
Output only. Whether the user creds are enabled or disabled. Defaults to ENABLED on creation. |
securePassword |
Output only. The plaintext server-generated password for the user creds. Only populated in responses for userCreds.create and userCreds.resetPassword. |
Union fieldUserCredsIdentity. Identity associated with this User Creds.UserCredsIdentity can be only one of the following: | |
resourceIdentity |
Resource Identity descriptor. |
State
The state of the user creds (ENABLED or DISABLED).
| Enums | |
|---|---|
STATE_UNSPECIFIED | The default value. Should not be used. |
ENABLED | The user creds are enabled. |
DISABLED | The user creds are disabled. |
ResourceIdentity
Describes a Resource Identity principal.
| JSON representation |
|---|
{"principal":string} |
| Fields | |
|---|---|
principal |
Output only. Principal identifier string. See:https://cloud.google.com/iam/docs/principal-identifiers |
Methods | |
|---|---|
| Create a user creds. |
| Deletes a user creds. |
| Disables a user creds. |
| Enables a user creds. |
| Gets a user creds resource. |
| List all user creds in the database. |
| Resets the password of a user creds. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-26 UTC.