Class: Google::Apis::TrafficdirectorV3::RoutesConfigDump
- Inherits:
-
Object
- Object
- Google::Apis::TrafficdirectorV3::RoutesConfigDump
- 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 RDS implementation fills this message with all currently loaded routes, as described by their RouteConfiguration objects. Static routes that are either defined in the bootstrap configuration or defined inline while configuring listeners are separated from those configured dynamically via RDS. Route configuration information can be used to recreate an Envoy configuration by populating all routes as static routes or by returning them in RDS responses.
Instance Attribute Summary collapse
-
#dynamic_route_configs ⇒ Array<Google::Apis::TrafficdirectorV3::DynamicRouteConfig>
The dynamically loaded route configs.
-
#static_route_configs ⇒ Array<Google::Apis::TrafficdirectorV3::StaticRouteConfig>
The statically loaded route configs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RoutesConfigDump
constructor
A new instance of RoutesConfigDump.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RoutesConfigDump
Returns a new instance of RoutesConfigDump.
1270 1271 1272 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1270 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dynamic_route_configs ⇒ Array<Google::Apis::TrafficdirectorV3::DynamicRouteConfig>
The dynamically loaded route configs.
Corresponds to the JSON property dynamicRouteConfigs
1263 1264 1265 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1263 def dynamic_route_configs @dynamic_route_configs end |
#static_route_configs ⇒ Array<Google::Apis::TrafficdirectorV3::StaticRouteConfig>
The statically loaded route configs.
Corresponds to the JSON property staticRouteConfigs
1268 1269 1270 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1268 def static_route_configs @static_route_configs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1275 1276 1277 1278 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1275 def update!(**args) @dynamic_route_configs = args[:dynamic_route_configs] if args.key?(:dynamic_route_configs) @static_route_configs = args[:static_route_configs] if args.key?(:static_route_configs) end |