Class: Google::Apis::ComputeAlpha::ForwardingRuleReference

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ForwardingRuleReference

Returns a new instance of ForwardingRuleReference.



9585
9586
9587
# File 'lib/google/apis/compute_alpha/classes.rb', line 9585

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

Instance Attribute Details

#forwarding_ruleString

Corresponds to the JSON property forwardingRule

Returns:

  • (String)


9583
9584
9585
# File 'lib/google/apis/compute_alpha/classes.rb', line 9583

def forwarding_rule
  @forwarding_rule
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9590
9591
9592
# File 'lib/google/apis/compute_alpha/classes.rb', line 9590

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