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:



1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 1905

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.

Returns:



1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
# File 'proto_docs/google/cloud/recaptchaenterprise/v1/recaptchaenterprise.rb', line 1905

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