Class: Google::Apis::WorkstationsV1::GatewayConfig
- Inherits:
-
Object
- Object
- Google::Apis::WorkstationsV1::GatewayConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/workstations_v1/classes.rb,
lib/google/apis/workstations_v1/representations.rb,
lib/google/apis/workstations_v1/representations.rb
Overview
Configuration options for Cluster HTTP Gateway.
Instance Attribute Summary collapse
-
#http2_enabled ⇒ Boolean
(also: #http2_enabled?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GatewayConfig
constructor
A new instance of GatewayConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GatewayConfig
Returns a new instance of GatewayConfig.
519 520 521 |
# File 'lib/google/apis/workstations_v1/classes.rb', line 519 def initialize(**args) update!(**args) end |
Instance Attribute Details
#http2_enabled ⇒ Boolean Also known as: http2_enabled?
Optional. Whether HTTP/2 is enabled for this workstation cluster. Defaults to
false.
Corresponds to the JSON property http2Enabled
516 517 518 |
# File 'lib/google/apis/workstations_v1/classes.rb', line 516 def http2_enabled @http2_enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
524 525 526 |
# File 'lib/google/apis/workstations_v1/classes.rb', line 524 def update!(**args) @http2_enabled = args[:http2_enabled] if args.key?(:http2_enabled) end |