Reference documentation and code samples for the Network Security V1beta1 API class Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetectorService::Rest::ServiceStub.
REST service stub for the DnsThreatDetectorService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_dns_threat_detector
def create_dns_threat_detector(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetectorBaseline implementation for the create_dns_threat_detector REST call
- request_pb (::Google::Cloud::NetworkSecurity::V1beta1::CreateDnsThreatDetectorRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetector)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetector) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_dns_threat_detector
def delete_dns_threat_detector(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::EmptyBaseline implementation for the delete_dns_threat_detector REST call
- request_pb (::Google::Cloud::NetworkSecurity::V1beta1::DeleteDnsThreatDetectorRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> StringThe effective endpoint
- (String)
#get_dns_threat_detector
def get_dns_threat_detector(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetectorBaseline implementation for the get_dns_threat_detector REST call
- request_pb (::Google::Cloud::NetworkSecurity::V1beta1::GetDnsThreatDetectorRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetector)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetector) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_dns_threat_detectors
def list_dns_threat_detectors(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkSecurity::V1beta1::ListDnsThreatDetectorsResponseBaseline implementation for the list_dns_threat_detectors REST call
- request_pb (::Google::Cloud::NetworkSecurity::V1beta1::ListDnsThreatDetectorsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::NetworkSecurity::V1beta1::ListDnsThreatDetectorsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::NetworkSecurity::V1beta1::ListDnsThreatDetectorsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> LoggerThe logger used for request/response debug logging.
- (Logger)
#universe_domain
def universe_domain() -> StringThe effective universe domain
- (String)
#update_dns_threat_detector
def update_dns_threat_detector(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetectorBaseline implementation for the update_dns_threat_detector REST call
- request_pb (::Google::Cloud::NetworkSecurity::V1beta1::UpdateDnsThreatDetectorRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetector)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetector) — A result object deserialized from the server's reply
- (::ArgumentError)