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.
Implements
IMessageRiskAnalysis, IEquatableRiskAnalysis, IDeepCloneableRiskAnalysis, IBufferMessage, IMessageNamespace
GoogleGoogle.CloudGoogle.Cloud.RecaptchaEnterpriseV1Assembly
Google.Cloud.RecaptchaEnterprise.V1.dll
Constructors
RiskAnalysis()
public RiskAnalysis()
RiskAnalysis(RiskAnalysis)
public RiskAnalysis(RiskAnalysis other)
Parameter | |
---|---|
Name | Description |
other | RiskAnalysis |
Properties
Reasons
public RepeatedField<RiskAnalysis.Types.ClassificationReason> Reasons { get; }
Reasons contributing to the risk analysis verdict.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
float |