Class: Google::Apis::ComputeAlpha::ForwardingRuleReference
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::ForwardingRuleReference
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#forwarding_rule ⇒ String
Corresponds to the JSON property
forwardingRule
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ForwardingRuleReference
constructor
A new instance of ForwardingRuleReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ForwardingRuleReference
Returns a new instance of ForwardingRuleReference.
10422 10423 10424 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 10422 def initialize(**args) update!(**args) end |
Instance Attribute Details
#forwarding_rule ⇒ String
Corresponds to the JSON property forwardingRule
10420 10421 10422 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 10420 def forwarding_rule @forwarding_rule end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10427 10428 10429 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 10427 def update!(**args) @forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule) end |