Google Cloud reCAPTCHA Enterprise v1 API - Class UserId (2.17.0)

public sealed class UserId : IMessage<UserId>, IEquatable<UserId>, IDeepCloneable<UserId>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud reCAPTCHA Enterprise v1 API class UserId.

An identifier associated with a user.

Inheritance

object > UserId

Namespace

Google.Cloud.RecaptchaEnterprise.V1

Assembly

Google.Cloud.RecaptchaEnterprise.V1.dll

Constructors

UserId()

public UserId()

UserId(UserId)

public UserId(UserId other)
Parameter
Name Description
other UserId

Properties

Email

public string Email { get; set; }

Optional. An email address.

Property Value
Type Description
string

HasEmail

public bool HasEmail { get; }

Gets whether the "email" field is set

Property Value
Type Description
bool

HasPhoneNumber

public bool HasPhoneNumber { get; }

Gets whether the "phone_number" field is set

Property Value
Type Description
bool

HasUsername

public bool HasUsername { get; }

Gets whether the "username" field is set

Property Value
Type Description
bool

IdOneofCase

public UserId.IdOneofOneofCase IdOneofCase { get; }
Property Value
Type Description
UserIdIdOneofOneofCase

PhoneNumber

public string PhoneNumber { get; set; }

Optional. A phone number. Should use the E.164 format.

Property Value
Type Description
string

Username

public string Username { get; set; }

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.

Property Value
Type Description
string