Google Cloud reCAPTCHA Enterprise v1 API - Class UserId (2.11.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
NameDescription
otherUserId

Properties

Email

public string Email { get; set; }

Optional. An email address.

Property Value
TypeDescription
string

HasEmail

public bool HasEmail { get; }

Gets whether the "email" field is set

Property Value
TypeDescription
bool

HasPhoneNumber

public bool HasPhoneNumber { get; }

Gets whether the "phone_number" field is set

Property Value
TypeDescription
bool

HasUsername

public bool HasUsername { get; }

Gets whether the "username" field is set

Property Value
TypeDescription
bool

IdOneofCase

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

PhoneNumber

public string PhoneNumber { get; set; }

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

Property Value
TypeDescription
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
TypeDescription
string