Class: Google::Apis::ComputeBeta::BackendServiceDynamicForwardingIpPortSelection
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::BackendServiceDynamicForwardingIpPortSelection
- 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
Overview
Defines a IP:PORT based dynamic forwarding configuration for the backend service. Some ranges are restricted: Restricted ranges.
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
(also: #enabled?)
A boolean flag enabling IP:PORT based dynamic forwarding.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BackendServiceDynamicForwardingIpPortSelection
constructor
A new instance of BackendServiceDynamicForwardingIpPortSelection.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BackendServiceDynamicForwardingIpPortSelection
Returns a new instance of BackendServiceDynamicForwardingIpPortSelection.
5543 5544 5545 |
# File 'lib/google/apis/compute_beta/classes.rb', line 5543 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enabled ⇒ Boolean Also known as: enabled?
A boolean flag enabling IP:PORT based dynamic forwarding.
Corresponds to the JSON property enabled
5540 5541 5542 |
# File 'lib/google/apis/compute_beta/classes.rb', line 5540 def enabled @enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5548 5549 5550 |
# File 'lib/google/apis/compute_beta/classes.rb', line 5548 def update!(**args) @enabled = args[:enabled] if args.key?(:enabled) end |