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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ForwardingRuleReference

Returns a new instance of ForwardingRuleReference



7504
7505
7506
# File 'generated/google/apis/compute_alpha/classes.rb', line 7504

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

Instance Attribute Details

#forwarding_ruleString

Corresponds to the JSON property forwardingRule

Returns:

  • (String)


7502
7503
7504
# File 'generated/google/apis/compute_alpha/classes.rb', line 7502

def forwarding_rule
  @forwarding_rule
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7509
7510
7511
# File 'generated/google/apis/compute_alpha/classes.rb', line 7509

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