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.



3437
3438
3439
# File 'lib/google/apis/networkservices_v1beta1/classes.rb', line 3437

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



3435
3436
3437
# File 'lib/google/apis/networkservices_v1beta1/classes.rb', line 3435

def destinations
  @destinations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3442
3443
3444
# File 'lib/google/apis/networkservices_v1beta1/classes.rb', line 3442

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