Reference documentation and code samples for the reCAPTCHA Enterprise V1 API class Google::Cloud::RecaptchaEnterprise::V1::EndpointVerificationInfo.
Information about a verification endpoint that can be used for 2FA.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#email_address
defemail_address()->::String
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.
#email_address=
defemail_address=(value)->::String
Parameter
value (::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.
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.
(::Google::Protobuf::Timestamp) — Output only. Timestamp of the last successful verification for the
endpoint, if any.
#phone_number
defphone_number()->::String
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.
#phone_number=
defphone_number=(value)->::String
Parameter
value (::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.
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.
#request_token
defrequest_token()->::String
Returns
(::String) — Output only. Token to provide to the client to trigger endpoint
verification. It must be used within 15 minutes.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# reCAPTCHA Enterprise V1 API - Class Google::Cloud::RecaptchaEnterprise::V1::EndpointVerificationInfo (v1.8.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.8.0 (latest)](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/latest/Google-Cloud-RecaptchaEnterprise-V1-EndpointVerificationInfo)\n- [1.7.1](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/1.7.1/Google-Cloud-RecaptchaEnterprise-V1-EndpointVerificationInfo)\n- [1.6.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/1.6.0/Google-Cloud-RecaptchaEnterprise-V1-EndpointVerificationInfo)\n- [1.5.1](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/1.5.1/Google-Cloud-RecaptchaEnterprise-V1-EndpointVerificationInfo)\n- [1.4.1](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/1.4.1/Google-Cloud-RecaptchaEnterprise-V1-EndpointVerificationInfo)\n- [1.3.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/1.3.0/Google-Cloud-RecaptchaEnterprise-V1-EndpointVerificationInfo)\n- [1.2.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/1.2.0/Google-Cloud-RecaptchaEnterprise-V1-EndpointVerificationInfo)\n- [1.1.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/1.1.0/Google-Cloud-RecaptchaEnterprise-V1-EndpointVerificationInfo)\n- [1.0.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/1.0.0/Google-Cloud-RecaptchaEnterprise-V1-EndpointVerificationInfo)\n- [0.22.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.22.0/Google-Cloud-RecaptchaEnterprise-V1-EndpointVerificationInfo)\n- [0.21.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.21.0/Google-Cloud-RecaptchaEnterprise-V1-EndpointVerificationInfo)\n- [0.20.1](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.20.1/Google-Cloud-RecaptchaEnterprise-V1-EndpointVerificationInfo)\n- [0.19.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.19.0/Google-Cloud-RecaptchaEnterprise-V1-EndpointVerificationInfo)\n- [0.18.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.18.0/Google-Cloud-RecaptchaEnterprise-V1-EndpointVerificationInfo)\n- [0.17.3](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.17.3/Google-Cloud-RecaptchaEnterprise-V1-EndpointVerificationInfo)\n- [0.16.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.16.0/Google-Cloud-RecaptchaEnterprise-V1-EndpointVerificationInfo)\n- [0.15.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.15.0/Google-Cloud-RecaptchaEnterprise-V1-EndpointVerificationInfo)\n- [0.14.1](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.14.1/Google-Cloud-RecaptchaEnterprise-V1-EndpointVerificationInfo)\n- [0.13.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.13.0/Google-Cloud-RecaptchaEnterprise-V1-EndpointVerificationInfo)\n- [0.12.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.12.0/Google-Cloud-RecaptchaEnterprise-V1-EndpointVerificationInfo)\n- [0.11.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.11.0/Google-Cloud-RecaptchaEnterprise-V1-EndpointVerificationInfo)\n- [0.10.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.10.0/Google-Cloud-RecaptchaEnterprise-V1-EndpointVerificationInfo)\n- [0.9.1](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.9.1/Google-Cloud-RecaptchaEnterprise-V1-EndpointVerificationInfo)\n- [0.8.0](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.8.0/Google-Cloud-RecaptchaEnterprise-V1-EndpointVerificationInfo)\n- [0.7.1](/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/0.7.1/Google-Cloud-RecaptchaEnterprise-V1-EndpointVerificationInfo) \nReference documentation and code samples for the reCAPTCHA Enterprise V1 API class Google::Cloud::RecaptchaEnterprise::V1::EndpointVerificationInfo.\n\nInformation about a verification endpoint that can be used for 2FA. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #email_address\n\n def email_address() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Email address for which to trigger a verification request.\n\n 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.\n\n### #email_address=\n\n def email_address=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Email address for which to trigger a verification request.\n\n\nNote: 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. \n**Returns**\n\n- (::String) --- Email address for which to trigger a verification request.\n\n 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.\n\n### #last_verification_time\n\n def last_verification_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Output only. Timestamp of the last successful verification for the endpoint, if any.\n\n### #phone_number\n\n def phone_number() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Phone number for which to trigger a verification request. Should be given in E.164 format.\n\n 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.\n\n### #phone_number=\n\n def phone_number=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Phone number for which to trigger a verification request. Should be given in E.164 format.\n\n\nNote: 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. \n**Returns**\n\n- (::String) --- Phone number for which to trigger a verification request. Should be given in E.164 format.\n\n 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.\n\n### #request_token\n\n def request_token() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. Token to provide to the client to trigger endpoint verification. It must be used within 15 minutes."]]