Class: Google::Apis::WorkstationsV1beta::GatewayConfig

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

Instance Method Summary collapse

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_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)


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