Class: Google::Apis::WorkstationsV1beta::GatewayConfig
- Inherits:
-
Object
- Object
- Google::Apis::WorkstationsV1beta::GatewayConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/workstations_v1beta/classes.rb,
lib/google/apis/workstations_v1beta/representations.rb,
lib/google/apis/workstations_v1beta/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.
526 527 528 |
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 526 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
523 524 525 |
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 523 def http2_enabled @http2_enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
531 532 533 |
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 531 def update!(**args) @http2_enabled = args[:http2_enabled] if args.key?(:http2_enabled) end |