Class: Google::Apis::TrafficdirectorV3::PerXdsConfig
- Inherits:
-
Object
- Object
- Google::Apis::TrafficdirectorV3::PerXdsConfig
- 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
Detailed config (per xDS) with status. [#next-free-field: 8]
Instance Attribute Summary collapse
-
#client_status ⇒ String
Client config status is populated by xDS clients.
-
#cluster_config ⇒ Google::Apis::TrafficdirectorV3::ClustersConfigDump
Envoy's cluster manager fills this message with all currently known clusters.
-
#endpoint_config ⇒ Google::Apis::TrafficdirectorV3::EndpointsConfigDump
Envoy's admin fill this message with all currently known endpoints.
-
#listener_config ⇒ Google::Apis::TrafficdirectorV3::ListenersConfigDump
Envoy's listener manager fills this message with all currently known listeners.
-
#route_config ⇒ Google::Apis::TrafficdirectorV3::RoutesConfigDump
Envoy's RDS implementation fills this message with all currently loaded routes, as described by their RouteConfiguration objects.
-
#scoped_route_config ⇒ Google::Apis::TrafficdirectorV3::ScopedRoutesConfigDump
Envoy's scoped RDS implementation fills this message with all currently loaded route configuration scopes (defined via ScopedRouteConfigurationsSet protos).
-
#status ⇒ String
Config status generated by management servers.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PerXdsConfig
constructor
A new instance of PerXdsConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PerXdsConfig
Returns a new instance of PerXdsConfig.
1195 1196 1197 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1195 def initialize(**args) update!(**args) end |
Instance Attribute Details
#client_status ⇒ String
Client config status is populated by xDS clients. Will not be present if the
CSDS server is an xDS server. No matter what the client config status is, xDS
clients should always dump the most recent accepted xDS config. .. attention::
This field is deprecated. Use :ref:ClientResourceStatus
for per-resource
config status instead.
Corresponds to the JSON property clientStatus
1143 1144 1145 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1143 def client_status @client_status end |
#cluster_config ⇒ Google::Apis::TrafficdirectorV3::ClustersConfigDump
Envoy's cluster manager fills this message with all currently known clusters.
Cluster configuration information can be used to recreate an Envoy
configuration by populating all clusters as static clusters or by returning
them in a CDS response.
Corresponds to the JSON property clusterConfig
1151 1152 1153 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1151 def cluster_config @cluster_config end |
#endpoint_config ⇒ Google::Apis::TrafficdirectorV3::EndpointsConfigDump
Envoy's admin fill this message with all currently known endpoints. Endpoint
configuration information can be used to recreate an Envoy configuration by
populating all endpoints as static endpoints or by returning them in an EDS
response.
Corresponds to the JSON property endpointConfig
1159 1160 1161 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1159 def endpoint_config @endpoint_config end |
#listener_config ⇒ Google::Apis::TrafficdirectorV3::ListenersConfigDump
Envoy's listener manager fills this message with all currently known listeners.
Listener configuration information can be used to recreate an Envoy
configuration by populating all listeners as static listeners or by returning
them in a LDS response.
Corresponds to the JSON property listenerConfig
1167 1168 1169 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1167 def listener_config @listener_config end |
#route_config ⇒ Google::Apis::TrafficdirectorV3::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.
Corresponds to the JSON property routeConfig
1178 1179 1180 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1178 def route_config @route_config end |
#scoped_route_config ⇒ Google::Apis::TrafficdirectorV3::ScopedRoutesConfigDump
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.
Corresponds to the JSON property scopedRouteConfig
1187 1188 1189 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1187 def scoped_route_config @scoped_route_config end |
#status ⇒ String
Config status generated by management servers. Will not be present if the CSDS
server is an xDS client.
Corresponds to the JSON property status
1193 1194 1195 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1193 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1200 1201 1202 1203 1204 1205 1206 1207 1208 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1200 def update!(**args) @client_status = args[:client_status] if args.key?(:client_status) @cluster_config = args[:cluster_config] if args.key?(:cluster_config) @endpoint_config = args[:endpoint_config] if args.key?(:endpoint_config) @listener_config = args[:listener_config] if args.key?(:listener_config) @route_config = args[:route_config] if args.key?(:route_config) @scoped_route_config = args[:scoped_route_config] if args.key?(:scoped_route_config) @status = args[:status] if args.key?(:status) end |