Class: Google::Apis::TrafficdirectorV2::RoutesConfigDump
- Inherits:
-
Object
- Object
- Google::Apis::TrafficdirectorV2::RoutesConfigDump
- 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 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::TrafficdirectorV2::DynamicRouteConfig>
The dynamically loaded route configs.
-
#static_route_configs ⇒ Array<Google::Apis::TrafficdirectorV2::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.
944 945 946 |
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 944 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dynamic_route_configs ⇒ Array<Google::Apis::TrafficdirectorV2::DynamicRouteConfig>
The dynamically loaded route configs.
Corresponds to the JSON property dynamicRouteConfigs
937 938 939 |
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 937 def dynamic_route_configs @dynamic_route_configs end |
#static_route_configs ⇒ Array<Google::Apis::TrafficdirectorV2::StaticRouteConfig>
The statically loaded route configs.
Corresponds to the JSON property staticRouteConfigs
942 943 944 |
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 942 def static_route_configs @static_route_configs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
949 950 951 952 |
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 949 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 |