Network Security V1beta1 API - Class Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetector (v0.14.0)

Reference documentation and code samples for the Network Security V1beta1 API class Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetector.

A DNS threat detector sends DNS query logs to a provider that then analyzes the logs to identify threat events in the DNS queries. By default, all VPC networks in your projects are included. You can exclude specific networks by supplying excluded_networks.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#excluded_networks

def excluded_networks() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. A list of network resource names which aren't monitored by this DnsThreatDetector.

    Example: projects/PROJECT_ID/global/networks/NETWORK_NAME.

#excluded_networks=

def excluded_networks=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. A list of network resource names which aren't monitored by this DnsThreatDetector.

    Example: projects/PROJECT_ID/global/networks/NETWORK_NAME.

Returns
  • (::Array<::String>) — Optional. A list of network resource names which aren't monitored by this DnsThreatDetector.

    Example: projects/PROJECT_ID/global/networks/NETWORK_NAME.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Any labels associated with the DnsThreatDetector, listed as key value pairs.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. Any labels associated with the DnsThreatDetector, listed as key value pairs.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Any labels associated with the DnsThreatDetector, listed as key value pairs.

#name

def name() -> ::String
Returns
  • (::String) — Immutable. Identifier. Name of the DnsThreatDetector resource.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Immutable. Identifier. Name of the DnsThreatDetector resource.
Returns
  • (::String) — Immutable. Identifier. Name of the DnsThreatDetector resource.

#provider

def provider() -> ::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetector::Provider
Returns

#provider=

def provider=(value) -> ::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetector::Provider
Parameter
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns