Class: Google::Apis::ComputeAlpha::ForwardingRuleReference
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::ForwardingRuleReference
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ForwardingRuleReference
Returns a new instance of ForwardingRuleReference
6124 6125 6126 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 6124 def initialize(**args) update!(**args) end |
Instance Attribute Details
#forwarding_rule ⇒ String
Corresponds to the JSON property forwardingRule
6122 6123 6124 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 6122 def forwarding_rule @forwarding_rule end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6129 6130 6131 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 6129 def update!(**args) @forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule) end |