Reference documentation and code samples for the Google Cloud Network Security V1 Client class UpdateGatewaySecurityPolicyRuleRequest.
Request used by the UpdateGatewaySecurityPolicyRule method.
Generated from protobuf message google.cloud.networksecurity.v1.UpdateGatewaySecurityPolicyRuleRequest
Namespace
Google \ Cloud \ NetworkSecurity \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ update_mask |
Google\Protobuf\FieldMask
Optional. Field mask is used to specify the fields to be overwritten in the GatewaySecurityPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. |
↳ gateway_security_policy_rule |
GatewaySecurityPolicyRule
Required. Updated GatewaySecurityPolicyRule resource. |
getUpdateMask
Optional. Field mask is used to specify the fields to be overwritten in the GatewaySecurityPolicy resource by the update.
The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\FieldMask|null |
|
hasUpdateMask
clearUpdateMask
setUpdateMask
Optional. Field mask is used to specify the fields to be overwritten in the GatewaySecurityPolicy resource by the update.
The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\FieldMask
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getGatewaySecurityPolicyRule
Required. Updated GatewaySecurityPolicyRule resource.
| Returns | |
|---|---|
| Type | Description |
GatewaySecurityPolicyRule|null |
|
hasGatewaySecurityPolicyRule
clearGatewaySecurityPolicyRule
setGatewaySecurityPolicyRule
Required. Updated GatewaySecurityPolicyRule resource.
| Parameter | |
|---|---|
| Name | Description |
var |
GatewaySecurityPolicyRule
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
gatewaySecurityPolicyRule |
GatewaySecurityPolicyRule
Required. Updated GatewaySecurityPolicyRule resource. |
updateMask |
Google\Protobuf\FieldMask
Optional. Field mask is used to specify the fields to be overwritten in the GatewaySecurityPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. |
| Returns | |
|---|---|
| Type | Description |
UpdateGatewaySecurityPolicyRuleRequest |
|