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.



616
617
618
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 616

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



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

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



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

def static_endpoint_configs
  @static_endpoint_configs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



621
622
623
624
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 621

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