Reference documentation and code samples for the reCAPTCHA Enterprise V1beta1 API class Google::Cloud::RecaptchaEnterprise::V1beta1::Assessment.
A reCAPTCHA Enterprise assessment resource.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#account_defender_assessment
def account_defender_assessment() -> ::Google::Cloud::RecaptchaEnterprise::V1beta1::AccountDefenderAssessment
Returns
- (::Google::Cloud::RecaptchaEnterprise::V1beta1::AccountDefenderAssessment) — Assessment returned by account defender when a hashed_account_id is provided.
#account_defender_assessment=
def account_defender_assessment=(value) -> ::Google::Cloud::RecaptchaEnterprise::V1beta1::AccountDefenderAssessment
Parameter
- value (::Google::Cloud::RecaptchaEnterprise::V1beta1::AccountDefenderAssessment) — Assessment returned by account defender when a hashed_account_id is provided.
Returns
- (::Google::Cloud::RecaptchaEnterprise::V1beta1::AccountDefenderAssessment) — Assessment returned by account defender when a hashed_account_id is provided.
#event
def event() -> ::Google::Cloud::RecaptchaEnterprise::V1beta1::Event
Returns
- (::Google::Cloud::RecaptchaEnterprise::V1beta1::Event) — The event being assessed.
#event=
def event=(value) -> ::Google::Cloud::RecaptchaEnterprise::V1beta1::Event
Parameter
- value (::Google::Cloud::RecaptchaEnterprise::V1beta1::Event) — The event being assessed.
Returns
- (::Google::Cloud::RecaptchaEnterprise::V1beta1::Event) — The event being assessed.
#fraud_prevention_assessment
def fraud_prevention_assessment() -> ::Google::Cloud::RecaptchaEnterprise::V1beta1::FraudPreventionAssessment
Returns
- (::Google::Cloud::RecaptchaEnterprise::V1beta1::FraudPreventionAssessment) — Assessment returned by Fraud Prevention when TransactionData is provided.
#fraud_prevention_assessment=
def fraud_prevention_assessment=(value) -> ::Google::Cloud::RecaptchaEnterprise::V1beta1::FraudPreventionAssessment
Parameter
- value (::Google::Cloud::RecaptchaEnterprise::V1beta1::FraudPreventionAssessment) — Assessment returned by Fraud Prevention when TransactionData is provided.
Returns
- (::Google::Cloud::RecaptchaEnterprise::V1beta1::FraudPreventionAssessment) — Assessment returned by Fraud Prevention when TransactionData is provided.
#name
def name() -> ::String
Returns
-
(::String) — Output only. The resource name for the Assessment in the format
projects/{project_number}/assessments/{assessment_id}
.
#password_leak_verification
def password_leak_verification() -> ::Google::Cloud::RecaptchaEnterprise::V1beta1::PasswordLeakVerification
Returns
- (::Google::Cloud::RecaptchaEnterprise::V1beta1::PasswordLeakVerification) — Information about the user's credentials used to check for leaks. This feature is part of the Early Access Program (EAP). Exercise caution, and do not deploy integrations based on this feature in a production environment.
#password_leak_verification=
def password_leak_verification=(value) -> ::Google::Cloud::RecaptchaEnterprise::V1beta1::PasswordLeakVerification
Parameter
- value (::Google::Cloud::RecaptchaEnterprise::V1beta1::PasswordLeakVerification) — Information about the user's credentials used to check for leaks. This feature is part of the Early Access Program (EAP). Exercise caution, and do not deploy integrations based on this feature in a production environment.
Returns
- (::Google::Cloud::RecaptchaEnterprise::V1beta1::PasswordLeakVerification) — Information about the user's credentials used to check for leaks. This feature is part of the Early Access Program (EAP). Exercise caution, and do not deploy integrations based on this feature in a production environment.
#reasons
def reasons() -> ::Array<::Google::Cloud::RecaptchaEnterprise::V1beta1::Assessment::ClassificationReason>
Returns
- (::Array<::Google::Cloud::RecaptchaEnterprise::V1beta1::Assessment::ClassificationReason>) — Output only. Reasons contributing to the risk analysis verdict.
#score
def score() -> ::Float
Returns
- (::Float) — Output only. Legitimate event score from 0.0 to 1.0. (1.0 means very likely legitimate traffic while 0.0 means very likely non-legitimate traffic).
#token_properties
def token_properties() -> ::Google::Cloud::RecaptchaEnterprise::V1beta1::TokenProperties
Returns
- (::Google::Cloud::RecaptchaEnterprise::V1beta1::TokenProperties) — Output only. Properties of the provided event token.