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.
1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 |
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 1924 class WafSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Supported WAF features. For more information, see # https://cloud.google.com/recaptcha/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. module WafService # Undefined WAF WAF_SERVICE_UNSPECIFIED = 0 # Cloud Armor CA = 1 # Fastly FASTLY = 3 # Cloudflare CLOUDFLARE = 4 # Akamai AKAMAI = 5 end end |
#waf_service ⇒ ::Google::Cloud::RecaptchaEnterprise::V1::WafSettings::WafService
Returns Required. The WAF service that uses this key.
1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 |
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 1924 class WafSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Supported WAF features. For more information, see # https://cloud.google.com/recaptcha/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. module WafService # Undefined WAF WAF_SERVICE_UNSPECIFIED = 0 # Cloud Armor CA = 1 # Fastly FASTLY = 3 # Cloudflare CLOUDFLARE = 4 # Akamai AKAMAI = 5 end end |