Class: Google::Apis::WorkstationsV1::GatewayConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_enabledBoolean Also known as: http2_enabled?

Optional. Whether HTTP/2 is enabled for this workstation cluster. Defaults to false. Corresponds to the JSON property http2Enabled

Returns:

  • (Boolean)


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