Reference documentation and code samples for the Google Cloud Recaptcha Enterprise V1 Client class UpdateFirewallPolicyRequest.
The update firewall policy request message.
Generated from protobuf message google.cloud.recaptchaenterprise.v1.UpdateFirewallPolicyRequest
Namespace
Google \ Cloud \ RecaptchaEnterprise \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ firewall_policy |
FirewallPolicy
Required. The policy to update. |
↳ update_mask |
Google\Protobuf\FieldMask
Optional. The mask to control which fields of the policy get updated. If the mask is not present, all fields are updated. |
getFirewallPolicy
Required. The policy to update.
Returns | |
---|---|
Type | Description |
FirewallPolicy|null |
hasFirewallPolicy
clearFirewallPolicy
setFirewallPolicy
Required. The policy to update.
Parameter | |
---|---|
Name | Description |
var |
FirewallPolicy
|
Returns | |
---|---|
Type | Description |
$this |
getUpdateMask
Optional. The mask to control which fields of the policy get updated. If the mask is not present, all fields are updated.
Returns | |
---|---|
Type | Description |
Google\Protobuf\FieldMask|null |
hasUpdateMask
clearUpdateMask
setUpdateMask
Optional. The mask to control which fields of the policy get updated. If the mask is not present, all fields are updated.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\FieldMask
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
firewallPolicy |
FirewallPolicy
Required. The policy to update. |
updateMask |
Google\Protobuf\FieldMask
Optional. The mask to control which fields of the policy get updated. If the mask is not present, all fields are updated. |
Returns | |
---|---|
Type | Description |
UpdateFirewallPolicyRequest |