Class: Google::Apis::ComputeV1::ForwardingRuleReference

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/compute_v1/classes.rb,
generated/google/apis/compute_v1/representations.rb,
generated/google/apis/compute_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ForwardingRuleReference

Returns a new instance of ForwardingRuleReference.



7551
7552
7553
# File 'generated/google/apis/compute_v1/classes.rb', line 7551

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#forwarding_ruleString

Corresponds to the JSON property forwardingRule

Returns:

  • (String)


7549
7550
7551
# File 'generated/google/apis/compute_v1/classes.rb', line 7549

def forwarding_rule
  @forwarding_rule
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7556
7557
7558
# File 'generated/google/apis/compute_v1/classes.rb', line 7556

def update!(**args)
  @forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
end