reCAPTCHA Enterprise V1 API - Class Google::Cloud::RecaptchaEnterprise::V1::UserId (v1.6.0)

Reference documentation and code samples for the reCAPTCHA Enterprise V1 API class Google::Cloud::RecaptchaEnterprise::V1::UserId.

An identifier associated with a user.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#email

def email() -> ::String
Returns
  • (::String) — Optional. An email address.

    Note: The following fields are mutually exclusive: email, phone_number, username. If a field in that set is populated, all other fields in the set will automatically be cleared.

#email=

def email=(value) -> ::String
Parameter
  • value (::String) — Optional. An email address.

    Note: The following fields are mutually exclusive: email, phone_number, username. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — Optional. An email address.

    Note: The following fields are mutually exclusive: email, phone_number, username. If a field in that set is populated, all other fields in the set will automatically be cleared.

#phone_number

def phone_number() -> ::String
Returns
  • (::String) — Optional. A phone number. Should use the E.164 format.

    Note: The following fields are mutually exclusive: phone_number, email, username. If a field in that set is populated, all other fields in the set will automatically be cleared.

#phone_number=

def phone_number=(value) -> ::String
Parameter
  • value (::String) — Optional. A phone number. Should use the E.164 format.

    Note: The following fields are mutually exclusive: phone_number, email, username. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — Optional. A phone number. Should use the E.164 format.

    Note: The following fields are mutually exclusive: phone_number, email, username. If a field in that set is populated, all other fields in the set will automatically be cleared.

#username

def username() -> ::String
Returns
  • (::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.

    Note: The following fields are mutually exclusive: username, email, phone_number. If a field in that set is populated, all other fields in the set will automatically be cleared.

#username=

def username=(value) -> ::String
Parameter
  • value (::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.

    Note: The following fields are mutually exclusive: username, email, phone_number. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::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.

    Note: The following fields are mutually exclusive: username, email, phone_number. If a field in that set is populated, all other fields in the set will automatically be cleared.