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.



1326
1327
1328
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1326

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



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

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



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

def inline_scoped_route_configs
  @inline_scoped_route_configs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1331
1332
1333
1334
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1331

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