Google Cloud Recaptcha Enterprise V1 Client - Class Assessment (1.8.0)

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

Namespace

Google \ Cloud \ RecaptchaEnterprise \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Output only. Identifier. The resource name for the Assessment in the format projects/{project}/assessments/{assessment}.

↳ event Google\Cloud\RecaptchaEnterprise\V1\Event

Optional. The event being assessed.

↳ 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

Optional. 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

Output only. Assessment returned by account defender when an account identifier is provided.

↳ private_password_leak_verification Google\Cloud\RecaptchaEnterprise\V1\PrivatePasswordLeakVerification

Optional. The private password leak verification field contains the parameters that are used to to check for leaks privately without sharing user credentials.

↳ firewall_policy_assessment Google\Cloud\RecaptchaEnterprise\V1\FirewallPolicyAssessment

Output only. Assessment returned when firewall policies belonging to the project are evaluated using the field firewall_policy_evaluation.

↳ fraud_prevention_assessment Google\Cloud\RecaptchaEnterprise\V1\FraudPreventionAssessment

Output only. Assessment returned by Fraud Prevention when TransactionData is provided.

↳ fraud_signals Google\Cloud\RecaptchaEnterprise\V1\FraudSignals

Output only. Fraud Signals specific to the users involved in a payment transaction.

getName

Output only. Identifier. The resource name for the Assessment in the format projects/{project}/assessments/{assessment}.

Returns
TypeDescription
string

setName

Output only. Identifier. The resource name for the Assessment in the format projects/{project}/assessments/{assessment}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEvent

Optional. The event being assessed.

Returns
TypeDescription
Google\Cloud\RecaptchaEnterprise\V1\Event|null

hasEvent

clearEvent

setEvent

Optional. The event being assessed.

Parameter
NameDescription
var Google\Cloud\RecaptchaEnterprise\V1\Event
Returns
TypeDescription
$this

getRiskAnalysis

Output only. The risk analysis result for the event being assessed.

Returns
TypeDescription
Google\Cloud\RecaptchaEnterprise\V1\RiskAnalysis|null

hasRiskAnalysis

clearRiskAnalysis

setRiskAnalysis

Output only. The risk analysis result for the event being assessed.

Parameter
NameDescription
var Google\Cloud\RecaptchaEnterprise\V1\RiskAnalysis
Returns
TypeDescription
$this

getTokenProperties

Output only. Properties of the provided event token.

Returns
TypeDescription
Google\Cloud\RecaptchaEnterprise\V1\TokenProperties|null

hasTokenProperties

clearTokenProperties

setTokenProperties

Output only. Properties of the provided event token.

Parameter
NameDescription
var Google\Cloud\RecaptchaEnterprise\V1\TokenProperties
Returns
TypeDescription
$this

getAccountVerification

Optional. Account verification information for identity verification. The assessment event must include a token and site key to use this feature.

Returns
TypeDescription
Google\Cloud\RecaptchaEnterprise\V1\AccountVerificationInfo|null

hasAccountVerification

clearAccountVerification

setAccountVerification

Optional. Account verification information for identity verification. The assessment event must include a token and site key to use this feature.

Parameter
NameDescription
var Google\Cloud\RecaptchaEnterprise\V1\AccountVerificationInfo
Returns
TypeDescription
$this

getAccountDefenderAssessment

Output only. Assessment returned by account defender when an account identifier is provided.

Returns
TypeDescription
Google\Cloud\RecaptchaEnterprise\V1\AccountDefenderAssessment|null

hasAccountDefenderAssessment

clearAccountDefenderAssessment

setAccountDefenderAssessment

Output only. Assessment returned by account defender when an account identifier is provided.

Parameter
NameDescription
var Google\Cloud\RecaptchaEnterprise\V1\AccountDefenderAssessment
Returns
TypeDescription
$this

getPrivatePasswordLeakVerification

Optional. The private password leak verification field contains the parameters that are used to to check for leaks privately without sharing user credentials.

Returns
TypeDescription
Google\Cloud\RecaptchaEnterprise\V1\PrivatePasswordLeakVerification|null

hasPrivatePasswordLeakVerification

clearPrivatePasswordLeakVerification

setPrivatePasswordLeakVerification

Optional. The private password leak verification field contains the parameters that are used to to check for leaks privately without sharing user credentials.

Parameter
NameDescription
var Google\Cloud\RecaptchaEnterprise\V1\PrivatePasswordLeakVerification
Returns
TypeDescription
$this

getFirewallPolicyAssessment

Output only. Assessment returned when firewall policies belonging to the project are evaluated using the field firewall_policy_evaluation.

Returns
TypeDescription
Google\Cloud\RecaptchaEnterprise\V1\FirewallPolicyAssessment|null

hasFirewallPolicyAssessment

clearFirewallPolicyAssessment

setFirewallPolicyAssessment

Output only. Assessment returned when firewall policies belonging to the project are evaluated using the field firewall_policy_evaluation.

Parameter
NameDescription
var Google\Cloud\RecaptchaEnterprise\V1\FirewallPolicyAssessment
Returns
TypeDescription
$this

getFraudPreventionAssessment

Output only. Assessment returned by Fraud Prevention when TransactionData is provided.

Returns
TypeDescription
Google\Cloud\RecaptchaEnterprise\V1\FraudPreventionAssessment|null

hasFraudPreventionAssessment

clearFraudPreventionAssessment

setFraudPreventionAssessment

Output only. Assessment returned by Fraud Prevention when TransactionData is provided.

Parameter
NameDescription
var Google\Cloud\RecaptchaEnterprise\V1\FraudPreventionAssessment
Returns
TypeDescription
$this

getFraudSignals

Output only. Fraud Signals specific to the users involved in a payment transaction.

Returns
TypeDescription
Google\Cloud\RecaptchaEnterprise\V1\FraudSignals|null

hasFraudSignals

clearFraudSignals

setFraudSignals

Output only. Fraud Signals specific to the users involved in a payment transaction.

Parameter
NameDescription
var Google\Cloud\RecaptchaEnterprise\V1\FraudSignals
Returns
TypeDescription
$this