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.



2778
2779
2780
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2778

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



2766
2767
2768
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2766

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)


2771
2772
2773
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2771

def next_page_token
  @next_page_token
end

#unreachableArray<String>

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

Returns:

  • (Array<String>)


2776
2777
2778
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2776

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2783
2784
2785
2786
2787
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 2783

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