Google Cloud reCAPTCHA Enterprise v1 API - Class RiskAnalysis (2.4.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

GoogleGoogle.CloudGoogle.Cloud.RecaptchaEnterpriseV1

Assembly

Google.Cloud.RecaptchaEnterprise.V1.dll

Constructors

RiskAnalysis()

public RiskAnalysis()

RiskAnalysis(RiskAnalysis)

public RiskAnalysis(RiskAnalysis other)
Parameter
NameDescription
otherRiskAnalysis

Properties

Reasons

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

Reasons contributing to the risk analysis verdict.

Property Value
TypeDescription
RepeatedFieldRiskAnalysisTypesClassificationReason

Score

public float Score { get; set; }

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
TypeDescription
float