Reference documentation and code samples for the Google Cloud Recaptcha Enterprise V1 Client class UserId.
An identifier associated with a user.
Generated from protobuf message google.cloud.recaptchaenterprise.v1.UserId
Namespace
Google \ Cloud \ RecaptchaEnterprise \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ email
string
Optional. An email address.
↳ phone_number
string
Optional. A phone number. Should use the E.164 format.
↳ username
string
Optional. A unique username, if different from all the other identifiers and account_id
that are provided. Can be a unique login handle or display name for a user.
getEmail
Optional. An email address.
string
hasEmail
setEmail
Optional. An email address.
var
string
$this
getPhoneNumber
Optional. A phone number. Should use the E.164 format.
string
hasPhoneNumber
setPhoneNumber
Optional. A phone number. Should use the E.164 format.
var
string
$this
getUsername
Optional. A unique username, if different from all the other identifiers
and account_id
that are provided. Can be a unique login handle or
display name for a user.
string
hasUsername
setUsername
Optional. A unique username, if different from all the other identifiers
and account_id
that are provided. Can be a unique login handle or
display name for a user.
var
string
$this
getIdOneof
string