Reference documentation and code samples for the Cloud Firestore V1 Client class UserCreds.
A Cloud Firestore User Creds.
Generated from protobuf message google.firestore.admin.v1.UserCreds
Namespace
Google \ Cloud \ Firestore \ Admin \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The resource name of the UserCreds. Format: projects/{project}/databases/{database}/userCreds/{user_creds}
↳ create_time
↳ update_time
↳ state
int
Output only. Whether the user creds are enabled or disabled. Defaults to ENABLED on creation.
↳ secure_password
string
Output only. The plaintext server-generated password for the user creds. Only populated in responses for CreateUserCreds and ResetUserPassword.
↳ resource_identity
getName
Identifier. The resource name of the UserCreds.
Format: projects/{project}/databases/{database}/userCreds/{user_creds}
string
setName
Identifier. The resource name of the UserCreds.
Format: projects/{project}/databases/{database}/userCreds/{user_creds}
var
string
$this
getCreateTime
Output only. The time the user creds were created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time the user creds were created.
$this
getUpdateTime
Output only. The time the user creds were last updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The time the user creds were last updated.
$this
getState
Output only. Whether the user creds are enabled or disabled. Defaults to ENABLED on creation.
int
setState
Output only. Whether the user creds are enabled or disabled. Defaults to ENABLED on creation.
var
int
$this
getSecurePassword
Output only. The plaintext server-generated password for the user creds.
Only populated in responses for CreateUserCreds and ResetUserPassword.
string
setSecurePassword
Output only. The plaintext server-generated password for the user creds.
Only populated in responses for CreateUserCreds and ResetUserPassword.
var
string
$this
getResourceIdentity
Resource Identity descriptor.
hasResourceIdentity
setResourceIdentity
Resource Identity descriptor.
$this
getUserCredsIdentity
string