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.
5586 5587 5588 |
# File 'lib/google/apis/compute_beta/classes.rb', line 5586 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
5578 5579 5580 |
# File 'lib/google/apis/compute_beta/classes.rb', line 5578 def enabled @enabled end |
#proxy_mode ⇒ String
Determines the dynamic forwarding proxy mode.
Corresponds to the JSON property proxyMode
5584 5585 5586 |
# File 'lib/google/apis/compute_beta/classes.rb', line 5584 def proxy_mode @proxy_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5591 5592 5593 5594 |
# File 'lib/google/apis/compute_beta/classes.rb', line 5591 def update!(**args) @enabled = args[:enabled] if args.key?(:enabled) @proxy_mode = args[:proxy_mode] if args.key?(:proxy_mode) end |