A set header action sets a header and forwards the request to the backend. This can be used to trigger custom protection implemented on the backend.
Generated from protobuf message google.cloud.recaptchaenterprise.v1.FirewallAction.SetHeaderAction
| Methods |
| public __construct( $data = NULL) Constructor.
|
| public getKey() Optional. The header key to set in the request to the backend server. Generated from protobuf field string key = 1 [(.google.api.field_behavior) = OPTIONAL];
|
| public getValue() Optional. The header value to set in the request to the backend server. Generated from protobuf field string value = 2 [(.google.api.field_behavior) = OPTIONAL];
|
| public setKey( $var) Optional. The header key to set in the request to the backend server. Generated from protobuf field string key = 1 [(.google.api.field_behavior) = OPTIONAL];
|
| public setValue( $var) Optional. The header value to set in the request to the backend server. Generated from protobuf field string value = 2 [(.google.api.field_behavior) = OPTIONAL];
|
| Properties |
| protected $key = '' Optional. The header key to set in the request to the backend server. Generated from protobuf field string key = 1 [(.google.api.field_behavior) = OPTIONAL]; |
| protected $value = '' Optional. The header value to set in the request to the backend server. Generated from protobuf field string value = 2 [(.google.api.field_behavior) = OPTIONAL]; |
| Methods |