Class: Google::Cloud::RecaptchaEnterprise::V1::WafSettings
- Inherits:
-
Object
- Object
- Google::Cloud::RecaptchaEnterprise::V1::WafSettings
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb
Overview
Settings specific to keys that can be used for WAF (Web Application Firewall).
Defined Under Namespace
Modules: WafFeature, WafService
Instance Attribute Summary collapse
-
#waf_feature ⇒ ::Google::Cloud::RecaptchaEnterprise::V1::WafSettings::WafFeature
Required.
-
#waf_service ⇒ ::Google::Cloud::RecaptchaEnterprise::V1::WafSettings::WafService
Required.
Instance Attribute Details
#waf_feature ⇒ ::Google::Cloud::RecaptchaEnterprise::V1::WafSettings::WafFeature
Returns Required. The WAF feature for which this key is enabled.
1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 |
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 1750 class WafSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Supported WAF features. For more information, see # https://cloud.google.com/recaptcha-enterprise/docs/usecase#comparison_of_features. module WafFeature # Undefined feature. WAF_FEATURE_UNSPECIFIED = 0 # Redirects suspicious traffic to reCAPTCHA. CHALLENGE_PAGE = 1 # Use reCAPTCHA session-tokens to protect the whole user session on the # site's domain. SESSION_TOKEN = 2 # Use reCAPTCHA action-tokens to protect user actions. ACTION_TOKEN = 3 # Use reCAPTCHA WAF express protection to protect any content other than # web pages, like APIs and IoT devices. EXPRESS = 5 end # Web Application Firewalls supported by reCAPTCHA Enterprise. module WafService # Undefined WAF WAF_SERVICE_UNSPECIFIED = 0 # Cloud Armor CA = 1 # Fastly FASTLY = 3 end end |
#waf_service ⇒ ::Google::Cloud::RecaptchaEnterprise::V1::WafSettings::WafService
Returns Required. The WAF service that uses this key.
1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 |
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 1750 class WafSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Supported WAF features. For more information, see # https://cloud.google.com/recaptcha-enterprise/docs/usecase#comparison_of_features. module WafFeature # Undefined feature. WAF_FEATURE_UNSPECIFIED = 0 # Redirects suspicious traffic to reCAPTCHA. CHALLENGE_PAGE = 1 # Use reCAPTCHA session-tokens to protect the whole user session on the # site's domain. SESSION_TOKEN = 2 # Use reCAPTCHA action-tokens to protect user actions. ACTION_TOKEN = 3 # Use reCAPTCHA WAF express protection to protect any content other than # web pages, like APIs and IoT devices. EXPRESS = 5 end # Web Application Firewalls supported by reCAPTCHA Enterprise. module WafService # Undefined WAF WAF_SERVICE_UNSPECIFIED = 0 # Cloud Armor CA = 1 # Fastly FASTLY = 3 end end |