Class: Google::Apis::BeyondcorpV1::Config

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/beyondcorp_v1/classes.rb,
lib/google/apis/beyondcorp_v1/representations.rb,
lib/google/apis/beyondcorp_v1/representations.rb

Overview

The basic ingress config for ClientGateways.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Config

Returns a new instance of Config.



585
586
587
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 585

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#destination_routesArray<Google::Apis::BeyondcorpV1::DestinationRoute>

Required. The settings used to configure basic ClientGateways. Corresponds to the JSON property destinationRoutes



577
578
579
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 577

def destination_routes
  @destination_routes
end

#transport_protocolString

Required. Immutable. The transport protocol used between the client and the server. Corresponds to the JSON property transportProtocol

Returns:

  • (String)


583
584
585
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 583

def transport_protocol
  @transport_protocol
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



590
591
592
593
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 590

def update!(**args)
  @destination_routes = args[:destination_routes] if args.key?(:destination_routes)
  @transport_protocol = args[:transport_protocol] if args.key?(:transport_protocol)
end