Class: Google::Apis::ComputeBeta::ForwardingRuleReference

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ForwardingRuleReference

Returns a new instance of ForwardingRuleReference.



9298
9299
9300
# File 'lib/google/apis/compute_beta/classes.rb', line 9298

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

Instance Attribute Details

#forwarding_ruleString

Corresponds to the JSON property forwardingRule

Returns:

  • (String)


9296
9297
9298
# File 'lib/google/apis/compute_beta/classes.rb', line 9296

def forwarding_rule
  @forwarding_rule
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9303
9304
9305
# File 'lib/google/apis/compute_beta/classes.rb', line 9303

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