Class: Google::Apis::TrafficdirectorV2::InlineScopedRouteConfigs
- Inherits:
-
Object
- Object
- Google::Apis::TrafficdirectorV2::InlineScopedRouteConfigs
- 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.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InlineScopedRouteConfigs
constructor
A new instance of InlineScopedRouteConfigs.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InlineScopedRouteConfigs
Returns a new instance of InlineScopedRouteConfigs.
538 539 540 |
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 538 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
526 527 528 |
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 526 def last_updated @last_updated end |
#name ⇒ String
The name assigned to the scoped route configurations.
Corresponds to the JSON property name
531 532 533 |
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 531 def name @name end |
#scoped_route_configs ⇒ Array<Hash<String,Object>>
The scoped route configurations.
Corresponds to the JSON property scopedRouteConfigs
536 537 538 |
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 536 def scoped_route_configs @scoped_route_configs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
543 544 545 546 547 |
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 543 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) end |