Class: Google::Apis::TrafficdirectorV3::EndpointsConfigDump

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

Overview

Envoy's admin fill this message with all currently known endpoints. Endpoint configuration information can be used to recreate an Envoy configuration by populating all endpoints as static endpoints or by returning them in an EDS response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EndpointsConfigDump

Returns a new instance of EndpointsConfigDump.



608
609
610
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 608

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

Instance Attribute Details

#dynamic_endpoint_configsArray<Google::Apis::TrafficdirectorV3::DynamicEndpointConfig>

The dynamically loaded endpoint configs. Corresponds to the JSON property dynamicEndpointConfigs



601
602
603
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 601

def dynamic_endpoint_configs
  @dynamic_endpoint_configs
end

#static_endpoint_configsArray<Google::Apis::TrafficdirectorV3::StaticEndpointConfig>

The statically loaded endpoint configs. Corresponds to the JSON property staticEndpointConfigs



606
607
608
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 606

def static_endpoint_configs
  @static_endpoint_configs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



613
614
615
616
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 613

def update!(**args)
  @dynamic_endpoint_configs = args[:dynamic_endpoint_configs] if args.key?(:dynamic_endpoint_configs)
  @static_endpoint_configs = args[:static_endpoint_configs] if args.key?(:static_endpoint_configs)
end