Google Cloud Recaptcha Enterprise V1 Client - Class UpdateFirewallPolicyRequest (1.6.0)

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 \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
Google\Cloud\RecaptchaEnterprise\V1\FirewallPolicy|null

hasFirewallPolicy

clearFirewallPolicy

setFirewallPolicy

Required. The policy to update.

Parameter
NameDescription
var Google\Cloud\RecaptchaEnterprise\V1\FirewallPolicy
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
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
TypeDescription
Google\Cloud\RecaptchaEnterprise\V1\UpdateFirewallPolicyRequest