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:



1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 1853

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 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:



1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 1853

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 Enterprise.
  module WafService
    # Undefined WAF
    WAF_SERVICE_UNSPECIFIED = 0

    # Cloud Armor
    CA = 1

    # Fastly
    FASTLY = 3

    # Cloudflare
    CLOUDFLARE = 4
  end
end