Google Cloud reCAPTCHA Enterprise v1 API - Class Event (2.4.0)

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.

Inheritance

object > Event

Namespace

GoogleGoogle.CloudGoogle.Cloud.RecaptchaEnterpriseV1

Assembly

Google.Cloud.RecaptchaEnterprise.V1.dll

Constructors

Event()

public Event()

Event(Event)

public Event(Event other)
Parameter
NameDescription
otherEvent

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