public AssessmentEnvironment AssessmentEnvironment { get; set; }
Optional. The environment creating the assessment. This describes your
environment (the system invoking CreateAssessment), NOT the environment of
your user.
public PhoneFraudAssessment PhoneFraudAssessment { get; set; }
Output only. Assessment returned when a site key, a token, and a phone
number as user_id are provided. Account defender and SMS toll fraud
protection need to be enabled.
public PrivatePasswordLeakVerification PrivatePasswordLeakVerification { get; set; }
Optional. The private password leak verification field contains the
parameters that are used to to check for leaks privately without sharing
user credentials.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the Google Cloud reCAPTCHA Enterprise v1 API class Assessment is 2.17.0, with multiple prior versions available for use.\u003c/p\u003e\n"],["\u003cp\u003eThe Assessment class is a resource that provides an assessment of a specific event within the reCAPTCHA Enterprise system, inheriting from \u003ccode\u003eobject\u003c/code\u003e and implementing several interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe Assessment class offers several properties, including \u003ccode\u003eAccountDefenderAssessment\u003c/code\u003e, \u003ccode\u003eAccountVerification\u003c/code\u003e, and \u003ccode\u003eRiskAnalysis\u003c/code\u003e, that provide detailed insights and analysis into the assessed event.\u003c/p\u003e\n"],["\u003cp\u003eThis class also provides functionality for fraud prevention, firewall policy assessments, and phone fraud assessment, all within the Google Cloud reCAPTCHA Enterprise.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAssessment\u003c/code\u003e class can be constructed with a default constructor or by copying an existing \u003ccode\u003eAssessment\u003c/code\u003e object, with an \u003ccode\u003eother\u003c/code\u003e parameter which requires another \u003ccode\u003eAssessment\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# Google Cloud reCAPTCHA Enterprise v1 API - Class Assessment (2.18.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.18.0 (latest)](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/latest/Google.Cloud.RecaptchaEnterprise.V1.Assessment)\n- [2.17.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.17.0/Google.Cloud.RecaptchaEnterprise.V1.Assessment)\n- [2.16.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.16.0/Google.Cloud.RecaptchaEnterprise.V1.Assessment)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.15.0/Google.Cloud.RecaptchaEnterprise.V1.Assessment)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.14.0/Google.Cloud.RecaptchaEnterprise.V1.Assessment)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.13.0/Google.Cloud.RecaptchaEnterprise.V1.Assessment)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.12.0/Google.Cloud.RecaptchaEnterprise.V1.Assessment)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.11.0/Google.Cloud.RecaptchaEnterprise.V1.Assessment)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.10.0/Google.Cloud.RecaptchaEnterprise.V1.Assessment)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.9.0/Google.Cloud.RecaptchaEnterprise.V1.Assessment)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.8.0/Google.Cloud.RecaptchaEnterprise.V1.Assessment)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.7.0/Google.Cloud.RecaptchaEnterprise.V1.Assessment)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.6.0/Google.Cloud.RecaptchaEnterprise.V1.Assessment)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.5.0/Google.Cloud.RecaptchaEnterprise.V1.Assessment)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.4.0/Google.Cloud.RecaptchaEnterprise.V1.Assessment)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.3.0/Google.Cloud.RecaptchaEnterprise.V1.Assessment)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.2.0/Google.Cloud.RecaptchaEnterprise.V1.Assessment)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.1.0/Google.Cloud.RecaptchaEnterprise.V1.Assessment)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/2.0.0/Google.Cloud.RecaptchaEnterprise.V1.Assessment)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/1.6.0/Google.Cloud.RecaptchaEnterprise.V1.Assessment)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/1.5.0/Google.Cloud.RecaptchaEnterprise.V1.Assessment)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/1.4.0/Google.Cloud.RecaptchaEnterprise.V1.Assessment)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/1.3.0/Google.Cloud.RecaptchaEnterprise.V1.Assessment)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/1.2.0/Google.Cloud.RecaptchaEnterprise.V1.Assessment) \n\n public sealed class Assessment : IMessage\u003cAssessment\u003e, IEquatable\u003cAssessment\u003e, IDeepCloneable\u003cAssessment\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud reCAPTCHA Enterprise v1 API class Assessment.\n\nA reCAPTCHA Enterprise assessment resource. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Assessment \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Assessment](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/latest/Google.Cloud.RecaptchaEnterprise.V1.Assessment), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Assessment](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/latest/Google.Cloud.RecaptchaEnterprise.V1.Assessment), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Assessment](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/latest/Google.Cloud.RecaptchaEnterprise.V1.Assessment), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.RecaptchaEnterprise.V1](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/latest/Google.Cloud.RecaptchaEnterprise.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.RecaptchaEnterprise.V1.dll\n\nConstructors\n------------\n\n### Assessment()\n\n public Assessment()\n\n### Assessment(Assessment)\n\n public Assessment(Assessment other)\n\nProperties\n----------\n\n### AccountDefenderAssessment\n\n public AccountDefenderAssessment AccountDefenderAssessment { get; set; }\n\nOutput only. Assessment returned by account defender when an account\nidentifier is provided.\n\n### AccountVerification\n\n public AccountVerificationInfo AccountVerification { get; set; }\n\nOptional. Account verification information for identity verification. The\nassessment event must include a token and site key to use this feature.\n\n### AssessmentEnvironment\n\n public AssessmentEnvironment AssessmentEnvironment { get; set; }\n\nOptional. The environment creating the assessment. This describes your\nenvironment (the system invoking CreateAssessment), NOT the environment of\nyour user.\n\n### AssessmentName\n\n public AssessmentName AssessmentName { get; set; }\n\n[AssessmentName](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/latest/Google.Cloud.RecaptchaEnterprise.V1.AssessmentName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.RecaptchaEnterprise.V1/latest/Google.Cloud.RecaptchaEnterprise.V1.Assessment#Google_Cloud_RecaptchaEnterprise_V1_Assessment_Name) resource name property.\n\n### Event\n\n public Event Event { get; set; }\n\nOptional. The event being assessed.\n\n### FirewallPolicyAssessment\n\n public FirewallPolicyAssessment FirewallPolicyAssessment { get; set; }\n\nOutput only. Assessment returned when firewall policies belonging to the\nproject are evaluated using the field firewall_policy_evaluation.\n\n### FraudPreventionAssessment\n\n public FraudPreventionAssessment FraudPreventionAssessment { get; set; }\n\nOutput only. Assessment returned by Fraud Prevention when TransactionData\nis provided.\n\n### FraudSignals\n\n public FraudSignals FraudSignals { get; set; }\n\nOutput only. Fraud Signals specific to the users involved in a payment\ntransaction.\n\n### Name\n\n public string Name { get; set; }\n\nOutput only. Identifier. The resource name for the Assessment in the format\n`projects/{project}/assessments/{assessment}`.\n\n### PhoneFraudAssessment\n\n public PhoneFraudAssessment PhoneFraudAssessment { get; set; }\n\nOutput only. Assessment returned when a site key, a token, and a phone\nnumber as `user_id` are provided. Account defender and SMS toll fraud\nprotection need to be enabled.\n\n### PrivatePasswordLeakVerification\n\n public PrivatePasswordLeakVerification PrivatePasswordLeakVerification { get; set; }\n\nOptional. The private password leak verification field contains the\nparameters that are used to to check for leaks privately without sharing\nuser credentials.\n\n### RiskAnalysis\n\n public RiskAnalysis RiskAnalysis { get; set; }\n\nOutput only. The risk analysis result for the event being assessed.\n\n### TokenProperties\n\n public TokenProperties TokenProperties { get; set; }\n\nOutput only. Properties of the provided event token."]]