Class: Google::Cloud::RecaptchaEnterprise::V1::WafSettings

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#waf_feature::Google::Cloud::RecaptchaEnterprise::V1::WafSettings::WafFeature

Returns Required. The WAF feature for which this key is enabled.

Returns:



1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 1821

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

    # Cloudflare
    CLOUDFLARE = 4
  end
end

#waf_service::Google::Cloud::RecaptchaEnterprise::V1::WafSettings::WafService

Returns Required. The WAF service that uses this key.

Returns:



1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 1821

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

    # Cloudflare
    CLOUDFLARE = 4
  end
end