Google Cloud reCAPTCHA Enterprise v1 API - Class RiskAnalysis (2.21.0)

public sealed class RiskAnalysis : IMessage<RiskAnalysis>, IEquatable<RiskAnalysis>, IDeepCloneable<RiskAnalysis>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud reCAPTCHA Enterprise v1 API class RiskAnalysis.

Risk analysis result for an event.

Inheritance

object > RiskAnalysis

Namespace

Google.Cloud.RecaptchaEnterprise.V1

Assembly

Google.Cloud.RecaptchaEnterprise.V1.dll

Constructors

RiskAnalysis()

public RiskAnalysis()

RiskAnalysis(RiskAnalysis)

public RiskAnalysis(RiskAnalysis other)
Parameter
Name Description
other RiskAnalysis

Properties

Challenge

public RiskAnalysis.Types.Challenge Challenge { get; set; }

Output only. Challenge information for Universal, POLICY_BASED_CHALLENGE and INVISIBLE keys.

Property Value
Type Description
RiskAnalysisTypesChallenge

ExtendedVerdictReasons

public RepeatedField<string> ExtendedVerdictReasons { get; }

Output only. Additional reasons contributing to the risk analysis verdict. These reasons are available to Enterprise tier projects only. Contact sales for more information. The set of reasons is subject to change.

Property Value
Type Description
RepeatedFieldstring

LastChallengeType

public ChallengeType LastChallengeType { get; set; }

Output only. Type of the last challenge presented to the user for Universal, POLICY_BASED_CHALLENGE and INVISIBLE keys. The field is only set when a challenge was presented to the user.

Property Value
Type Description
ChallengeType

Reasons

public RepeatedField<RiskAnalysis.Types.ClassificationReason> Reasons { get; }

Output only. Reasons contributing to the risk analysis verdict.

Property Value
Type Description
RepeatedFieldRiskAnalysisTypesClassificationReason

Score

public float Score { get; set; }

Output only. Legitimate event score from 0.0 to 1.0. (1.0 means very likely legitimate traffic while 0.0 means very likely non-legitimate traffic).

Property Value
Type Description
float

VerifiedBots

public RepeatedField<Bot> VerifiedBots { get; }

Output only. Bots with identities that have been verified by reCAPTCHA and detected in the event.

Property Value
Type Description
RepeatedFieldBot