Class: Google::Apis::TrafficdirectorV3::InlineScopedRouteConfigs
- Inherits:
-
Object
- Object
- Google::Apis::TrafficdirectorV3::InlineScopedRouteConfigs
- 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
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.
848 849 850 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 848 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
836 837 838 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 836 def last_updated @last_updated end |
#name ⇒ String
The name assigned to the scoped route configurations.
Corresponds to the JSON property name
841 842 843 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 841 def name @name end |
#scoped_route_configs ⇒ Array<Hash<String,Object>>
The scoped route configurations.
Corresponds to the JSON property scopedRouteConfigs
846 847 848 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 846 def scoped_route_configs @scoped_route_configs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
853 854 855 856 857 |
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 853 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 |