Class: Google::Apis::TrafficdirectorV3::DynamicRouteConfig
- Inherits:
-
Object
- Object
- Google::Apis::TrafficdirectorV3::DynamicRouteConfig
- 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
[#next-free-field: 6]
Instance Attribute Summary collapse
-
#client_status ⇒ String
The client status of this resource.
-
#error_state ⇒ Google::Apis::TrafficdirectorV3::UpdateFailureState
Set if the last update failed, cleared after the next successful update.
-
#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.
531 532 533 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 531 def initialize(**args) update!(**args) end |
Instance Attribute Details
#client_status ⇒ String
The client status of this resource. [#not-implemented-hide:]
Corresponds to the JSON property clientStatus
504 505 506 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 504 def client_status @client_status end |
#error_state ⇒ Google::Apis::TrafficdirectorV3::UpdateFailureState
Set if the last update failed, cleared after the next successful update. The
error_state
field contains the rejected version of this particular resource
along with the reason and timestamp. For successfully updated or acknowledged
resource, this field should be empty. [#not-implemented-hide:]
Corresponds to the JSON property errorState
512 513 514 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 512 def error_state @error_state end |
#last_updated ⇒ String
The timestamp when the Route was last updated.
Corresponds to the JSON property lastUpdated
517 518 519 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 517 def last_updated @last_updated end |
#route_config ⇒ Hash<String,Object>
The route config.
Corresponds to the JSON property routeConfig
522 523 524 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 522 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
529 530 531 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 529 def version_info @version_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
536 537 538 539 540 541 542 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 536 def update!(**args) @client_status = args[:client_status] if args.key?(:client_status) @error_state = args[:error_state] if args.key?(:error_state) @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 |