Reference documentation and code samples for the Google Cloud Network Security V1 Client class UpdateDnsThreatDetectorRequest.
The message for updating a DnsThreatDetector.
Generated from protobuf message google.cloud.networksecurity.v1.UpdateDnsThreatDetectorRequest
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. The field mask is used to specify the fields to be overwritten in the DnsThreatDetector 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 mask is not provided then all fields present in the request will be overwritten. |
↳ dns_threat_detector |
DnsThreatDetector
Required. The DnsThreatDetector resource being updated. |
getUpdateMask
Optional. The field mask is used to specify the fields to be overwritten in the DnsThreatDetector 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 mask is not provided then all fields present in the request will be overwritten.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\FieldMask|null |
|
hasUpdateMask
clearUpdateMask
setUpdateMask
Optional. The field mask is used to specify the fields to be overwritten in the DnsThreatDetector 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 mask is not provided then all fields present in the request will be overwritten.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\FieldMask
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDnsThreatDetector
Required. The DnsThreatDetector resource being updated.
| Returns | |
|---|---|
| Type | Description |
DnsThreatDetector|null |
|
hasDnsThreatDetector
clearDnsThreatDetector
setDnsThreatDetector
Required. The DnsThreatDetector resource being updated.
| Parameter | |
|---|---|
| Name | Description |
var |
DnsThreatDetector
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
dnsThreatDetector |
DnsThreatDetector
Required. The DnsThreatDetector resource being updated. |
updateMask |
Google\Protobuf\FieldMask
Optional. The field mask is used to specify the fields to be overwritten in the DnsThreatDetector 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 mask is not provided then all fields present in the request will be overwritten. |
| Returns | |
|---|---|
| Type | Description |
UpdateDnsThreatDetectorRequest |
|