Reference documentation and code samples for the Network Security V1beta1 API class Google::Cloud::NetworkSecurity::V1beta1::CreateDnsThreatDetectorRequest.
The message to create 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
DnsThreatDetectorresource to create.
#dns_threat_detector=
def dns_threat_detector=(value) -> ::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetector
Parameter
-
value (::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetector) — Required. The
DnsThreatDetectorresource to create.
Returns
-
(::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetector) — Required. The
DnsThreatDetectorresource to create.
#dns_threat_detector_id
def dns_threat_detector_id() -> ::String
Returns
- (::String) — Optional. The ID of the requesting DnsThreatDetector object. If this field is not supplied, the service generates an identifier.
#dns_threat_detector_id=
def dns_threat_detector_id=(value) -> ::String
Parameter
- value (::String) — Optional. The ID of the requesting DnsThreatDetector object. If this field is not supplied, the service generates an identifier.
Returns
- (::String) — Optional. The ID of the requesting DnsThreatDetector object. If this field is not supplied, the service generates an identifier.
#parent
def parent() -> ::String
Returns
- (::String) — Required. The value for the parent of the DnsThreatDetector resource.
#parent=
def parent=(value) -> ::String
Parameter
- value (::String) — Required. The value for the parent of the DnsThreatDetector resource.
Returns
- (::String) — Required. The value for the parent of the DnsThreatDetector resource.