Network Security V1beta1 API - Class Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetectorService::Rest::ServiceStub (v0.14.0)

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::DnsThreatDetector

Baseline implementation for the create_dns_threat_detector REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_dns_threat_detector

def delete_dns_threat_detector(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_dns_threat_detector REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#get_dns_threat_detector

def get_dns_threat_detector(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetector

Baseline implementation for the get_dns_threat_detector REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_dns_threat_detectors

def list_dns_threat_detectors(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkSecurity::V1beta1::ListDnsThreatDetectorsResponse

Baseline implementation for the list_dns_threat_detectors REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#logger

def logger(stub: false) -> Logger

The logger used for request/response debug logging.

Returns
  • (Logger)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)

#update_dns_threat_detector

def update_dns_threat_detector(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetector

Baseline implementation for the update_dns_threat_detector REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)