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.
576 577 578 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 576 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
544 545 546 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 544 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
552 553 554 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 552 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
557 558 559 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 557 def last_updated @last_updated end |
#name ⇒ String
The name assigned to the scoped route configurations.
Corresponds to the JSON property name
562 563 564 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 562 def name @name end |
#scoped_route_configs ⇒ Array<Hash<String,Object>>
The scoped route configurations.
Corresponds to the JSON property scopedRouteConfigs
567 568 569 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 567 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
574 575 576 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 574 def version_info @version_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
581 582 583 584 585 586 587 588 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 581 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 |