Class: Google::Apis::TrafficdirectorV2::DynamicScopedRouteConfigs
- Inherits:
-
Object
- Object
- Google::Apis::TrafficdirectorV2::DynamicScopedRouteConfigs
- 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 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.
420 421 422 |
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 420 def initialize(**args) update!(**args) end |
Instance Attribute Details
#last_updated ⇒ String
The timestamp when the scoped route config set was last updated.
Corresponds to the JSON property lastUpdated
401 402 403 |
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 401 def last_updated @last_updated end |
#name ⇒ String
The name assigned to the scoped route configurations.
Corresponds to the JSON property name
406 407 408 |
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 406 def name @name end |
#scoped_route_configs ⇒ Array<Hash<String,Object>>
The scoped route configurations.
Corresponds to the JSON property scopedRouteConfigs
411 412 413 |
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 411 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
418 419 420 |
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 418 def version_info @version_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
425 426 427 428 429 430 |
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 425 def update!(**args) @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 |