Google Cloud Recaptcha Enterprise V1 Client - Class UserSignals (1.15.0)

Reference documentation and code samples for the Google Cloud Recaptcha Enterprise V1 Client class UserSignals.

Signals describing the user involved in this transaction.

Generated from protobuf message google.cloud.recaptchaenterprise.v1.FraudSignals.UserSignals

Namespace

Google \ Cloud \ RecaptchaEnterprise \ V1 \ FraudSignals

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ active_days_lower_bound int

Output only. This user (based on email, phone, and other identifiers) has been seen on the internet for at least this number of days.

↳ synthetic_risk float

Output only. Likelihood (from 0.0 to 1.0) this user includes synthetic components in their identity, such as a randomly generated email address, temporary phone number, or fake shipping address.

getActiveDaysLowerBound

Output only. This user (based on email, phone, and other identifiers) has been seen on the internet for at least this number of days.

Returns
Type Description
int

setActiveDaysLowerBound

Output only. This user (based on email, phone, and other identifiers) has been seen on the internet for at least this number of days.

Parameter
Name Description
var int
Returns
Type Description
$this

getSyntheticRisk

Output only. Likelihood (from 0.0 to 1.0) this user includes synthetic components in their identity, such as a randomly generated email address, temporary phone number, or fake shipping address.

Returns
Type Description
float

setSyntheticRisk

Output only. Likelihood (from 0.0 to 1.0) this user includes synthetic components in their identity, such as a randomly generated email address, temporary phone number, or fake shipping address.

Parameter
Name Description
var float
Returns
Type Description
$this