# reCAPTCHA Enterprise V1 API - Class Google::Cloud::RecaptchaEnterprise::V1::WafSettings (v1.11.0)

1.11.0 (latest) 1.9.1 1.8.0 1.7.1 1.6.0 1.5.1 1.4.1 1.3.0 1.2.0 1.1.0 1.0.0 0.22.0 0.21.0 0.20.1 0.19.0 0.18.0 0.17.3 0.16.0 0.15.0 0.14.1 0.13.0 0.12.0 0.11.0 0.10.0 0.9.1 0.8.0 0.7.1 Reference documentation and code samples for the reCAPTCHA Enterprise V1 API class Google::Cloud::RecaptchaEnterprise::V1::WafSettings.

Settings specific to keys that can be used for WAF (Web Application
Firewall).

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #waf_feature

    def waf_feature() -> ::Google::Cloud::RecaptchaEnterprise::V1::WafSettings::WafFeature

**Returns**

- ([::Google::Cloud::RecaptchaEnterprise::V1::WafSettings::WafFeature](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/latest/Google-Cloud-RecaptchaEnterprise-V1-WafSettings-WafFeature)) --- Required. The Web Application Firewall (WAF) feature for which this key is enabled.

### #waf_feature=

    def waf_feature=(value) -> ::Google::Cloud::RecaptchaEnterprise::V1::WafSettings::WafFeature

**Parameter**

- **value** ([::Google::Cloud::RecaptchaEnterprise::V1::WafSettings::WafFeature](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/latest/Google-Cloud-RecaptchaEnterprise-V1-WafSettings-WafFeature)) --- Required. The Web Application Firewall (WAF) feature for which this key is enabled.
**Returns**

- ([::Google::Cloud::RecaptchaEnterprise::V1::WafSettings::WafFeature](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/latest/Google-Cloud-RecaptchaEnterprise-V1-WafSettings-WafFeature)) --- Required. The Web Application Firewall (WAF) feature for which this key is enabled.

### #waf_service

    def waf_service() -> ::Google::Cloud::RecaptchaEnterprise::V1::WafSettings::WafService

**Returns**

- ([::Google::Cloud::RecaptchaEnterprise::V1::WafSettings::WafService](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/latest/Google-Cloud-RecaptchaEnterprise-V1-WafSettings-WafService)) --- Required. The Web Application Firewall (WAF) service that uses this key.

### #waf_service=

    def waf_service=(value) -> ::Google::Cloud::RecaptchaEnterprise::V1::WafSettings::WafService

**Parameter**

- **value** ([::Google::Cloud::RecaptchaEnterprise::V1::WafSettings::WafService](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/latest/Google-Cloud-RecaptchaEnterprise-V1-WafSettings-WafService)) --- Required. The Web Application Firewall (WAF) service that uses this key.
**Returns**

- ([::Google::Cloud::RecaptchaEnterprise::V1::WafSettings::WafService](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-recaptcha_enterprise-v1/latest/Google-Cloud-RecaptchaEnterprise-V1-WafSettings-WafService)) --- Required. The Web Application Firewall (WAF) service that uses this key.