Class: Google::Apis::ComputeV1::ForwardingRulesScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::ForwardingRulesScopedList
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb
Defined Under Namespace
Classes: Warning
Instance Attribute Summary collapse
-
#forwarding_rules ⇒ Array<Google::Apis::ComputeV1::ForwardingRule>
A list of forwarding rules contained in this scope.
-
#warning ⇒ Google::Apis::ComputeV1::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.
8536 8537 8538 |
# File 'lib/google/apis/compute_v1/classes.rb', line 8536 def initialize(**args) update!(**args) end |
Instance Attribute Details
#forwarding_rules ⇒ Array<Google::Apis::ComputeV1::ForwardingRule>
A list of forwarding rules contained in this scope.
Corresponds to the JSON property forwardingRules
8528 8529 8530 |
# File 'lib/google/apis/compute_v1/classes.rb', line 8528 def forwarding_rules @forwarding_rules end |
#warning ⇒ Google::Apis::ComputeV1::ForwardingRulesScopedList::Warning
Informational warning which replaces the list of forwarding rules when the
list is empty.
Corresponds to the JSON property warning
8534 8535 8536 |
# File 'lib/google/apis/compute_v1/classes.rb', line 8534 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8541 8542 8543 8544 |
# File 'lib/google/apis/compute_v1/classes.rb', line 8541 def update!(**args) @forwarding_rules = args[:forwarding_rules] if args.key?(:forwarding_rules) @warning = args[:warning] if args.key?(:warning) end |