Class: Google::Apis::NetworkservicesV1beta1::TlsRouteRouteAction

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

Overview

The specifications for routing traffic and applying associated policies.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TlsRouteRouteAction

Returns a new instance of TlsRouteRouteAction.



2803
2804
2805
# File 'lib/google/apis/networkservices_v1beta1/classes.rb', line 2803

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

Instance Attribute Details

#destinationsArray<Google::Apis::NetworkservicesV1beta1::TlsRouteRouteDestination>

Required. The destination services to which traffic should be forwarded. At least one destination service is required. Corresponds to the JSON property destinations



2801
2802
2803
# File 'lib/google/apis/networkservices_v1beta1/classes.rb', line 2801

def destinations
  @destinations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2808
2809
2810
# File 'lib/google/apis/networkservices_v1beta1/classes.rb', line 2808

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