Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo
- Inherits:
-
Object
- Object
- Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/recaptchaenterprise_v1/classes.rb,
lib/google/apis/recaptchaenterprise_v1/representations.rb,
lib/google/apis/recaptchaenterprise_v1/representations.rb
Overview
Information about account verification, used for identity verification.
Instance Attribute Summary collapse
-
#endpoints ⇒ Array<Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1EndpointVerificationInfo>
Optional.
-
#language_code ⇒ String
Optional.
-
#latest_verification_result ⇒ String
Output only.
-
#username ⇒ String
Username of the account that is being verified.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo
constructor
A new instance of GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo
Returns a new instance of GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo.
70 71 72 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 70 def initialize(**args) update!(**args) end |
Instance Attribute Details
#endpoints ⇒ Array<Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1EndpointVerificationInfo>
Optional. Endpoints that can be used for identity verification.
Corresponds to the JSON property endpoints
51 52 53 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 51 def endpoints @endpoints end |
#language_code ⇒ String
Optional. Language code preference for the verification message, set as a IETF
BCP 47 language code.
Corresponds to the JSON property languageCode
57 58 59 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 57 def language_code @language_code end |
#latest_verification_result ⇒ String
Output only. Result of the latest account verification challenge.
Corresponds to the JSON property latestVerificationResult
62 63 64 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 62 def latest_verification_result @latest_verification_result end |
#username ⇒ String
Username of the account that is being verified. Deprecated. Customers should
now provide the account_id
field in event.user_info
.
Corresponds to the JSON property username
68 69 70 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 68 def username @username end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
75 76 77 78 79 80 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 75 def update!(**args) @endpoints = args[:endpoints] if args.key?(:endpoints) @language_code = args[:language_code] if args.key?(:language_code) @latest_verification_result = args[:latest_verification_result] if args.key?(:latest_verification_result) @username = args[:username] if args.key?(:username) end |