Reference documentation and code samples for the Google Cloud Network Security V1 Client class 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
.
Generated from protobuf message google.cloud.networksecurity.v1.DnsThreatDetector
Namespace
Google \ Cloud \ NetworkSecurity \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Immutable. Identifier. Name of the DnsThreatDetector resource.
↳ create_time
↳ update_time
↳ labels
array| Google\Protobuf\Internal\MapField
Optional. Any labels associated with the DnsThreatDetector, listed as key value pairs.
↳ excluded_networks
string[]
Optional. A list of network resource names which aren't monitored by this DnsThreatDetector. Example: projects/PROJECT_ID/global/networks/NETWORK_NAME
.
↳ provider
int
Required. The provider used for DNS threat analysis.
getName
Immutable. Identifier. Name of the DnsThreatDetector resource.
string
setName
Immutable. Identifier. Name of the DnsThreatDetector resource.
var
string
$this
getCreateTime
Output only. Create time stamp.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Create time stamp.
$this
getUpdateTime
Output only. Update time stamp.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Update time stamp.
$this
getLabels
Optional. Any labels associated with the DnsThreatDetector, listed as key value pairs.
setLabels
Optional. Any labels associated with the DnsThreatDetector, listed as key value pairs.
$this
getExcludedNetworks
Optional. A list of network resource names which aren't monitored by this DnsThreatDetector.
Example: projects/PROJECT_ID/global/networks/NETWORK_NAME
.
setExcludedNetworks
Optional. A list of network resource names which aren't monitored by this DnsThreatDetector.
Example: projects/PROJECT_ID/global/networks/NETWORK_NAME
.
var
string[]
$this
getProvider
Required. The provider used for DNS threat analysis.
setProvider
Required. The provider used for DNS threat analysis.
$this

