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.



3005
3006
3007
# File 'lib/google/apis/networkservices_v1beta1/classes.rb', line 3005

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



3003
3004
3005
# File 'lib/google/apis/networkservices_v1beta1/classes.rb', line 3003

def destinations
  @destinations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3010
3011
3012
# File 'lib/google/apis/networkservices_v1beta1/classes.rb', line 3010

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