Class: Google::Apis::NetworksecurityV1beta1::ListDnsThreatDetectorsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/networksecurity_v1beta1/classes.rb,
lib/google/apis/networksecurity_v1beta1/representations.rb,
lib/google/apis/networksecurity_v1beta1/representations.rb

Overview

The response message to requesting a list of DnsThreatDetectors.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListDnsThreatDetectorsResponse

Returns a new instance of ListDnsThreatDetectorsResponse.



2870
2871
2872
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2870

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dns_threat_detectorsArray<Google::Apis::NetworksecurityV1beta1::DnsThreatDetector>

The list of DnsThreatDetector resources. Corresponds to the JSON property dnsThreatDetectors



2858
2859
2860
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2858

def dns_threat_detectors
  @dns_threat_detectors
end

#next_page_tokenString

A token, which can be sent as page_token, to retrieve the next page. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


2863
2864
2865
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2863

def next_page_token
  @next_page_token
end

#unreachableArray<String>

Unordered list. Unreachable DnsThreatDetector resources. Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


2868
2869
2870
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2868

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2875
2876
2877
2878
2879
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2875

def update!(**args)
  @dns_threat_detectors = args[:dns_threat_detectors] if args.key?(:dns_threat_detectors)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @unreachable = args[:unreachable] if args.key?(:unreachable)
end