Reference documentation and code samples for the Network Security V1beta1 API class Google::Cloud::NetworkSecurity::V1beta1::UpdateDnsThreatDetectorRequest.
The message for updating a DnsThreatDetector.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#dns_threat_detector
def dns_threat_detector() -> ::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetector
Returns
- (::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetector) — Required. The DnsThreatDetector resource being updated.
#dns_threat_detector=
def dns_threat_detector=(value) -> ::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetector
Parameter
- value (::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetector) — Required. The DnsThreatDetector resource being updated.
Returns
- (::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetector) — Required. The DnsThreatDetector resource being updated.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
- (::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.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
- value (::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
- (::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.