public sealed class Event : IMessage<Event>, IEquatable<Event>, IDeepCloneable<Event>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud reCAPTCHA Enterprise v1 API class Event.
The event being assessed.
Namespace
GoogleGoogle.CloudGoogle.Cloud.RecaptchaEnterpriseV1Assembly
Google.Cloud.RecaptchaEnterprise.V1.dll
Constructors
Event()
public Event()
Event(Event)
public Event(Event other)
Parameter | |
---|---|
Name | Description |
other | Event |
Properties
ExpectedAction
public string ExpectedAction { get; set; }
Optional. The expected action for this type of event. This should be the same action provided at token generation time on client-side platforms already integrated with recaptcha enterprise.
Property Value | |
---|---|
Type | Description |
string |
HashedAccountId
public ByteString HashedAccountId { get; set; }
Optional. Unique stable hashed user identifier for the request. The identifier must be hashed using hmac-sha256 with stable secret.
Property Value | |
---|---|
Type | Description |
ByteString |
SiteKey
public string SiteKey { get; set; }
Optional. The site key that was used to invoke reCAPTCHA Enterprise on your site and generate the token.
Property Value | |
---|---|
Type | Description |
string |
Token
public string Token { get; set; }
Optional. The user response token provided by the reCAPTCHA Enterprise client-side integration on your site.
Property Value | |
---|---|
Type | Description |
string |
TransactionData
public TransactionData TransactionData { get; set; }
Optional. Data describing a payment transaction to be assessed. Sending this data enables reCAPTCHA Enterprise Fraud Prevention and the FraudPreventionAssessment component in the response.
Property Value | |
---|---|
Type | Description |
TransactionData |
UserAgent
public string UserAgent { get; set; }
Optional. The user agent present in the request from the user's device related to this event.
Property Value | |
---|---|
Type | Description |
string |
UserIpAddress
public string UserIpAddress { get; set; }
Optional. The IP address in the request from the user's device related to this event.
Property Value | |
---|---|
Type | Description |
string |