Reference documentation and code samples for the Google Cloud Recaptcha Enterprise V1 Client class Assessment.
A recaptcha assessment resource.
Generated from protobuf message google.cloud.recaptchaenterprise.v1.Assessment
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 |
Google\Cloud\RecaptchaEnterprise\V1\Event
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
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. |
getName
Output only. The resource name for the Assessment in the format "projects/{project}/assessments/{assessment}".
Returns | |
---|---|
Type | Description |
string |
setName
Output only. The resource name for the Assessment in the format "projects/{project}/assessments/{assessment}".
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getEvent
The event being assessed.
Returns | |
---|---|
Type | Description |
Google\Cloud\RecaptchaEnterprise\V1\Event|null |
hasEvent
clearEvent
setEvent
The event being assessed.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\RecaptchaEnterprise\V1\Event
|
Returns | |
---|---|
Type | Description |
$this |
getRiskAnalysis
Output only. The risk analysis result for the event being assessed.
Returns | |
---|---|
Type | Description |
Google\Cloud\RecaptchaEnterprise\V1\RiskAnalysis|null |
hasRiskAnalysis
clearRiskAnalysis
setRiskAnalysis
Output only. The risk analysis result for the event being assessed.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\RecaptchaEnterprise\V1\RiskAnalysis
|
Returns | |
---|---|
Type | Description |
$this |
getTokenProperties
Output only. Properties of the provided event token.
Returns | |
---|---|
Type | Description |
Google\Cloud\RecaptchaEnterprise\V1\TokenProperties|null |
hasTokenProperties
clearTokenProperties
setTokenProperties
Output only. Properties of the provided event token.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\RecaptchaEnterprise\V1\TokenProperties
|
Returns | |
---|---|
Type | Description |
$this |
getAccountVerification
Account verification information for identity verification. The assessment event must include a token and site key to use this feature.
Returns | |
---|---|
Type | Description |
Google\Cloud\RecaptchaEnterprise\V1\AccountVerificationInfo|null |
hasAccountVerification
clearAccountVerification
setAccountVerification
Account verification information for identity verification. The assessment event must include a token and site key to use this feature.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\RecaptchaEnterprise\V1\AccountVerificationInfo
|
Returns | |
---|---|
Type | Description |
$this |
getAccountDefenderAssessment
Assessment returned by account defender when a hashed_account_id is provided.
Returns | |
---|---|
Type | Description |
Google\Cloud\RecaptchaEnterprise\V1\AccountDefenderAssessment|null |
hasAccountDefenderAssessment
clearAccountDefenderAssessment
setAccountDefenderAssessment
Assessment returned by account defender when a hashed_account_id is provided.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\RecaptchaEnterprise\V1\AccountDefenderAssessment
|
Returns | |
---|---|
Type | Description |
$this |
getPrivatePasswordLeakVerification
The private password leak verification field contains the parameters that are used to to check for leaks privately without sharing user credentials.
Returns | |
---|---|
Type | Description |
Google\Cloud\RecaptchaEnterprise\V1\PrivatePasswordLeakVerification|null |
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.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\RecaptchaEnterprise\V1\PrivatePasswordLeakVerification
|
Returns | |
---|---|
Type | Description |
$this |