Class: Google::Apis::ComputeBeta::ForwardingRuleReference
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::ForwardingRuleReference
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/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.
8531 8532 8533 |
# File 'generated/google/apis/compute_beta/classes.rb', line 8531 def initialize(**args) update!(**args) end |
Instance Attribute Details
#forwarding_rule ⇒ String
Corresponds to the JSON property forwardingRule
8529 8530 8531 |
# File 'generated/google/apis/compute_beta/classes.rb', line 8529 def forwarding_rule @forwarding_rule end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8536 8537 8538 |
# File 'generated/google/apis/compute_beta/classes.rb', line 8536 def update!(**args) @forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule) end |