Class: Google::Apis::ComputeAlpha::ForwardingRulesScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::ForwardingRulesScopedList
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb
Defined Under Namespace
Classes: Warning
Instance Attribute Summary collapse
-
#forwarding_rules ⇒ Array<Google::Apis::ComputeAlpha::ForwardingRule>
A list of forwarding rules contained in this scope.
-
#warning ⇒ Google::Apis::ComputeAlpha::ForwardingRulesScopedList::Warning
Informational warning which replaces the list of forwarding rules when the list is empty.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ForwardingRulesScopedList
constructor
A new instance of ForwardingRulesScopedList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ForwardingRulesScopedList
Returns a new instance of ForwardingRulesScopedList.
9460 9461 9462 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 9460 def initialize(**args) update!(**args) end |
Instance Attribute Details
#forwarding_rules ⇒ Array<Google::Apis::ComputeAlpha::ForwardingRule>
A list of forwarding rules contained in this scope.
Corresponds to the JSON property forwardingRules
9452 9453 9454 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 9452 def forwarding_rules @forwarding_rules end |
#warning ⇒ Google::Apis::ComputeAlpha::ForwardingRulesScopedList::Warning
Informational warning which replaces the list of forwarding rules when the
list is empty.
Corresponds to the JSON property warning
9458 9459 9460 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 9458 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9465 9466 9467 9468 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 9465 def update!(**args) @forwarding_rules = args[:forwarding_rules] if args.key?(:forwarding_rules) @warning = args[:warning] if args.key?(:warning) end |