Class: Google::Apis::TrafficdirectorV3::ScopedRoutesConfigDump

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 scoped RDS implementation fills this message with all currently loaded route configuration scopes (defined via ScopedRouteConfigurationsSet protos). This message lists both the scopes defined inline with the higher order object (i.e., the HttpConnectionManager) and the dynamically obtained scopes via the SRDS API.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ScopedRoutesConfigDump

Returns a new instance of ScopedRoutesConfigDump.



1299
1300
1301
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1299

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

Instance Attribute Details

#dynamic_scoped_route_configsArray<Google::Apis::TrafficdirectorV3::DynamicScopedRouteConfigs>

The dynamically loaded scoped route configs. Corresponds to the JSON property dynamicScopedRouteConfigs



1292
1293
1294
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1292

def dynamic_scoped_route_configs
  @dynamic_scoped_route_configs
end

#inline_scoped_route_configsArray<Google::Apis::TrafficdirectorV3::InlineScopedRouteConfigs>

The statically loaded scoped route configs. Corresponds to the JSON property inlineScopedRouteConfigs



1297
1298
1299
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1297

def inline_scoped_route_configs
  @inline_scoped_route_configs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1304
1305
1306
1307
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1304

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