Class: Google::Apis::ComputeBeta::ForwardingRulesScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::ForwardingRulesScopedList
- Defined in:
- generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/representations.rb
Defined Under Namespace
Classes: Warning
Instance Attribute Summary collapse
-
#forwarding_rules ⇒ Array<Google::Apis::ComputeBeta::ForwardingRule>
A list of forwarding rules contained in this scope.
-
#warning ⇒ Google::Apis::ComputeBeta::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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ForwardingRulesScopedList
Returns a new instance of ForwardingRulesScopedList
6676 6677 6678 |
# File 'generated/google/apis/compute_beta/classes.rb', line 6676 def initialize(**args) update!(**args) end |
Instance Attribute Details
#forwarding_rules ⇒ Array<Google::Apis::ComputeBeta::ForwardingRule>
A list of forwarding rules contained in this scope.
Corresponds to the JSON property forwardingRules
6668 6669 6670 |
# File 'generated/google/apis/compute_beta/classes.rb', line 6668 def forwarding_rules @forwarding_rules end |
#warning ⇒ Google::Apis::ComputeBeta::ForwardingRulesScopedList::Warning
Informational warning which replaces the list of forwarding rules when the
list is empty.
Corresponds to the JSON property warning
6674 6675 6676 |
# File 'generated/google/apis/compute_beta/classes.rb', line 6674 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6681 6682 6683 6684 |
# File 'generated/google/apis/compute_beta/classes.rb', line 6681 def update!(**args) @forwarding_rules = args[:forwarding_rules] if args.key?(:forwarding_rules) @warning = args[:warning] if args.key?(:warning) end |