Class: Google::Cloud::RecaptchaEnterprise::V1::UserId

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb

Overview

An identifier associated with a user.

Instance Attribute Summary collapse

Instance Attribute Details

#email::String

Returns 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.



740
741
742
743
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 740

class UserId
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#phone_number::String

Returns 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.



740
741
742
743
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 740

class UserId
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#username::String

Returns 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.



740
741
742
743
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 740

class UserId
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end