Class: Google::Apis::TrafficdirectorV2::ListenersConfigDump

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

Overview

Envoy's listener manager fills this message with all currently known listeners. Listener configuration information can be used to recreate an Envoy configuration by populating all listeners as static listeners or by returning them in a LDS response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListenersConfigDump

Returns a new instance of ListenersConfigDump.



594
595
596
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 594

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

Instance Attribute Details

#dynamic_listenersArray<Google::Apis::TrafficdirectorV2::DynamicListener>

State for any warming, active, or draining listeners. Corresponds to the JSON property dynamicListeners



581
582
583
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 581

def dynamic_listeners
  @dynamic_listeners
end

#static_listenersArray<Google::Apis::TrafficdirectorV2::StaticListener>

The statically loaded listener configs. Corresponds to the JSON property staticListeners



586
587
588
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 586

def static_listeners
  @static_listeners
end

#version_infoString

This is the :ref:version_info in the last processed LDS discovery response. If there are only static bootstrap listeners, this field will be "". Corresponds to the JSON property versionInfo

Returns:

  • (String)


592
593
594
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 592

def version_info
  @version_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



599
600
601
602
603
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 599

def update!(**args)
  @dynamic_listeners = args[:dynamic_listeners] if args.key?(:dynamic_listeners)
  @static_listeners = args[:static_listeners] if args.key?(:static_listeners)
  @version_info = args[:version_info] if args.key?(:version_info)
end