Class: Google::Apis::TrafficdirectorV2::ScopedRoutesConfigDump

Inherits:
Object
  • Object
show all
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 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.



973
974
975
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 973

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

Instance Attribute Details

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

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



966
967
968
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 966

def dynamic_scoped_route_configs
  @dynamic_scoped_route_configs
end

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

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



971
972
973
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 971

def inline_scoped_route_configs
  @inline_scoped_route_configs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



978
979
980
981
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 978

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