Reference documentation and code samples for the Google Cloud Recaptcha Enterprise V1 Client class Assessment.
A reCAPTCHA Enterprise assessment resource.
Generated from protobuf message google.cloud.recaptchaenterprise.v1.Assessment
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The resource name for the Assessment in the format "projects/{project}/assessments/{assessment}".
↳ event
↳ risk_analysis
Google\Cloud\RecaptchaEnterprise\V1\RiskAnalysis
Output only. The risk analysis result for the event being assessed.
↳ token_properties
Google\Cloud\RecaptchaEnterprise\V1\TokenProperties
Output only. Properties of the provided event token.
↳ account_verification
Google\Cloud\RecaptchaEnterprise\V1\AccountVerificationInfo
Account verification information for identity verification. The assessment event must include a token and site key to use this feature.
↳ account_defender_assessment
Google\Cloud\RecaptchaEnterprise\V1\AccountDefenderAssessment
Assessment returned by account defender when a hashed_account_id is provided.
↳ private_password_leak_verification
Google\Cloud\RecaptchaEnterprise\V1\PrivatePasswordLeakVerification
The private password leak verification field contains the parameters that are used to to check for leaks privately without sharing user credentials.
↳ fraud_prevention_assessment
Google\Cloud\RecaptchaEnterprise\V1\FraudPreventionAssessment
Assessment returned by Fraud Prevention when TransactionData is provided.
getName
Output only. The resource name for the Assessment in the format "projects/{project}/assessments/{assessment}".
string
setName
Output only. The resource name for the Assessment in the format "projects/{project}/assessments/{assessment}".
var
string
$this
getEvent
The event being assessed.
hasEvent
clearEvent
setEvent
The event being assessed.
$this
getRiskAnalysis
Output only. The risk analysis result for the event being assessed.
hasRiskAnalysis
clearRiskAnalysis
setRiskAnalysis
Output only. The risk analysis result for the event being assessed.
$this
getTokenProperties
Output only. Properties of the provided event token.
hasTokenProperties
clearTokenProperties
setTokenProperties
Output only. Properties of the provided event token.
$this
getAccountVerification
Account verification information for identity verification. The assessment event must include a token and site key to use this feature.
hasAccountVerification
clearAccountVerification
setAccountVerification
Account verification information for identity verification. The assessment event must include a token and site key to use this feature.
$this
getAccountDefenderAssessment
Assessment returned by account defender when a hashed_account_id is provided.
hasAccountDefenderAssessment
clearAccountDefenderAssessment
setAccountDefenderAssessment
Assessment returned by account defender when a hashed_account_id is provided.
$this
getPrivatePasswordLeakVerification
The private password leak verification field contains the parameters that are used to to check for leaks privately without sharing user credentials.
hasPrivatePasswordLeakVerification
clearPrivatePasswordLeakVerification
setPrivatePasswordLeakVerification
The private password leak verification field contains the parameters that are used to to check for leaks privately without sharing user credentials.
$this
getFraudPreventionAssessment
Assessment returned by Fraud Prevention when TransactionData is provided.
hasFraudPreventionAssessment
clearFraudPreventionAssessment
setFraudPreventionAssessment
Assessment returned by Fraud Prevention when TransactionData is provided.
$this