Class: Google::Apis::BeyondcorpV1alpha::Config

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/beyondcorp_v1alpha/classes.rb,
lib/google/apis/beyondcorp_v1alpha/representations.rb,
lib/google/apis/beyondcorp_v1alpha/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.



629
630
631
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 629

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

Instance Attribute Details

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

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



621
622
623
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 621

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)


627
628
629
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 627

def transport_protocol
  @transport_protocol
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



634
635
636
637
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 634

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