The event being assessed.
Generated from protobuf message google.cloud.recaptchaenterprise.v1.Event
| Methods |
| public __construct( $data = NULL) Constructor.
|
| public clearTransactionData() |
| public clearUserInfo() |
| public getExpectedAction() 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. Generated from protobuf field string expected_action = 5 [(.google.api.field_behavior) = OPTIONAL];
|
| public getExpress() Optional. Flag for a reCAPTCHA express request for an assessment without a
token. If enabled, Generated from protobuf field bool express = 14 [(.google.api.field_behavior) = OPTIONAL];
|
| public getFirewallPolicyEvaluation() Optional. Flag for enabling firewall policy config assessment. If this flag is enabled, the firewall policy is evaluated and a suggested firewall action is returned in the response. Generated from protobuf field bool firewall_policy_evaluation = 12 [(.google.api.field_behavior) = OPTIONAL];
|
| public getFraudPrevention() Optional. The Fraud Prevention setting for this assessment. Generated from protobuf field .google.cloud.recaptchaenterprise.v1.Event.FraudPrevention fraud_prevention = 17 [(.google.api.field_behavior) = OPTIONAL];
|
| public getHashedAccountId() Optional. Deprecated: use Unique stable hashed user identifier for the request. The identifier must be hashed using hmac-sha256 with stable secret. Generated from protobuf field bytes hashed_account_id = 6 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
|
| public getHeaders() Optional. HTTP header information about the request. Generated from protobuf field repeated string headers = 11 [(.google.api.field_behavior) = OPTIONAL];
|
| public getJa3() Optional. JA3 fingerprint for SSL clients. To learn how to compute this fingerprint, please refer to https://github.com/salesforce/ja3. Generated from protobuf field string ja3 = 10 [(.google.api.field_behavior) = OPTIONAL];
|
| public getJa4() Optional. JA4 fingerprint for SSL clients. To learn how to compute this fingerprint, please refer to https://github.com/FoxIO-LLC/ja4. Generated from protobuf field string ja4 = 18 [(.google.api.field_behavior) = OPTIONAL];
|
| public getRequestedUri() Optional. The URI resource the user requested that triggered an assessment. Generated from protobuf field string requested_uri = 8 [(.google.api.field_behavior) = OPTIONAL];
|
| public getSiteKey() Optional. The site key that was used to invoke reCAPTCHA Enterprise on your site and generate the token. Generated from protobuf field string site_key = 2 [(.google.api.field_behavior) = OPTIONAL];
|
| public getToken() Optional. The user response token provided by the reCAPTCHA Enterprise client-side integration on your site. Generated from protobuf field string token = 1 [(.google.api.field_behavior) = OPTIONAL];
|
| public getTransactionData() Optional. Data describing a payment transaction to be assessed. Sending this data enables reCAPTCHA Enterprise Fraud Prevention and the FraudPreventionAssessment component in the response. Generated from protobuf field .google.cloud.recaptchaenterprise.v1.TransactionData transaction_data = 13 [(.google.api.field_behavior) = OPTIONAL];
|
| public getUserAgent() Optional. The user agent present in the request from the user's device related to this event. Generated from protobuf field string user_agent = 3 [(.google.api.field_behavior) = OPTIONAL];
|
| public getUserInfo() Optional. Information about the user that generates this event, when they can be identified. They are often identified through the use of an account for logged-in requests or login/registration requests, or by providing user identifiers for guest actions like checkout. Generated from protobuf field .google.cloud.recaptchaenterprise.v1.UserInfo user_info = 15 [(.google.api.field_behavior) = OPTIONAL];
|
| public getUserIpAddress() Optional. The IP address in the request from the user's device related to this event. Generated from protobuf field string user_ip_address = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = {
|
| public getWafTokenAssessment() Optional. Flag for running Web Application Firewall (WAF) token assessment. If enabled, the token must be specified, and have been created by a WAF-enabled key. Generated from protobuf field bool waf_token_assessment = 9 [(.google.api.field_behavior) = OPTIONAL];
|
| public hasTransactionData() |
| public hasUserInfo() |
| public setExpectedAction( $var) 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. Generated from protobuf field string expected_action = 5 [(.google.api.field_behavior) = OPTIONAL];
|
| public setExpress( $var) Optional. Flag for a reCAPTCHA express request for an assessment without a
token. If enabled, Generated from protobuf field bool express = 14 [(.google.api.field_behavior) = OPTIONAL];
|
| public setFirewallPolicyEvaluation( $var) Optional. Flag for enabling firewall policy config assessment. If this flag is enabled, the firewall policy is evaluated and a suggested firewall action is returned in the response. Generated from protobuf field bool firewall_policy_evaluation = 12 [(.google.api.field_behavior) = OPTIONAL];
|
| public setFraudPrevention( $var) Optional. The Fraud Prevention setting for this assessment. Generated from protobuf field .google.cloud.recaptchaenterprise.v1.Event.FraudPrevention fraud_prevention = 17 [(.google.api.field_behavior) = OPTIONAL];
|
| public setHashedAccountId( $var) Optional. Deprecated: use Unique stable hashed user identifier for the request. The identifier must be hashed using hmac-sha256 with stable secret. Generated from protobuf field bytes hashed_account_id = 6 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
|
| public setHeaders( $var) Optional. HTTP header information about the request. Generated from protobuf field repeated string headers = 11 [(.google.api.field_behavior) = OPTIONAL];
|
| public setJa3( $var) Optional. JA3 fingerprint for SSL clients. To learn how to compute this fingerprint, please refer to https://github.com/salesforce/ja3. Generated from protobuf field string ja3 = 10 [(.google.api.field_behavior) = OPTIONAL];
|
| public setJa4( $var) Optional. JA4 fingerprint for SSL clients. To learn how to compute this fingerprint, please refer to https://github.com/FoxIO-LLC/ja4. Generated from protobuf field string ja4 = 18 [(.google.api.field_behavior) = OPTIONAL];
|
| public setRequestedUri( $var) Optional. The URI resource the user requested that triggered an assessment. Generated from protobuf field string requested_uri = 8 [(.google.api.field_behavior) = OPTIONAL];
|
| public setSiteKey( $var) Optional. The site key that was used to invoke reCAPTCHA Enterprise on your site and generate the token. Generated from protobuf field string site_key = 2 [(.google.api.field_behavior) = OPTIONAL];
|
| public setToken( $var) Optional. The user response token provided by the reCAPTCHA Enterprise client-side integration on your site. Generated from protobuf field string token = 1 [(.google.api.field_behavior) = OPTIONAL];
|
| public setTransactionData( $var) Optional. Data describing a payment transaction to be assessed. Sending this data enables reCAPTCHA Enterprise Fraud Prevention and the FraudPreventionAssessment component in the response. Generated from protobuf field .google.cloud.recaptchaenterprise.v1.TransactionData transaction_data = 13 [(.google.api.field_behavior) = OPTIONAL];
|
| public setUserAgent( $var) Optional. The user agent present in the request from the user's device related to this event. Generated from protobuf field string user_agent = 3 [(.google.api.field_behavior) = OPTIONAL];
|
| public setUserInfo( $var) Optional. Information about the user that generates this event, when they can be identified. They are often identified through the use of an account for logged-in requests or login/registration requests, or by providing user identifiers for guest actions like checkout. Generated from protobuf field .google.cloud.recaptchaenterprise.v1.UserInfo user_info = 15 [(.google.api.field_behavior) = OPTIONAL];
|
| public setUserIpAddress( $var) Optional. The IP address in the request from the user's device related to this event. Generated from protobuf field string user_ip_address = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = {
|
| public setWafTokenAssessment( $var) Optional. Flag for running Web Application Firewall (WAF) token assessment. If enabled, the token must be specified, and have been created by a WAF-enabled key. Generated from protobuf field bool waf_token_assessment = 9 [(.google.api.field_behavior) = OPTIONAL];
|
| Properties |
| protected $expected_action = '' 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. Generated from protobuf field string expected_action = 5 [(.google.api.field_behavior) = OPTIONAL]; |
| protected $express = false Optional. Flag for a reCAPTCHA express request for an assessment without a
token. If enabled, Generated from protobuf field bool express = 14 [(.google.api.field_behavior) = OPTIONAL]; |
| protected $firewall_policy_evaluation = false Optional. Flag for enabling firewall policy config assessment. If this flag is enabled, the firewall policy is evaluated and a suggested firewall action is returned in the response. Generated from protobuf field bool firewall_policy_evaluation = 12 [(.google.api.field_behavior) = OPTIONAL]; |
| protected $fraud_prevention = 0 Optional. The Fraud Prevention setting for this assessment. Generated from protobuf field .google.cloud.recaptchaenterprise.v1.Event.FraudPrevention fraud_prevention = 17 [(.google.api.field_behavior) = OPTIONAL]; |
| protected $hashed_account_id = '' Optional. Deprecated: use Unique stable hashed user identifier for the request. The identifier must be hashed using hmac-sha256 with stable secret. Generated from protobuf field bytes hashed_account_id = 6 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
|
| protected $ja3 = '' Optional. JA3 fingerprint for SSL clients. To learn how to compute this fingerprint, please refer to https://github.com/salesforce/ja3. Generated from protobuf field string ja3 = 10 [(.google.api.field_behavior) = OPTIONAL]; |
| protected $ja4 = '' Optional. JA4 fingerprint for SSL clients. To learn how to compute this fingerprint, please refer to https://github.com/FoxIO-LLC/ja4. Generated from protobuf field string ja4 = 18 [(.google.api.field_behavior) = OPTIONAL]; |
| protected $requested_uri = '' Optional. The URI resource the user requested that triggered an assessment. Generated from protobuf field string requested_uri = 8 [(.google.api.field_behavior) = OPTIONAL]; |
| protected $site_key = '' Optional. The site key that was used to invoke reCAPTCHA Enterprise on your site and generate the token. Generated from protobuf field string site_key = 2 [(.google.api.field_behavior) = OPTIONAL]; |
| protected $token = '' Optional. The user response token provided by the reCAPTCHA Enterprise client-side integration on your site. Generated from protobuf field string token = 1 [(.google.api.field_behavior) = OPTIONAL]; |
| protected $transaction_data = NULL Optional. Data describing a payment transaction to be assessed. Sending this data enables reCAPTCHA Enterprise Fraud Prevention and the FraudPreventionAssessment component in the response. Generated from protobuf field .google.cloud.recaptchaenterprise.v1.TransactionData transaction_data = 13 [(.google.api.field_behavior) = OPTIONAL]; |
| protected $user_agent = '' Optional. The user agent present in the request from the user's device related to this event. Generated from protobuf field string user_agent = 3 [(.google.api.field_behavior) = OPTIONAL]; |
| protected $user_info = NULL Optional. Information about the user that generates this event, when they can be identified. They are often identified through the use of an account for logged-in requests or login/registration requests, or by providing user identifiers for guest actions like checkout. Generated from protobuf field .google.cloud.recaptchaenterprise.v1.UserInfo user_info = 15 [(.google.api.field_behavior) = OPTIONAL]; |
| protected $user_ip_address = '' Optional. The IP address in the request from the user's device related to this event. Generated from protobuf field string user_ip_address = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { |
| protected $waf_token_assessment = false Optional. Flag for running Web Application Firewall (WAF) token assessment. If enabled, the token must be specified, and have been created by a WAF-enabled key. Generated from protobuf field bool waf_token_assessment = 9 [(.google.api.field_behavior) = OPTIONAL]; |
| Methods |
| Properties |
| private $headers = NULL Optional. HTTP header information about the request. Generated from protobuf field repeated string headers = 11 [(.google.api.field_behavior) = OPTIONAL]; |