Class: Google::Apis::ComputeBeta::BackendServiceDynamicForwardingForwardProxy
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::BackendServiceDynamicForwardingForwardProxy
- 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 Dynamic Forwarding Proxy configuration.
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
(also: #enabled?)
A boolean flag enabling dynamic forwarding proxy.
-
#proxy_mode ⇒ String
Determines the dynamic forwarding proxy mode.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BackendServiceDynamicForwardingForwardProxy
constructor
A new instance of BackendServiceDynamicForwardingForwardProxy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BackendServiceDynamicForwardingForwardProxy
Returns a new instance of BackendServiceDynamicForwardingForwardProxy.
5591 5592 5593 |
# File 'lib/google/apis/compute_beta/classes.rb', line 5591 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enabled ⇒ Boolean Also known as: enabled?
A boolean flag enabling dynamic forwarding proxy.
Corresponds to the JSON property enabled
5583 5584 5585 |
# File 'lib/google/apis/compute_beta/classes.rb', line 5583 def enabled @enabled end |
#proxy_mode ⇒ String
Determines the dynamic forwarding proxy mode.
Corresponds to the JSON property proxyMode
5589 5590 5591 |
# File 'lib/google/apis/compute_beta/classes.rb', line 5589 def proxy_mode @proxy_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5596 5597 5598 5599 |
# File 'lib/google/apis/compute_beta/classes.rb', line 5596 def update!(**args) @enabled = args[:enabled] if args.key?(:enabled) @proxy_mode = args[:proxy_mode] if args.key?(:proxy_mode) end |