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- (::Google::Protobuf::Timestamp) — Output only. Create time stamp.
#excluded_networks
def excluded_networks() -> ::Array<::String>-
(::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>-
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.
-
(::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}- (::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}- value (::Google::Protobuf::Map{::String => ::String}) — Optional. Any labels associated with the DnsThreatDetector, listed as key value pairs.
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Any labels associated with the DnsThreatDetector, listed as key value pairs.
#name
def name() -> ::String- (::String) — Immutable. Identifier. Name of the DnsThreatDetector resource.
#name=
def name=(value) -> ::String- value (::String) — Immutable. Identifier. Name of the DnsThreatDetector resource.
- (::String) — Immutable. Identifier. Name of the DnsThreatDetector resource.
#provider
def provider() -> ::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetector::Provider- (::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetector::Provider) — Required. The provider used for DNS threat analysis.
#provider=
def provider=(value) -> ::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetector::Provider- value (::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetector::Provider) — Required. The provider used for DNS threat analysis.
- (::Google::Cloud::NetworkSecurity::V1beta1::DnsThreatDetector::Provider) — Required. The provider used for DNS threat analysis.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. Update time stamp.