Google Cloud Recaptcha Enterprise V1 Client - Class UserSignals (1.6.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
NameDescription
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
TypeDescription
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
NameDescription
var int
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var float
Returns
TypeDescription
$this