Class: Google::Apis::TrafficdirectorV2::DynamicRouteConfig
- Inherits:
-
Object
- Object
- Google::Apis::TrafficdirectorV2::DynamicRouteConfig
- 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
Instance Attribute Summary collapse
-
#last_updated ⇒ String
The timestamp when the Route was last updated.
-
#route_config ⇒ Hash<String,Object>
The route config.
-
#version_info ⇒ String
This is the per-resource version information.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DynamicRouteConfig
constructor
A new instance of DynamicRouteConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DynamicRouteConfig
Returns a new instance of DynamicRouteConfig.
382 383 384 |
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 382 def initialize(**args) update!(**args) end |
Instance Attribute Details
#last_updated ⇒ String
The timestamp when the Route was last updated.
Corresponds to the JSON property lastUpdated
368 369 370 |
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 368 def last_updated @last_updated end |
#route_config ⇒ Hash<String,Object>
The route config.
Corresponds to the JSON property routeConfig
373 374 375 |
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 373 def route_config @route_config end |
#version_info ⇒ String
This is the per-resource version information. This version is currently taken
from the :ref:version_info
field at the time that the route configuration
was loaded.
Corresponds to the JSON property versionInfo
380 381 382 |
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 380 def version_info @version_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
387 388 389 390 391 |
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 387 def update!(**args) @last_updated = args[:last_updated] if args.key?(:last_updated) @route_config = args[:route_config] if args.key?(:route_config) @version_info = args[:version_info] if args.key?(:version_info) end |