Class: Google::Apis::RecaptchaenterpriseV1::GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#endpointsArray<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_codeString

Optional. Language code preference for the verification message, set as a IETF BCP 47 language code. Corresponds to the JSON property languageCode

Returns:

  • (String)


57
58
59
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 57

def language_code
  @language_code
end

#latest_verification_resultString

Output only. Result of the latest account verification challenge. Corresponds to the JSON property latestVerificationResult

Returns:

  • (String)


62
63
64
# File 'lib/google/apis/recaptchaenterprise_v1/classes.rb', line 62

def latest_verification_result
  @latest_verification_result
end

#usernameString

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

Returns:

  • (String)


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