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 |
Google\Cloud\RecaptchaEnterprise\V1\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 will be updated. |
getFirewallPolicy
Required. The policy to update.
Returns | |
---|---|
Type | Description |
Google\Cloud\RecaptchaEnterprise\V1\FirewallPolicy|null |
hasFirewallPolicy
clearFirewallPolicy
setFirewallPolicy
Required. The policy to update.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\RecaptchaEnterprise\V1\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 will be 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 will be updated.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\FieldMask
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
firewallPolicy |
Google\Cloud\RecaptchaEnterprise\V1\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 will be updated. |
Returns | |
---|---|
Type | Description |
Google\Cloud\RecaptchaEnterprise\V1\UpdateFirewallPolicyRequest |