Class: Google::Cloud::RecaptchaEnterprise::V1::EndpointVerificationInfo

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

Overview

Information about a verification endpoint that can be used for 2FA.

Instance Attribute Summary collapse

Instance Attribute Details

#email_address::String

Returns Email address for which to trigger a verification request.

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

Returns:

  • (::String)

    Email address for which to trigger a verification request.

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



304
305
306
307
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 304

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

#last_verification_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Timestamp of the last successful verification for the endpoint, if any.

Returns:



304
305
306
307
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 304

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

#phone_number::String

Returns Phone number for which to trigger a verification request. Should be given in E.164 format.

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

Returns:

  • (::String)

    Phone number for which to trigger a verification request. Should be given in E.164 format.

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



304
305
306
307
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 304

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

#request_token::String (readonly)

Returns Output only. Token to provide to the client to trigger endpoint verification. It must be used within 15 minutes.

Returns:

  • (::String)

    Output only. Token to provide to the client to trigger endpoint verification. It must be used within 15 minutes.



304
305
306
307
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 304

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