Class: Google::Apis::TrafficdirectorV3::DynamicScopedRouteConfigs
- Inherits:
-
Object
- Object
- Google::Apis::TrafficdirectorV3::DynamicScopedRouteConfigs
- 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: 7]
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 scoped route config set was last updated.
-
#name ⇒ String
The name assigned to the scoped route configurations.
-
#scoped_route_configs ⇒ Array<Hash<String,Object>>
The scoped route configurations.
-
#version_info ⇒ String
This is the per-resource version information.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DynamicScopedRouteConfigs
constructor
A new instance of DynamicScopedRouteConfigs.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DynamicScopedRouteConfigs
Returns a new instance of DynamicScopedRouteConfigs.
584 585 586 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 584 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
552 553 554 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 552 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
560 561 562 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 560 def error_state @error_state end |
#last_updated ⇒ String
The timestamp when the scoped route config set was last updated.
Corresponds to the JSON property lastUpdated
565 566 567 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 565 def last_updated @last_updated end |
#name ⇒ String
The name assigned to the scoped route configurations.
Corresponds to the JSON property name
570 571 572 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 570 def name @name end |
#scoped_route_configs ⇒ Array<Hash<String,Object>>
The scoped route configurations.
Corresponds to the JSON property scopedRouteConfigs
575 576 577 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 575 def scoped_route_configs @scoped_route_configs 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 scoped routes
configuration was loaded.
Corresponds to the JSON property versionInfo
582 583 584 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 582 def version_info @version_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
589 590 591 592 593 594 595 596 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 589 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) @name = args[:name] if args.key?(:name) @scoped_route_configs = args[:scoped_route_configs] if args.key?(:scoped_route_configs) @version_info = args[:version_info] if args.key?(:version_info) end |