Class Event (2.0.0)

public sealed class Event : IMessage<Event>, IEquatable<Event>, IDeepCloneable<Event>, IBufferMessage, IMessage

Inheritance

Object > Event

Namespace

Google.Cloud.RecaptchaEnterprise.V1

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. Optional unique stable hashed user identifier for the request. The identifier should ideally be hashed using sha256 with stable secret.

Property Value
TypeDescription
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
TypeDescription
String

Token

public string Token { get; set; }

Optional. The user response token provided by the reCAPTCHA client-side integration on your site.

Property Value
TypeDescription
String

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