Class: Google::Apis::ComputeV1::ForwardingRuleReference
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::ForwardingRuleReference
- 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
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.
12867 12868 12869 |
# File 'lib/google/apis/compute_v1/classes.rb', line 12867 def initialize(**args) update!(**args) end |
Instance Attribute Details
#forwarding_rule ⇒ String
Corresponds to the JSON property forwardingRule
12865 12866 12867 |
# File 'lib/google/apis/compute_v1/classes.rb', line 12865 def forwarding_rule @forwarding_rule end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12872 12873 12874 |
# File 'lib/google/apis/compute_v1/classes.rb', line 12872 def update!(**args) @forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule) end |