public sealed class Event : IMessage<Event>, IEquatable<Event>, IDeepCloneable<Event>, IBufferMessage, IMessageNamespace
Google.Cloud.RecaptchaEnterprise.V1Beta1Assembly
Google.Cloud.RecaptchaEnterprise.V1Beta1.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.
| Property Value | |
|---|---|
| Type | Description |
string |
|
FraudPrevention
public Event.Types.FraudPrevention FraudPrevention { get; set; }Optional. The Fraud Prevention setting for this Assessment.
| Property Value | |
|---|---|
| Type | Description |
EventTypesFraudPrevention |
|
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 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 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 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 |
|