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.
150 151 152 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 150 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
131 132 133 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 131 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
137 138 139 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 137 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
142 143 144 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 142 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
148 149 150 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 148 def username @username end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
155 156 157 158 159 160 |
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 155 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 |