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.



1318
1319
1320
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1318

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



1311
1312
1313
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1311

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



1316
1317
1318
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1316

def inline_scoped_route_configs
  @inline_scoped_route_configs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1323
1324
1325
1326
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1323

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