class Google::Apis::TrafficdirectorV2::RoutesConfigDump

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.

Attributes

dynamic_route_configs[RW]

The dynamically loaded route configs. Corresponds to the JSON property `dynamicRouteConfigs` @return [Array<Google::Apis::TrafficdirectorV2::DynamicRouteConfig>]

static_route_configs[RW]

The statically loaded route configs. Corresponds to the JSON property `staticRouteConfigs` @return [Array<Google::Apis::TrafficdirectorV2::StaticRouteConfig>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/trafficdirector_v2/classes.rb, line 944
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/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